Rename a function

This commit is contained in:
Don Ho 2025-03-11 20:38:44 +01:00
parent b25742eb1f
commit d7f94b18f8
3 changed files with 3 additions and 3 deletions

View File

@ -415,7 +415,7 @@ LRESULT Notepad_plus::init(HWND hwnd)
TabBarPlus::setDrawInactiveTab((tabBarStatus & TAB_DRAWINACTIVETAB) != 0, &_mainDocTab);
TabBarPlus::setDrawTabCloseButton((tabBarStatus & TAB_CLOSEBUTTON) != 0, &_mainDocTab);
TabBarPlus::setDrawTabPinButton((tabBarStatus & TAB_PINBUTTON) != 0, &_mainDocTab);
TabBarPlus::setPutTabPinButtonInFront((tabBarStatus & TAB_MOVEPINBUTTONINFRONT) != 0);
TabBarPlus::setMoveTabPinButtonInFront((tabBarStatus & TAB_MOVEPINBUTTONINFRONT) != 0);
TabBarPlus::setDbClk2Close((tabBarStatus & TAB_DBCLK2CLOSE) != 0);
TabBarPlus::setVertical((tabBarStatus & TAB_VERTICAL) != 0);
drawTabbarColoursFromStylerArray();

View File

@ -4102,7 +4102,7 @@ LRESULT Notepad_plus::process(HWND hwnd, UINT message, WPARAM wParam, LPARAM lPa
case NPPM_INTERNAL_MOVETABPINBUTTONINFRONT:
{
if (message == NPPM_INTERNAL_MOVETABPINBUTTONINFRONT)
TabBarPlus::setPutTabPinButtonInFront(!TabBarPlus::pinButtonInFront());
TabBarPlus::setMoveTabPinButtonInFront(!TabBarPlus::pinButtonInFront());
::SendMessage(_mainDocTab.getHSelf(), NPPM_INTERNAL_REFRESHDARKMODE, 0, 0);
::SendMessage(_subDocTab.getHSelf(), NPPM_INTERNAL_REFRESHDARKMODE, 0, 0);

View File

@ -240,7 +240,7 @@ public :
_isDbClk2Close = b;
}
static void setPutTabPinButtonInFront(bool b) {
static void setMoveTabPinButtonInFront(bool b) {
_pinButtonInFront = b;
}