7#ifndef _DS_CONTEXT_MENU_H
8#define _DS_CONTEXT_MENU_H
46 void add(
const char* name,
const lambda<
void(
void)> &cb);
82 lambda<void(
void)> callback;
95 uint32_t mCornerRadius;
97 uint8_t mBorderThickness;
99 uint32_t mHorizontalPadding;
100 uint32_t mVerticalPadding;
110 void onPaint(
DsRenderer &renderer)
override final;
112 void onShow(
void)
override final;
DsColor is a class that represents a 4 channel color (Alpha, Red, Green, Blue).
Definition ds_color.h:53
DsRenderer is a class that implements all the drawing operations.
Definition ds_renderer.h:42
DsSize is class that represents the 2D size of a graphic object (width, height) as integer values.
Definition ds_geometry.h:780
DsView is a base class that represents any view on the screen.
Definition ds_view.h:40
Definition ds_types_lambda.h:24