25 #ifndef __I6ENGINE_API_GUI_GUICONFIG_H__
26 #define __I6ENGINE_API_GUI_GUICONFIG_H__
32 #include "boost/function.hpp"
156 GUI_Image(
const std::string & name,
const std::string & imageSetName2,
const std::string & imageName2) :
GUIUpdateMessageStruct(name), imageSetName(imageSetName2), imageName(imageName2) {
276 GUI_Add_Create(
const std::string & s,
const std::string & f,
const std::string & df,
const std::string & dmis,
const std::string & dmin);
337 boost::function<void(void)>
func;
362 boost::function<api::GUIWidget * (const std::string & name, const std::string & style)>
func;
437 std::function<bool(std::string)>
func;
461 std::function<void(const std::string &, const std::string &)>
callback;
enables or disables a GUIWidget as drop target
GUI_LoadCanvas_Create(const std::string &n, const std::string &f)
GUI_Amount * copy()
Copy method returning an exact copy of itself.
i6e::api::gui::GUI_Window_Create GUI_Window_Create
registers a RenderWindow in GUI subsystem
i6e::api::gui::GUI_Position GUI_Position
sets position for Widget
std::function< bool(std::string)> func
GUI_Add_Row_Entry * copy()
Copy method returning an exact copy of itself.
GUI_PlayAnimation(const std::string &name, const std::string &a)
GUI_Resolution_Update * copy()
Copy method returning an exact copy of itself.
enables or disables dragging of Widget
GUI_SetSelectedStringCallback * copy()
Copy method returning an exact copy of itself.
i6e::api::gui::GUI_Alignment GUI_Alignment
sets alignment of Widget
GUIUpdateMessageStruct(const std::string &name)
GUI_Progress * copy()
Copy method returning an exact copy of itself.
callback being called when Widget is dropped
i6e::api::gui::GUI_SetParent GUI_SetParent
sets widget as child of another one
GUI_SetSelected * copy()
Copy method returning an exact copy of itself.
i6e::api::gui::GUI_SetTooltip GUI_SetTooltip
sets tooltip to a widget
i6e::api::gui::GUI_Event_Update GUI_Event_Update
changes state of the event
i6e::api::gui::GUI_SetDropCallback GUI_SetDropCallback
callback being called when Widget is dropped
GUI_SetDropCallback * copy()
Copy method returning an exact copy of itself.
GUI_Add_Create * copy()
Copy method returning an exact copy of itself.
std::function< void(std::string)> callback
GUI_SetEnterTextCallback(const std::string &name, const std::function< void(std::string)> &c)
GUI_SetAutoLineBreak * copy()
Copy method returning an exact copy of itself.
#define ISIXE_MODULES_API
std::string defMouseImageSet
GUI_MouseCursorImage_Update * copy()
Copy method returning an exact copy of itself.
GUI_Size(const std::string &name, const double w, const double h)
i6e::api::gui::GUI_SetSelected GUI_SetSelected
sets the widget to selected or not
GUI_SetDropCallback(const std::string &name, const std::function< void(const std::string &, const std::string &)> &c)
GUI_Colour * copy()
Copy method returning an exact copy of itself.
callback being called when text is changed in Editbox
sets the widget to selected or not
i6e::api::gui::GUI_PauseAnimation GUI_PauseAnimation
pauses an animation on Widget
GUI_SetDropTarget * copy()
Copy method returning an exact copy of itself.
i6e::api::gui::GUI_CleanUp_Delete GUI_CleanUp_Delete
cleans up GUI
i6e::api::gui::GUI_LoadCanvas_Create GUI_LoadCanvas_Create
loads a canvas file
GUI_Event_Update * copy()
Copy method returning an exact copy of itself.
GUI_AddColumn * copy()
Copy method returning an exact copy of itself.
std::function< void(std::string)> callback
i6e::api::gui::GUI_Image GUI_Image
sets image to Widget
GUI_Image(const std::string &name, const std::string &imageSetName2, const std::string &imageName2)
i6e::api::gui::GUI_Colour GUI_Colour
sets color for Widget
callback being called when selection in ToggleButton changes
GUI_Image * copy()
Copy method returning an exact copy of itself.
GUI_SetEnterTextCallback * copy()
Copy method returning an exact copy of itself.
i6e::api::gui::GUI_AddImageset_Create GUI_AddImageset_Create
adds a new imageset
i6e::api::gui::GUI_SetAcceptTextCallback GUI_SetAcceptTextCallback
callback being called when entered text in editbox is submitted
i6e::api::gui::GUI_StopAnimation GUI_StopAnimation
stops an animation on Widget
i6e::api::gui::GUI_UnpauseAnimation GUI_UnpauseAnimation
unpauses an animation on Widget
GUI_SetDragable(const std::string &name, bool d)
GUI_Visibility * copy()
Copy method returning an exact copy of itself.
GUI_Lifetime * copy()
Copy method returning an exact copy of itself.
callback being called when text is changed in Editbox
pauses an animation on Widget
updates resolution of render window
i6e::api::gui::GUI_Progress GUI_Progress
sets progress of the Widget (for ProgressBar)
Used to partially unwrap GUI messages.
i6e::api::gui::GUI_Lifetime GUI_Lifetime
sets lifetime for Widget (Prints)
GUI_SetParent * copy()
Copy method returning an exact copy of itself.
std::function< std::string(std::string)> callback
subscribes method to be called using button
adds an entry to a MultiColumnList
adds a column to a GUIMultiColumnHeader
GUI_SetDropTarget(const std::string &name, bool d, const std::function< bool(std::string)> &f)
graphics::Resolution resolution
GUI_Amount(const std::string &name, const uint32_t a)
i6e::api::gui::GUI_Size GUI_Size
sets size of Widget
i6e::api::gui::GUI_Add_Create GUI_Add_Create
creates basic GUI
GUI_SetSelectedCallback * copy()
Copy method returning an exact copy of itself.
changes state of the event
i6e::api::gui::GUI_PlayAnimation GUI_PlayAnimation
plays an animation on Widget
GUI_CleanUp_Delete * copy()
Copy method returning an exact copy of itself.
GUI_SetProperty * copy()
Copy method returning an exact copy of itself.
GUI_Progress(const std::string &name, const double prog)
GUI_SetDragable * copy()
Copy method returning an exact copy of itself.
~GUIUpdateMessageStruct()
GUI_Resolution_Update(const graphics::Resolution &r)
GUI_SetParent(const std::string &c, const std::string &p)
GUI_SetSelectedStringCallback(const std::string &name, const std::function< void(std::string)> &c)
i6e::api::gui::GUI_Resolution_Update GUI_Resolution_Update
updates resolution of render window
sets auto line break to Widget
i6e::api::gui::GUIUpdateMessageStruct GUIUpdateMessageStruct
i6e::api::gui::GUI_Child_Update GUI_Child_Update
updates a child
sets progress of the Widget (for ProgressBar)
i6e::api::gui::GUI_SubscribeEvent_Update GUI_SubscribeEvent_Update
subscribes method to be called using button
std::function< void(const std::string &, const std::string &)> callback
i6e::api::gui::GUI_SetProperty GUI_SetProperty
callback being called when text is changed in Editbox
GUI_Alignment(const std::string &name, Alignment a)
GUI_PauseAnimation * copy()
Copy method returning an exact copy of itself.
i6e::api::gui::GUI_MouseCursorImage_Update GUI_MouseCursorImage_Update
changes the mouse cursor
GUI_SetAcceptTextCallback(const std::string &name, const std::function< std::string(std::string)> &c)
plays an animation on Widget
GUI_Alignment * copy()
Copy method returning an exact copy of itself.
GUI_Child_Update * copy()
Copy method returning an exact copy of itself.
GUI_SetAutoLineBreak(const std::string &name, bool e)
GUI_Size * copy()
Copy method returning an exact copy of itself.
sets amount of rows for MultiColumnList
i6e::api::gui::GUI_SetSelectedStringCallback GUI_SetSelectedStringCallback
callback being called when selection in ComboBox changes
callback being called when selection in ComboBox changes
GUI_SetDefaultFont * copy()
Copy method returning an exact copy of itself.
boost::function< void(void)> func
i6e::api::gui::GUI_Visibility GUI_Visibility
sets visibility of the Widget
i6e::api::gui::GUI_Widget_Create GUI_Widget_Create
creates given Widget
GUIUpdateMessageStruct * copy()
Copy method returning an exact copy of itself.
GUI_SetSelected(const std::string &name, bool s)
i6e::api::gui::GUI_SetDropTarget GUI_SetDropTarget
enables or disables a GUIWidget as drop target
GUI_Visibility(const std::string &name, const bool vis)
GUI_PauseAnimation(const std::string &name, const std::string &a)
GUI_LoadCanvas_Create * copy()
Copy method returning an exact copy of itself.
GUI_Window_Create * copy()
Copy method returning an exact copy of itself.
GUI_StopAnimation * copy()
Copy method returning an exact copy of itself.
i6e::api::gui::GUI_AddToRoot_Update GUI_AddToRoot_Update
adds a window to root
unpauses an animation on Widget
GUI_MouseCursorImage_Update(const std::string &i)
GUI_Text(const std::string &name, const std::string &txt)
GUI_Window_Create(void *w)
GUI_SubscribeEvent_Update * copy()
Copy method returning an exact copy of itself.
GUI_Add_Row_Entry(const std::string &name, const uint32_t r, const uint32_t c, const std::string &e)
GUI_AddImageset_Create(const std::string &i)
GUI_AddColumn(const std::string &name, const std::string &ch, uint32_t c, double w)
GUI_SubscribeEvent_Update()
GUI_AddImageset_Create * copy()
Copy method returning an exact copy of itself.
i6e::api::gui::GUI_MouseVisible_Update GUI_MouseVisible_Update
updates mouse visibility
GUI_Colour(const std::string &name, const double a, const double r, const double g, const double b)
GUI_SetDefaultFont(const std::string &f)
GUI_UnpauseAnimation(const std::string &name, const std::string &a)
GUI_Position(const std::string &name, const double xPos, const double yPos)
GUI_SetProperty(const std::string &name, const std::string &p, const std::string &v)
GUI_UnpauseAnimation * copy()
Copy method returning an exact copy of itself.
GUI_SetAcceptTextCallback * copy()
Copy method returning an exact copy of itself.
i6e::api::gui::GUI_SetEnterTextCallback GUI_SetEnterTextCallback
callback being called when text is changed in Editbox
i6e::api::gui::GUI_SetSelectedCallback GUI_SetSelectedCallback
callback being called when selection in ToggleButton changes
GUI_StopAnimation(const std::string &name, const std::string &a)
i6e::api::gui::GUI_Add_Row_Entry GUI_Add_Row_Entry
adds an entry to a MultiColumnList
sets lifetime for Widget (Prints)
sets visibility of the Widget
i6e::api::gui::GUI_SetDefaultFont GUI_SetDefaultFont
sets default font
i6e::api::gui::GUI_WidgetTemplate_Create GUI_WidgetTemplate_Create
registers a template for a Widget
GUI_MouseVisible_Update * copy()
Copy method returning an exact copy of itself.
i6e::api::gui::GUI_Amount GUI_Amount
sets amount of rows for MultiColumnList
callback being called when entered text in editbox is submitted
GUI_MouseVisible_Update()
std::string defMouseImageName
i6e::api::gui::GUI_SetAutoLineBreak GUI_SetAutoLineBreak
sets auto line break to Widget
sets widget as child of another one
std::function< void(bool)> callback
GUI_Lifetime(const std::string &name, const int64_t time)
registers a RenderWindow in GUI subsystem
i6e::api::gui::GUI_SetDragable GUI_SetDragable
enables or disables dragging of Widget
GUI_Text * copy()
Copy method returning an exact copy of itself.
i6e::api::gui::GUI_AddColumn GUI_AddColumn
adds a column to a GUIMultiColumnHeader
GUI_AddToRoot_Update * copy()
Copy method returning an exact copy of itself.
GUI_PlayAnimation * copy()
Copy method returning an exact copy of itself.
GUI_SetSelectedCallback(const std::string &name, const std::function< void(bool)> &c)
GUI_Position * copy()
Copy method returning an exact copy of itself.
stops an animation on Widget
i6e::api::gui::GUI_Text GUI_Text
sets text to Widget