Iridescence 1.00
Embedded Graphic Framework
Loading...
Searching...
No Matches
ds_confirmation_dialog.h
1/* Copyright (C) 2017 - 2024, Thornwave Labs Inc - All Rights Reserved.
2 * Unauthorized copying of this file, via any medium is strictly prohibited.
3 * Proprietary and confidential.
4 * Written by Razvan Turiac <razvan.turiac@thornwave.com>
5*/
6
7#ifndef _DS_CONFIRMATION_DIALOG_H
8#define _DS_CONFIRMATION_DIALOG_H
9
10
11#include <ds_dialog_base.h>
12
20{
21public:
29 DsConfirmationDialog(DsView* parent, DsColor dialog_color, uint32_t corner_radius);
30
31
39
40
48
49
56 DsConfirmationDialog& setBody(const char* body);
57
58
59private:
60 DsLabel* mBodyLabel;
61};
62
63#endif
DsColor is a class that represents a 4 channel color (Alpha, Red, Green, Blue).
Definition ds_color.h:53
DsConfirmationDialog is a class that implements a generic confirmation dialog.
Definition ds_confirmation_dialog.h:20
DsConfirmationDialog & setBody(const char *body)
Sets the dialog body text.
DsConfirmationDialog(DsView *parent, DsColor dialog_color, uint32_t corner_radius)
Creates a DsConfirmationDialog view.
DsConfirmationDialog & setBodyColor(DsColor color)
Sets the color used to render the dialog body text.
DsConfirmationDialog & setBodyFont(const ds_bitmap_font_t *font)
Sets the font used to render the dialog body text.
DsDialogBase is a class that implements a generic dialog base class.
Definition ds_dialog_base.h:24
DsLabel is a class that represents a text label view.
Definition ds_label.h:21
DsView is a base class that represents any view on the screen.
Definition ds_view.h:40
Definition ds_font.h:45