libmoldeo (Moldeo 1.0 Core)
1.0
libmoldeo is the group of objects and functions that executes the basic operations of Moldeo 1.0 Platform.
|
Administrador de recursos GUI. More...
#include <moGUIManager.h>
Public Member Functions | |
moGUIManager () | |
virtual | ~moGUIManager () |
virtual MOboolean | Init () |
virtual MOboolean | Init (MO_HANDLE p_OpHandle, MO_DISPLAY p_Display) |
virtual MOboolean | Finish () |
moWindow * | NewWindow (MOfloat x, MOfloat y, MOfloat width, MOfloat height, moTextHeap &textheap) |
void | DisplayInfoWindow (MOfloat x, MOfloat y, MOfloat width, MOfloat height, moTextArray &pTexts) |
void | SetDisplay (MO_DISPLAY p_Display) |
void | SetOpWindowHandle (MO_HANDLE p_OpHandle) |
void | SetVisWindowHandle (MO_HANDLE p_VisHandle) |
MO_DISPLAY | GetDisplay () |
MO_HANDLE | GetOpWindowHandle () |
MO_HANDLE | GetVisWindowHandle () |
Public Member Functions inherited from moResource | |
moResource () | |
virtual | ~moResource () |
moResourceType | GetResourceType () |
Public Member Functions inherited from moMoldeoObject | |
moMoldeoObject () | |
moMoldeoObject (moMoldeoObjectType p_type) | |
virtual | ~moMoldeoObject () |
virtual MOboolean | Init (moResourceManager *p_pResources) |
virtual MOboolean | CreateConnectors () |
virtual MOboolean | UpdateConnectors () |
virtual MOboolean | RefreshValue (moParam ¶m, int value_index) |
virtual MOboolean | ResolveValue (moParam ¶m, int value_index, bool p_refresh=false) |
virtual void | Update (moEventList *p_EventList) |
void | SetResourceManager (moResourceManager *p_pResourceManager) |
moResourceManager * | GetResourceManager () |
MOint | GetId () const |
void | SetId (MOint p_id) |
moMoldeoObjectType | GetType () const |
void | SetType (moMoldeoObjectType p_type) |
void | SetName (const moText &p_name) |
void | SetLabelName (const moText &p_labelname) |
void | SetKeyName (const moText &p_keyname) |
const moText & | GetKeyName () const |
const moText & | GetName () const |
const moText & | GetLabelName () const |
moConfig * | GetConfig () |
void | SyncConnections () |
virtual int | Save (const moText &p_save_filename=moText("")) |
void | SetConfigName (const moText &p_configname) |
const moText & | GetConfigName () const |
const moText & | GetDescription () const |
Devuelve al descripción del objeto. More... | |
void | SetDescription (const moText &p_Description) |
Fija la descripción de este objeto. More... | |
const moMobDefinition & | GetMobDefinition () const |
void | SetMobDefinition (const moMobDefinition &p_MobDef) |
virtual moConfigDefinition * | GetDefinition (moConfigDefinition *p_configdefinition=NULL) |
moOutlets * | GetOutlets () |
moInlets * | GetInlets () |
MOint | GetInletIndex (moText p_connector_name) const |
MOint | GetOutletIndex (moText p_connector_name) const |
virtual void | RegisterFunctions () |
beware ! call only once or die!!! More... | |
virtual int | ScriptCalling (moLuaVirtualMachine &vm, int iFunctionNumber) |
virtual void | HandleReturns (moLuaVirtualMachine &vm, const char *strFunc) |
virtual const moMobState & | GetState () const |
virtual bool | SetState (const moMobState &p_MobState) |
virtual void | Activate () |
virtual void | Deactivate () |
virtual bool | Activated () const |
virtual void | Select () |
virtual void | Unselect () |
virtual bool | Selected () const |
virtual void | SetConsoleParamIndex (MOint p_paramindex) |
virtual void | SetConsoleValueIndex (MOint p_valueindex) |
virtual const moText & | ToJSON () |
Public Member Functions inherited from moAbstract | |
moAbstract () | |
virtual | ~moAbstract () |
MOboolean | Initialized () |
Pregunta si está inicializado. More... | |
Public Member Functions inherited from moScript | |
moScript () | |
virtual | ~moScript (void) |
void | InitScript () |
void | FinishScript () |
bool | IsInitialized () |
bool | CompileFile (const char *strFilename) |
bool | CompileBuffer (unsigned char *pbBuffer, size_t szLen) |
int | RegisterFunction (const char *strFuncName, moScript::Function &fun) |
int | RegisterFunction (const char *strFuncName) |
int | RegisterBaseFunction (const char *strFuncName) |
bool | SelectScriptFunction (const char *strFuncName) |
void | AddFunctionParam (int iInt) |
void | AddFunctionParam (float fFloat) |
void | AddFunctionParam (char *string) |
bool | RunSelectedFunction (int nReturns=0) |
bool | ScriptHasFunction (const char *strScriptName) |
int | methods (void) |
virtual int | ResetScriptCalling () |
virtual int | NextScriptCalling () |
moLuaVirtualMachine & | mvm (void) |
Administrador de recursos GUI.
Aquí se guardan los moWidgets generados y mostrados para el usuario.
Definition at line 646 of file moGUIManager.h.
moGUIManager::moGUIManager | ( | ) |
Definition at line 981 of file moGUIManager.cpp.
|
virtual |
Definition at line 997 of file moGUIManager.cpp.
void moGUIManager::DisplayInfoWindow | ( | MOfloat | x, |
MOfloat | y, | ||
MOfloat | width, | ||
MOfloat | height, | ||
moTextArray & | pTexts | ||
) |
Definition at line 1054 of file moGUIManager.cpp.
|
virtual |
constructor genérico de la clase.
Reimplemented from moResource.
Definition at line 1038 of file moGUIManager.cpp.
MO_DISPLAY moGUIManager::GetDisplay | ( | ) |
Definition at line 1090 of file moGUIManager.cpp.
MO_HANDLE moGUIManager::GetOpWindowHandle | ( | ) |
Definition at line 1098 of file moGUIManager.cpp.
MO_HANDLE moGUIManager::GetVisWindowHandle | ( | ) |
Definition at line 1105 of file moGUIManager.cpp.
|
virtual |
constructor genérico de la clase.
Reimplemented from moResource.
Definition at line 1004 of file moGUIManager.cpp.
|
virtual |
Definition at line 1031 of file moGUIManager.cpp.
moWindow * moGUIManager::NewWindow | ( | MOfloat | x, |
MOfloat | y, | ||
MOfloat | width, | ||
MOfloat | height, | ||
moTextHeap & | textheap | ||
) |
Definition at line 1043 of file moGUIManager.cpp.
void moGUIManager::SetDisplay | ( | MO_DISPLAY | p_Display | ) |
Definition at line 1069 of file moGUIManager.cpp.
void moGUIManager::SetOpWindowHandle | ( | MO_HANDLE | p_OpHandle | ) |
Definition at line 1076 of file moGUIManager.cpp.
void moGUIManager::SetVisWindowHandle | ( | MO_HANDLE | p_VisHandle | ) |
Definition at line 1083 of file moGUIManager.cpp.