Something went wrong. Try again.
Massive multiplayer game aiming to create a collaborative musical environment.
Something went wrong. Try again.
2.1 kB · 64 lines
at master
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465/*********************************************************************** System***********************************************************************/class System : public EventSet{ static System& getSingleton();
Renderer* getRenderer() const;
void setDefaultFont(string name); void setDefaultFont(Font* font); Font* getDefaultFont() const;
void signalRedraw(); bool isRedrawRequested() const; void renderGUI();
Window* setGUISheet(Window* sheet); Window* getGUISheet() const;
void setSingleClickTimeout(double timeout); void setMultiClickTimeout(double timeout); void setMultiClickToleranceAreaSize(const Size& sz); double getSingleClickTimeout() const; double getMultiClickTimeout() const; const Size& getMultiClickToleranceAreaSize() const;
void setDefaultMouseCursor(MouseCursorImage image); void setDefaultMouseCursor(const Image* image); void setDefaultMouseCursor(string imageset_name, string image_name); const Image* getDefaultMouseCursor() const;
Window* getWindowContainingMouse() const;
void executeScriptFile(string filename) const; int executeScriptGlobal(string global_name) const; void executeScriptString(string lua_string) const;
float getMouseMoveScaling() const; void setMouseMoveScaling(float scaling);
void notifyWindowDestroyed(const Window* window);
// commented because we can't do 'bitwise and' in Lua //unsigned int getSystemKeys() const; tolua_outside bool ceguiLua_System_isSystemKeyDown @ isSystemKeyDown(SystemKey k) const;
void setDefaultTooltip(Tooltip* tooltip); void setDefaultTooltip(string tooltipType); Tooltip* getDefaultTooltip(void) const;
bool injectMouseMove(float dx, float dy); bool injectMouseLeaves(); bool injectMouseButtonDown(MouseButton btn); bool injectMouseButtonUp(MouseButton btn); bool injectKeyDown(unsigned int keycode); bool injectKeyUp(unsigned int keycode); bool injectChar(unsigned long code_point); bool injectMouseWheelChange(float delta); bool injectMousePosition(float x, float y); bool injectTimePulse(float timeElapsed);
tolua_outside EventIterator ceguiLua_getEventIterator @ getEventIterator() const;};