Pyrogenesis  13997
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Macros | Functions
JSInterface_GUITypes.cpp File Reference
#include "precompiled.h"
#include "JSInterface_GUITypes.h"
#include "ps/CStr.h"

Go to the source code of this file.

Macros

#define SIDE(side)   buffer += ToPercentString(g_ScriptingHost.GetObjectProperty_Double(JS_THIS_OBJECT(cx, vp), #side), g_ScriptingHost.GetObjectProperty_Double(JS_THIS_OBJECT(cx, vp), "r"#side));
 

Functions

CStr ToPercentString (double pix, double per)
 

Macro Definition Documentation

#define SIDE (   side)    buffer += ToPercentString(g_ScriptingHost.GetObjectProperty_Double(JS_THIS_OBJECT(cx, vp), #side), g_ScriptingHost.GetObjectProperty_Double(JS_THIS_OBJECT(cx, vp), "r"#side));

Function Documentation

CStr ToPercentString ( double  pix,
double  per 
)

Definition at line 97 of file JSInterface_GUITypes.cpp.