OrcaSlicer latest
OrcaSlicer
Loading...
Searching...
No Matches
DropDown.hpp File Reference
#include <boost/date_time/posix_time/posix_time.hpp>
#include <wx/event.h>
#include <vector>
#include <cstddef>
#include <utility>
#include <wx/gdicmn.h>
#include "slic3r/GUI/Widgets/StateColor.hpp"
#include <boost/date_time/posix_time/ptime.hpp>
#include <wx/dc.h>
#include <wx/stattext.h>
#include <wx/string.h>
#include "../wxExtensions.hpp"
#include "StateHandler.hpp"
#include "PopupWindow.hpp"
Include dependency graph for DropDown.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  DropDown
struct  DropDown::Item

Macros

#define DD_NO_CHECK_ICON   0x0001
#define DD_NO_TEXT   0x0002
#define DD_STYLE_MASK   0x0003
#define DD_ITEM_STYLE_SPLIT_ITEM   0x0001
#define DD_ITEM_STYLE_DISABLED   0x0002
#define DD_ITEM_STYLE_DIMMED   0x0004

Functions

 wxDECLARE_EVENT (EVT_DISMISS, wxCommandEvent)
 wxDECLARE_EVENT (EVT_DROPDOWN_ITEM_ACTION, wxCommandEvent)

Class Documentation

◆ DropDown::Item

struct DropDown::Item
Class Members
wxBitmap action_icon
wxString alias {}
void * data {nullptr}
int flag {0}
wxString group_key {}
wxString group_label {}
wxBitmap icon
wxBitmap icon_textctrl
int style { 0 }
wxString text
wxString text_static_tips
wxString tip {}

Macro Definition Documentation

◆ DD_ITEM_STYLE_DIMMED

#define DD_ITEM_STYLE_DIMMED   0x0004

◆ DD_ITEM_STYLE_DISABLED

◆ DD_ITEM_STYLE_SPLIT_ITEM

◆ DD_NO_CHECK_ICON

◆ DD_NO_TEXT

#define DD_NO_TEXT   0x0002

Referenced by DropDown::Create().

◆ DD_STYLE_MASK

#define DD_STYLE_MASK   0x0003

Referenced by ComboBox::ComboBox().

Function Documentation

◆ wxDECLARE_EVENT() [1/2]

wxDECLARE_EVENT ( EVT_DISMISS ,
wxCommandEvent  )

◆ wxDECLARE_EVENT() [2/2]

wxDECLARE_EVENT ( EVT_DROPDOWN_ITEM_ACTION ,
wxCommandEvent  )