MCPcopy Create free account
hub / github.com/MyGUI/mygui / _createItemButton

Method _createItemButton

MyGUIEngine/src/MyGUI_TabControl.cpp:427–433  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

425 }
426
427 void TabControl::_createItemButton()
428 {
429 Button* button = createButton();
430 button->eventMouseButtonClick += newDelegate(this, &TabControl::notifyPressedBarButtonEvent);
431 button->_setInternalData(mItemButton.size()); // порядковый номер
432 mItemButton.push_back(button);
433 }
434
435 int TabControl::_getTextWidth(const UString& _text)
436 {

Callers

nothing calls this directly

Calls 4

newDelegateFunction · 0.85
_setInternalDataMethod · 0.80
sizeMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected