DDraceNetwork Documentation
Loading...
Searching...
No Matches
editor.h File Reference
Include dependency graph for editor.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  CProperty
class  CEditor
class  CEditor::CHoverTile
class  CEditor::CStringKeyComparator
struct  CEditor::SLayerPopupContext
class  CEditor::CQuadPopupContext
class  CEditor::CPointPopupContext
struct  CEditor::SAxisAlignedBoundingBox
struct  CEditor::SAlignmentInfo

Macros

#define REGISTER_QUICK_ACTION(name, text, callback, disabled, active, button_color, description)
#define ALWAYS_FALSE   []() -> bool { return false; }
#define DEFAULT_BTN   []() -> int { return -1; }
#define REGISTER_QUICK_ACTION(name, text, callback, disabled, active, button_color, description)
#define ALWAYS_FALSE   []() -> bool { return false; }
#define DEFAULT_BTN   []() -> int { return -1; }

Typedefs

template<typename T>
using FDropdownRenderCallback = std::function<void(const T &, char (&aOutput)[128], std::vector<STextColorSplit> &)>

Enumerations

enum  { MODE_LAYERS = 0 , MODE_IMAGES , MODE_SOUNDS , NUM_MODES }
enum  {
  DIALOG_NONE = 0 , DIALOG_FILE , DIALOG_MAPSETTINGS_ERROR , DIALOG_QUICK_PROMPT ,
  DIALOG_PSEUDO_FONT_TYPER
}
enum  {
  PROPTYPE_NULL = 0 , PROPTYPE_BOOL , PROPTYPE_INT , PROPTYPE_ANGLE_SCROLL ,
  PROPTYPE_COLOR , PROPTYPE_IMAGE , PROPTYPE_ENVELOPE , PROPTYPE_SHIFT ,
  PROPTYPE_SOUND , PROPTYPE_AUTOMAPPER , PROPTYPE_AUTOMAPPER_REFERENCE
}

Macro Definition Documentation

◆ ALWAYS_FALSE [1/2]

#define ALWAYS_FALSE   []() -> bool { return false; }

◆ ALWAYS_FALSE [2/2]

#define ALWAYS_FALSE   []() -> bool { return false; }

◆ DEFAULT_BTN [1/2]

#define DEFAULT_BTN   []() -> int { return -1; }

◆ DEFAULT_BTN [2/2]

#define DEFAULT_BTN   []() -> int { return -1; }

◆ REGISTER_QUICK_ACTION [1/2]

#define REGISTER_QUICK_ACTION ( name,
text,
callback,
disabled,
active,
button_color,
description )
Value:
m_QuickAction##name(text, description, callback, disabled, active, button_color),

◆ REGISTER_QUICK_ACTION [2/2]

#define REGISTER_QUICK_ACTION ( name,
text,
callback,
disabled,
active,
button_color,
description )
Value:
CQuickAction m_QuickAction##name;
Definition quick_action.h:13

Typedef Documentation

◆ FDropdownRenderCallback

template<typename T>
using FDropdownRenderCallback = std::function<void(const T &, char (&aOutput)[128], std::vector<STextColorSplit> &)>

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
PROPTYPE_NULL 
PROPTYPE_BOOL 
PROPTYPE_INT 
PROPTYPE_ANGLE_SCROLL 
PROPTYPE_COLOR 
PROPTYPE_IMAGE 
PROPTYPE_ENVELOPE 
PROPTYPE_SHIFT 
PROPTYPE_SOUND 
PROPTYPE_AUTOMAPPER 
PROPTYPE_AUTOMAPPER_REFERENCE 

◆ anonymous enum

anonymous enum
Enumerator
MODE_LAYERS 
MODE_IMAGES 
MODE_SOUNDS 
NUM_MODES 

◆ anonymous enum

anonymous enum
Enumerator
DIALOG_NONE 
DIALOG_FILE 
DIALOG_MAPSETTINGS_ERROR 
DIALOG_QUICK_PROMPT 
DIALOG_PSEUDO_FONT_TYPER