Game Develop Core: gd::LayoutEditorCanvasGuiElement Class Reference

| Game Develop Core Core library for developing platforms and tools compatible with Game Develop.

- Main Page
- Modules
- Classes

- Class List
- Class Index
- Class Hierarchy

All Classes Files Functions Variables Typedefs Enumerations Macros Groups Pages
Public Attributes | List of all members
gd::LayoutEditorCanvasGuiElement Class Reference
IDE Classes ( Classes to be used to implement a development environment )

Describe a GUI element drawn on a LayoutEditorCanvas, like a resize button or a context button. More...

`#include <LayoutEditorCanvas.h>`

## Public Attributes

std::string | name
| The name of the button, chosen by the editor.
wxRect | area
| The area where the button is displayed, in layout coordinates.
InitialInstance * | associatedInitialInstance
| The associated initial instance, if any.

## Detailed Description

Describe a GUI element drawn on a LayoutEditorCanvas, like a resize button or a context button.

These buttons are most of time created by the specialization of the LayoutEditorCanvas, during rendering. When LayoutEditorCanvas detects a click on a button, it calls OnGuiElementHovered/Pressed/Released.

See Also
  LayoutEditorCanvas

The documentation for this class was generated from the following file:

- LayoutEditorCanvas.h