KiCad PCB EDA Suite
Loading...
Searching...
No Matches
dialog_color_picker.cpp File Reference
#include <kiplatform/ui.h>
#include <dialogs/dialog_color_picker.h>
#include <cmath>
#include <algorithm>
#include <kiface_base.h>
#include <settings/app_settings.h>
#include <widgets/color_swatch.h>
#include <wx/bitmap.h>
#include <wx/dcmemory.h>

Go to the source code of this file.

Macros

#define ALPHA_MAX   100
 
#define SLOPE_AXIS   ( bmsize.y / 5.28 )
 
#define ID_COLOR_BLACK   2000
 
#define MAPX(xx)   bmsize.x / 2 + ( xx )
 
#define MAPY(yy)   bmsize.y / 2 - ( yy )
 
#define MAPX(xx)   bmsize.x / 2 + ( xx )
 
#define MAPY(yy)   bmsize.y / 2 - ( yy )
 

Functions

void configureSpinCtrl (wxSpinCtrl *aCtrl)
 

Macro Definition Documentation

◆ ALPHA_MAX

#define ALPHA_MAX   100

Definition at line 31 of file dialog_color_picker.cpp.

◆ ID_COLOR_BLACK

#define ID_COLOR_BLACK   2000

◆ MAPX [1/2]

#define MAPX (   xx)    bmsize.x / 2 + ( xx )

◆ MAPX [2/2]

#define MAPX (   xx)    bmsize.x / 2 + ( xx )

◆ MAPY [1/2]

#define MAPY (   yy)    bmsize.y / 2 - ( yy )

◆ MAPY [2/2]

#define MAPY (   yy)    bmsize.y / 2 - ( yy )

◆ SLOPE_AXIS

#define SLOPE_AXIS   ( bmsize.y / 5.28 )

Definition at line 32 of file dialog_color_picker.cpp.

Function Documentation

◆ configureSpinCtrl()

void configureSpinCtrl ( wxSpinCtrl *  aCtrl)

Definition at line 37 of file dialog_color_picker.cpp.

Referenced by DIALOG_COLOR_PICKER::TransferDataToWindow().