Draws a context menu button which has a kebab icon with mouse hover states.
More...
#include <DrawableButtonHelpers.h>
|
| | ContextMenuButton () |
| | Create a context menu button. This is a kebab icon with mouse hover states for default and hover over.
|
| |
| | OpacityDrawableButton (std::unique_ptr< Drawable > drawable, const String &name, DrawableButton::ButtonStyle style, float opacityNormal, float opacityHover=0.0f, float opacityDown=0.0f, Colour targetColourToChangeAlpha=Colours::white) |
| | Creates a DrawableButton with opacity hover states specified by the targetColourToChangeAlpha. This may not work for all drawable SVGs since it relies on changing a single colour. it's best suited for simple graphics that use a single colour. Lower overhead than creating 3 separate drawables for each state and only instantiates as many drawables as needed.
|
| |
Draws a context menu button which has a kebab icon with mouse hover states.
◆ ContextMenuButton()
| krotos::ContextMenuButton::ContextMenuButton |
( |
| ) |
|
|
inline |
Create a context menu button. This is a kebab icon with mouse hover states for default and hover over.
◆ createKebabIconDrawable()
| static std::unique_ptr< Drawable > krotos::ContextMenuButton::createKebabIconDrawable |
( |
| ) |
|
|
inlinestaticprivate |
The documentation for this class was generated from the following file: