ALBA
|
#include <albaGUIColorSwatch.h>
Public Member Functions | |
albaGUIColorSwatch (wxWindow *parent, wxWindowID id=-1, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(100, 50), long style=wxTAB_TRAVERSAL) | |
void | SetColor (albaColor c) |
albaColor | GetColor () |
Protected Member Functions | |
void | OnEraseBackground (wxEraseEvent &event) |
void | OnPaint (wxPaintEvent &event) |
Protected Attributes | |
wxBitmap | m_Bmp |
albaColor | m_Color |
albaGUIColorSwatch : small widget representing an RGBA color.
Transparency is visually suggested using a b/w chessboard which become more visible as long as the alpha increase.
Definition at line 28 of file albaGUIColorSwatch.h.
albaGUIColorSwatch::albaGUIColorSwatch | ( | wxWindow * | parent, |
wxWindowID | id = -1 , |
||
const wxPoint & | pos = wxDefaultPosition , |
||
const wxSize & | size = wxSize(100, 50) , |
||
long | style = wxTAB_TRAVERSAL |
||
) |
void albaGUIColorSwatch::SetColor | ( | albaColor | c | ) |
|
inline |
Definition at line 35 of file albaGUIColorSwatch.h.
|
inlineprotected |
Definition at line 40 of file albaGUIColorSwatch.h.
|
protected |
|
protected |
Definition at line 39 of file albaGUIColorSwatch.h.
|
protected |
Definition at line 43 of file albaGUIColorSwatch.h.