Pyrogenesis  trunk
Macros
JSInterface_GUISize.cpp File Reference
#include "precompiled.h"
#include "JSInterface_GUISize.h"
#include "ps/CStr.h"
#include "scriptinterface/ScriptInterface.h"
#include "scriptinterface/Object.h"
Include dependency graph for JSInterface_GUISize.cpp:

Macros

#define SIDE(side)
 

Macro Definition Documentation

◆ SIDE

#define SIDE (   side)
Value:
Script::GetProperty(rq, args.thisv(), #side, val); \
Script::GetProperty(rq, args.thisv(), "r"#side, valr); \
buffer += ToPercentString(val, valr);
CStr ToPercentString(double pix, double per)
Definition: JSInterface_GUISize.cpp:97
bool GetProperty(const ScriptRequest &rq, JS::HandleValue obj, PropType name, JS::MutableHandleValue out)
Get the named property on the given object.
Definition: Object.h:37