4#include <wx/aui/auibook.h>
5#include <wx/bmpbuttn.h>
18 CustomAuiNotebook(wxWindow *parent, wxWindowID
id = wxID_ANY,
const wxPoint &pos = wxDefaultPosition,
19 const wxSize &size = wxDefaultSize,
long style = wxAUI_NB_DEFAULT_STYLE);
42 void OnSize(wxSizeEvent &event);
CustomTabArt * GetCustomTabArt() const
Get the custom tab art provider.
bool AreTabBarButtonsEnabled() const
Check if tab bar buttons are enabled.
virtual ~CustomAuiNotebook()=default
CustomTabArt * m_customTabArt
void OnAddButtonClicked(wxCommandEvent &event)
static const int BUTTON_SIZE
wxBitmapButton * m_addButton
static const int BUTTON_MARGIN
static const int BUTTON_SPACING
void SetTabBarButtonsEnabled(bool enabled)
Enable or disable the integrated tab bar buttons.
wxBitmapButton * m_menuButton
void OnMenuButtonClicked(wxCommandEvent &event)
void OnSize(wxSizeEvent &event)
CustomAuiNotebook(wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxAUI_NB_DEFAULT_STYLE)
void UpdateButtonPositions()
Custom tab art provider that uses the application's accent color.