forked from mirrors/0ad
Rename JSInterface_GUITypes to JSInterface_GUISize, refs 8734efca94, 9be8a560a9.
Rename init to RegisterScriptClass. Differential Revision: https://code.wildfiregames.com/D2339 Tested on: clang 8.0.1., Jenkins/vs2015 This was SVN commit r23018.
This commit is contained in:
@@ -24,6 +24,9 @@ namespace JSI_IGUIObject
|
||||
{
|
||||
extern JSClass JSI_class;
|
||||
extern JSFunctionSpec JSI_methods[];
|
||||
|
||||
void RegisterScriptClass(ScriptInterface& scriptInterface);
|
||||
|
||||
bool getProperty(JSContext* cx, JS::HandleObject obj, JS::HandleId id, JS::MutableHandleValue vp);
|
||||
bool setProperty(JSContext* cx, JS::HandleObject obj, JS::HandleId id, JS::MutableHandleValue vp, JS::ObjectOpResult& result);
|
||||
bool toString(JSContext* cx, uint argc, JS::Value* vp);
|
||||
@@ -31,7 +34,6 @@ namespace JSI_IGUIObject
|
||||
bool blur(JSContext* cx, uint argc, JS::Value* vp);
|
||||
bool getComputedSize(JSContext* cx, uint argc, JS::Value* vp);
|
||||
bool getTextSize(JSContext* cx, uint argc, JS::Value* vp);
|
||||
void init(ScriptInterface& scriptInterface);
|
||||
}
|
||||
|
||||
#endif // INCLUDED_JSI_IGUIOBJECT
|
||||
|
||||
Reference in New Issue
Block a user