PixelLightAPI
.
|
Tab bar button. More...
#include <TabBarButton.h>
Public Member Functions | |
PLGUI_API | TabBarButton (Widget *pParent=nullptr) |
Constructor. | |
virtual PLGUI_API | ~TabBarButton () |
Destructor. | |
PLGUI_API TabBar * | GetTabBar () const |
Get TabBar. | |
PLGUI_API TabBarEntry * | GetTabBarEntry () const |
Get TabBarEntry. | |
PLGUI_API ETabBarFunction | GetFunction () const |
Get tab-bar function. | |
Protected Member Functions | |
PLGUI_API void | SetTabBar (TabBar *pTabBar) |
Set TabBar. | |
PLGUI_API void | SetTabBarEntry (TabBarEntry *pEntry) |
Set TabBarEntry. | |
PLGUI_API void | SetFunction (ETabBarFunction nFunction) |
Set tab-bar function. | |
virtual void | OnMouseEnter () |
Called when the mouse has entered the widget. | |
virtual void | OnMouseLeave () |
Called when the mouse has left the widget. | |
Protected Attributes | |
TabBar * | m_pTabBar |
TabBarEntry * | m_pTabBarEntry |
ETabBarFunction | m_nFunction |
Tab bar button.
PLGUI_API PLGui::TabBarButton::TabBarButton | ( | Widget * | pParent = nullptr | ) |
Constructor.
[in] | pParent | Pointer to parent widget |
virtual PLGUI_API PLGui::TabBarButton::~TabBarButton | ( | ) | [virtual] |
Destructor.
PLGUI_API TabBar* PLGui::TabBarButton::GetTabBar | ( | ) | const |
PLGUI_API TabBarEntry* PLGui::TabBarButton::GetTabBarEntry | ( | ) | const |
Get TabBarEntry.
PLGUI_API ETabBarFunction PLGui::TabBarButton::GetFunction | ( | ) | const |
Get tab-bar function.
PLGUI_API void PLGui::TabBarButton::SetTabBar | ( | TabBar * | pTabBar | ) | [protected] |
PLGUI_API void PLGui::TabBarButton::SetTabBarEntry | ( | TabBarEntry * | pEntry | ) | [protected] |
Set TabBarEntry.
[in] | pEntry | TabBarEntry |
PLGUI_API void PLGui::TabBarButton::SetFunction | ( | ETabBarFunction | nFunction | ) | [protected] |
Set tab-bar function.
[in] | nFunction | Function |
virtual void PLGui::TabBarButton::OnMouseEnter | ( | ) | [protected, virtual] |
Called when the mouse has entered the widget.
Reimplemented from PLGui::AbstractButton.
virtual void PLGui::TabBarButton::OnMouseLeave | ( | ) | [protected, virtual] |
Called when the mouse has left the widget.
Reimplemented from PLGui::AbstractButton.
TabBar* PLGui::TabBarButton::m_pTabBar [protected] |
TabBar to which the entry belongs
TabBarEntry* PLGui::TabBarButton::m_pTabBarEntry [protected] |
TabBarEntry to which the entry belongs
ETabBarFunction PLGui::TabBarButton::m_nFunction [protected] |
TabBar function
|