OrcaSlicer latest
OrcaSlicer
Loading...
Searching...
No Matches
Tabbook.cpp File Reference
#include "Tabbook.hpp"
#include "GUI_App.hpp"
#include "wxExtensions.hpp"
#include "TabButton.hpp"
#include "Widgets/Label.hpp"
#include <wx/bookctrl.h>
#include <cmath>
#include <cstddef>
#include <algorithm>
#include <wx/button.h>
#include <wx/event.h>
#include <wx/colour.h>
#include <wx/gdicmn.h>
#include <wx/dcclient.h>
#include <wx/sizer.h>
#include <wx/string.h>
Include dependency graph for Tabbook.cpp:

Go to the source code of this file.

Functions

 wxDEFINE_EVENT (wxCUSTOMEVT_TABBOOK_SEL_CHANGED, wxCommandEvent)

Variables

static const wxColour TAB_BUTTON_BG = wxColour("#FEFFFF")
static const wxColour TAB_BUTTON_SEL = wxColour("#BFE1DE")
static const wxFont & TAB_BUTTON_FONT = Label::Body_14
static const wxFont & TAB_BUTTON_FONT_SEL = Label::Head_14
static const int BUTTON_DEF_HEIGHT = 46
static const int BUTTON_DEF_WIDTH = 220

Function Documentation

◆ wxDEFINE_EVENT()

wxDEFINE_EVENT ( wxCUSTOMEVT_TABBOOK_SEL_CHANGED ,
wxCommandEvent  )

Variable Documentation

◆ BUTTON_DEF_HEIGHT

const int BUTTON_DEF_HEIGHT = 46
static

◆ BUTTON_DEF_WIDTH

const int BUTTON_DEF_WIDTH = 220
static

◆ TAB_BUTTON_BG

◆ TAB_BUTTON_FONT

const wxFont& TAB_BUTTON_FONT = Label::Body_14
static

◆ TAB_BUTTON_FONT_SEL

const wxFont& TAB_BUTTON_FONT_SEL = Label::Head_14
static

◆ TAB_BUTTON_SEL

const wxColour TAB_BUTTON_SEL = wxColour("#BFE1DE")
static