|
| enum | ChannelType { CHANNEL_L,
CHANNEL_C,
CHANNEL_H
} |
| |
|
|
| ItemColorChannelOKLab (Color *col, int channel, Menu *menu) |
| |
| virtual void | draw (DrawingContext &, const Vector &pos, int menu_width, bool active) override |
| | Draws the menu item. More...
|
| |
| virtual int | get_width () const override |
| | Returns the minimum width of the menu item. More...
|
| |
| virtual void | process_action (const MenuAction &action) override |
| | Processes the menu action. More...
|
| |
| virtual void | event (const SDL_Event &ev) override |
| | Processes the given event. More...
|
| |
|
virtual bool | changes_width () const override |
| | Returns true when the width must be recalculated when an action is processed.
|
| |
◆ draw()
| void ItemColorChannelOKLab::draw |
( |
DrawingContext & |
context, |
|
|
const Vector & |
pos, |
|
|
int |
menu_width, |
|
|
bool |
active |
|
) |
| |
|
overridevirtual |
Draws the menu item.
Reimplemented from MenuItem.
◆ event()
| void ItemColorChannelOKLab::event |
( |
const SDL_Event & |
ev | ) |
|
|
overridevirtual |
Processes the given event.
Reimplemented from MenuItem.
◆ get_width()
| virtual int ItemColorChannelOKLab::get_width |
( |
| ) |
const |
|
inlineoverridevirtual |
Returns the minimum width of the menu item.
Reimplemented from MenuItem.
◆ process_action()
| void ItemColorChannelOKLab::process_action |
( |
const MenuAction & |
action | ) |
|
|
overridevirtual |
Processes the menu action.
Reimplemented from MenuItem.
The documentation for this class was generated from the following files: