PYTHONSCRIPT

Detailed Description

BaseBitmap* ptr = nullptr;

Macros

#define PYTHONSCRIPT_TEXT
 
#define PYTHONSCRIPT_SHOWINMENU
 
#define PYTHONSCRIPT_ADDEVENT
 
#define PYTHONSCRIPT_SCRIPTENABLE
 
#define PYTHONSCRIPT_CONTAINER
 
#define PYTHONSCRIPT_SCRIPTNAME
 
#define PYTHONSCRIPT_SCRIPTHELP
 

Macro Definition Documentation

§ PYTHONSCRIPT_TEXT

#define PYTHONSCRIPT_TEXT

String Script.

§ PYTHONSCRIPT_SHOWINMENU

#define PYTHONSCRIPT_SHOWINMENU

Bool Show in menu.

§ PYTHONSCRIPT_ADDEVENT

#define PYTHONSCRIPT_ADDEVENT

Bool Add event.

§ PYTHONSCRIPT_SCRIPTENABLE

#define PYTHONSCRIPT_SCRIPTENABLE

Bool Enable script.

§ PYTHONSCRIPT_CONTAINER

#define PYTHONSCRIPT_CONTAINER

BaseContainer The ID offset for data that is stored per language.
This container does not need to be available. If it is not present for a language, then the English version ("US") is used.
This lets calculate the offset for a given name (e.g. "JP"):

static Int32 LanguageToID(const String &str)
{
return Int32(str[0])*256+Int32(str[1]);
}
if (!lc)
return;
...

§ PYTHONSCRIPT_SCRIPTNAME

#define PYTHONSCRIPT_SCRIPTNAME

String Script name.

§ PYTHONSCRIPT_SCRIPTHELP

#define PYTHONSCRIPT_SCRIPTHELP

String Script help string.