DDraceNetwork Docs
editor.cpp File Reference
#include <gtest/gtest.h>
#include <base/system.h>
#include <game/editor/quick_actions.h>
Include dependency graph for editor.cpp:

Macros

#define REGISTER_QUICK_ACTION(name, text, callback, disabled, active, button_color, description)   AssertTooltip(description);
 

Functions

bool is_letter (char c)
 
bool IsValidEditorTooltip (const char *pTooltip, char *pErrorMsg, int ErrorMsgSize)
 
void AssertTooltip (const char *pTooltip)
 
 TEST (Editor, QuickActionNames)
 

Macro Definition Documentation

◆ REGISTER_QUICK_ACTION

#define REGISTER_QUICK_ACTION (   name,
  text,
  callback,
  disabled,
  active,
  button_color,
  description 
)    AssertTooltip(description);

Function Documentation

◆ AssertTooltip()

void AssertTooltip ( const char *  pTooltip)

◆ is_letter()

bool is_letter ( char  c)

◆ IsValidEditorTooltip()

bool IsValidEditorTooltip ( const char *  pTooltip,
char *  pErrorMsg,
int  ErrorMsgSize 
)

◆ TEST()

TEST ( Editor  ,
QuickActionNames   
)