lecui 1.0.0-alpha.20
lecui C++ user interface library
Public Member Functions | List of all members
liblec::lecui::color_picker Class Reference

Color picker. More...

#include <color_picker.h>

Public Member Functions

 color_picker (form &fm)
 Constructor. More...
 
 ~color_picker ()
 Destructor.
 
bool pick (color &picked_color)
 Pick a color through a color picker dialog. More...
 

Detailed Description

Color picker.

Constructor & Destructor Documentation

◆ color_picker()

liblec::lecui::color_picker::color_picker ( form fm)

Constructor.

Parameters
fmA reference to the form.

Member Function Documentation

◆ pick()

bool liblec::lecui::color_picker::pick ( color picked_color)

Pick a color through a color picker dialog.

Parameters
picked_colorThe picked color will be written back here.
Returns
Returns true if a color was picked, else false.

The documentation for this class was generated from the following file: