Game Develop Core: gd::LayoutEditorCanvasOptions 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 Member Functions | Public Attributes | List of all members
gd::LayoutEditorCanvasOptions Class Reference

Tool class used to store settings of a LayoutEditorCanvas. More...

`#include <LayoutEditorCanvasOptions.h>`

## Public Member Functions

void | LoadFromXml (const TiXmlElement *element)
void | SaveToXml (TiXmlElement *element) const

## Public Attributes

bool | grid
| True if grid activated in editor.
bool | snap
| True if snap to grid activated in editor.
int | gridWidth
| Grid width in editor.
int | gridHeight
| Grid height in editor.
int | gridR
| Grid red color in editor.
int | gridG
| Grid green color in editor.
int | gridB
| Grid blue color in editor.
float | zoomFactor
| Stores the zoom factor.
bool | windowMask
| True if window mask displayed in editor.
std::string | associatedLayout
| Only used for external layout: Contains the name of the layout used ( for loading objects ) when editing the external layout.

## Detailed Description

Tool class used to store settings of a LayoutEditorCanvas.

See Also
  Scene

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

- LayoutEditorCanvasOptions.h
- LayoutEditorCanvasOptions.cpp