OrcaSlicer latest
OrcaSlicer
Loading...
Searching...
No Matches
Button.hpp File Reference
#include "../wxExtensions.hpp"
#include "StaticBox.hpp"
#include <wx/anybutton.h>
#include <wx/gdicmn.h>
#include "slic3r/GUI/Widgets/StateColor.hpp"
#include <wx/string.h>
#include <wx/checklst.h>
#include <wx/event.h>
#include <wx/dc.h>
#include <wx/tipwin.h>
#include <wx/colour.h>
Include dependency graph for Button.hpp:

Go to the source code of this file.

Classes

class  ButtonProps
class  Button

Enumerations

enum class  ButtonStyle { Regular , Confirm , Alert , Disabled }
enum class  ButtonType {
  Compact , Window , Choice , Parameter ,
  Icon , Circle , Expanded
}

Enumeration Type Documentation

◆ ButtonStyle

enum class ButtonStyle
strong
Enumerator
Regular 
Confirm 
Alert 
Disabled 
23 {
24 Regular,
25 Confirm,
26 Alert,
28};
@ Confirm
Definition Button.hpp:25
@ Alert
Definition Button.hpp:26
@ Disabled
Definition Button.hpp:27
@ Regular
Definition Button.hpp:24

◆ ButtonType

enum class ButtonType
strong
Enumerator
Compact 
Window 
Choice 
Parameter 
Icon 
Circle 
Expanded 
30 {
31 Compact, // Font10 FullyRounded For spaces with less areas
32 Window, // Font12 FullyRounded For regular buttons in windows and not related with parameter boxes
33 Choice, // Font14 Semi-Rounded For dialog/window choice buttons
34 Parameter, // Font14 Semi-Rounded For buttons that near parameter boxes
35 Icon, // ------ Semi-Rounded For buttons that only has icons. icons should be 16x16 and iconSize has to be defined as 16 while
36 // creation of button
37 Circle, // ------ FullyRounded Same as icon
38 Expanded, // Font14 Semi-Rounded For full length buttons. ex. buttons in static box
39};
@ Circle
Definition Button.hpp:37
@ Choice
Definition Button.hpp:33
@ Expanded
Definition Button.hpp:38
@ Icon
Definition Button.hpp:35
@ Parameter
Definition Button.hpp:34
@ Compact
Definition Button.hpp:31
@ Window
Definition Button.hpp:32