9 #ifndef TurtleBrains_ApplicationDialog_hpp
10 #define TurtleBrains_ApplicationDialog_hpp
12 #include <turtle_brains/core/tb_string.hpp>
13 #include <turtle_brains/core/tb_noncopyable.hpp>
19 namespace tbImplementation {
class DialogControl; }
Create a customized dialog prompt with simple controls.
Definition: tb_application_dialog.hpp:90
void ResizeDialog(const DialogBucketType &bucketType, const int visibleSlots, const bool allowVerticalScrolling=false)
void AddLabelControl(const DialogControlIdentifier &controlIdentifier, const String &controlName, const DialogControlGuide &guide=0)
static void SetControlSafeForDuplication(const DialogControlIdentifier &controlIdentifier)
float GetValueAsFloat(const DialogControlIdentifier &controlIdentifier) const
int GetValueAsInteger(const DialogControlIdentifier &controlIdentifier) const
void AddButtonControl(const DialogControlIdentifier &controlIdentifier, const String &controlName, const DialogControlGuide &guide=0)
String GetValueAsString(const DialogControlIdentifier &controlIdentifier) const
ApplicationDialog(const DialogIdentifier &dialogIdentifier)
const DialogIdentifier & GetIdentifier(void) const
void AddCheckboxControl(const DialogControlIdentifier &controlIdentifier, const String &controlName, const bool isChecked, const DialogControlGuide &guide=0)
void RepositionControl(const DialogControlIdentifier &controlIdentifier, const DialogControlGuide &guide, const int leftEdge=0, const int width=100, const DialogControlSlot &slot=kDefaultSlot)
void AddTextControl(const DialogControlIdentifier &controlIdentifier, const String &controlValue, const DialogControlGuide &guide=0)
void SetEnabled(const DialogControlIdentifier &controlIdentifier, const bool isEnabled)
void AddDropdownControl(const DialogControlIdentifier &controlIdentifier, const std::vector< String > &controlValues, const DialogControlGuide &guide=0)
Definition: tb_noncopyable.hpp:21
Contains classes, functions and constants to create Applications, Menus, Dialogs with native controls...
Definition: tb_application_dialog.hpp:24
int DialogControlGuide
Definition: tb_application_dialog.hpp:60
const DialogControlSlot kDefaultSlot
unsigned short DialogControlIdentifier
Definition: tb_application_dialog.hpp:53
unsigned short DialogIdentifier
Definition: tb_application_dialog.hpp:44
int DialogControlSlot
Definition: tb_application_dialog.hpp:68
DialogBucketType
Definition: tb_application_dialog.hpp:32
Here is some information about the primary namespace.
Definition: tb_application_dialog.hpp:22