OrcaSlicer latest
OrcaSlicer
Loading...
Searching...
No Matches
AxisCtrlButton.cpp File Reference
#include "AxisCtrlButton.hpp"
#include "Label.hpp"
#include "libslic3r/libslic3r.h"
#include "slic3r/GUI/Widgets/StateColor.hpp"
#include <utility>
#include <wx/colour.h>
#include <cmath>
#include "slic3r/GUI/wxExtensions.hpp"
#include <algorithm>
#include <wx/dc.h>
#include <wx/chartype.h>
#include <wx/dcclient.h>
#include <wx/dcgraph.h>
#include <wx/stattext.h>
#include <wx/gdicmn.h>
#include <wx/event.h>
#include <wx/graphics.h>
#include "slic3r/GUI/Widgets/StateHandler.hpp"
Include dependency graph for AxisCtrlButton.cpp:

Go to the source code of this file.

Macros

#define OUTER_SIZE   FromDIP(105)
#define INNER_SIZE   FromDIP(58)
#define HOME_SIZE   FromDIP(23)
#define BLANK_SIZE   FromDIP(24)
#define GAP_SIZE   FromDIP(4)

Variables

StateColor blank_bg (StateColor(std::make_pair(wxColour("#FFFFFF"),(int) StateColor::Normal)))
static const wxColour BUTTON_BG_COL = wxColour("#EEEEEE")
static const wxColour BUTTON_IN_BG_COL = wxColour("#CECECE")
static const wxColour bd = wxColour(0, 150, 136)
static const wxColour text_num_color = wxColour("#898989")
static const wxColour BUTTON_PRESS_COL = wxColour(172, 172, 172)
static const double sqrt2 = std::sqrt(2)

Macro Definition Documentation

◆ BLANK_SIZE

#define BLANK_SIZE   FromDIP(24)

◆ GAP_SIZE

#define GAP_SIZE   FromDIP(4)

◆ HOME_SIZE

#define HOME_SIZE   FromDIP(23)

◆ INNER_SIZE

#define INNER_SIZE   FromDIP(58)

◆ OUTER_SIZE

#define OUTER_SIZE   FromDIP(105)

Variable Documentation

◆ bd

◆ blank_bg

StateColor blank_bg(StateColor(std::make_pair(wxColour("#FFFFFF"),(int) StateColor::Normal))) ( StateColor(std::make_pair(wxColour("#FFFFFF"),(int) StateColor::Normal)) )

Referenced by AxisCtrlButton::render().

◆ BUTTON_BG_COL

const wxColour BUTTON_BG_COL = wxColour("#EEEEEE")
static

◆ BUTTON_IN_BG_COL

const wxColour BUTTON_IN_BG_COL = wxColour("#CECECE")
static

◆ BUTTON_PRESS_COL

const wxColour BUTTON_PRESS_COL = wxColour(172, 172, 172)
static

◆ sqrt2

const double sqrt2 = std::sqrt(2)
static

Referenced by AxisCtrlButton::render().

◆ text_num_color

const wxColour text_num_color = wxColour("#898989")
static

Referenced by AxisCtrlButton::render().