Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
JSI_GUISize Namespace Reference

Functions

void RegisterScriptClass (ScriptInterface &scriptInterface)
 
bool construct (JSContext *cx, uint argc, JS::Value *vp)
 
bool toString (JSContext *cx, uint argc, JS::Value *vp)
 
CStr ToPercentString (double pix, double per)
 

Variables

JSClass JSI_class
 
JSClassOps JSI_classops
 
JSPropertySpec JSI_props []
 
JSFunctionSpec JSI_methods []
 

Function Documentation

◆ construct()

bool JSI_GUISize::construct ( JSContext *  cx,
uint  argc,
JS::Value *  vp 
)

◆ RegisterScriptClass()

void JSI_GUISize::RegisterScriptClass ( ScriptInterface scriptInterface)

◆ ToPercentString()

CStr JSI_GUISize::ToPercentString ( double  pix,
double  per 
)

◆ toString()

bool JSI_GUISize::toString ( JSContext *  cx,
uint  argc,
JS::Value *  vp 
)

Variable Documentation

◆ JSI_class

JSClass JSI_GUISize::JSI_class
extern
Initial value:
= {
}
JSClassOps JSI_classops
Definition: JSInterface_GUISize.cpp:30

◆ JSI_classops

JSClassOps JSI_GUISize::JSI_classops
extern
Initial value:
= {
nullptr, nullptr,
nullptr, nullptr,
nullptr, nullptr, nullptr, nullptr,
nullptr, JSI_GUISize::construct, nullptr
}
bool construct(JSContext *cx, uint argc, JS::Value *vp)
Definition: JSInterface_GUISize.cpp:48

◆ JSI_methods

JSFunctionSpec JSI_GUISize::JSI_methods
extern
Initial value:
=
{
JS_FN("toString", JSI_GUISize::toString, 0, 0),
JS_FS_END
}
bool toString(JSContext *cx, uint argc, JS::Value *vp)
Definition: JSInterface_GUISize.cpp:105

◆ JSI_props

JSPropertySpec JSI_GUISize::JSI_props[]
extern