void setCursorPos(int pos)
std::string ip_to_string(uint32 ip)
std::string getDescription()
SoundSourcePtr play(const std::string &filename, float fadetime=0, float gain=1.0f)
bool isFileType(const std::string &filename, const std::string &type)
std::string getDisplayedText()
void popCursor(const std::string &name)
virtual std::string getDataString(const std::string &s)
std::list< std::string > listDirectoryFiles(const std::string &directoryPath="")
bool selectPainterEngine(PainterEngine painterEngine)
bool fontExists(const std::string &fontName)
stdext::shared_object_ptr< ParticleEffectType > ParticleEffectTypePtr
bool pushCursor(const std::string &name)
void rsaSetPrivateKey(const std::string &p, const std::string &q, const std::string &d)
bool removeSearchPath(const std::string &path)
std::string getSelection()
virtual uint64 getLastInsertedRowID()
PainterEngine getPainterEngine()
void preload(std::string filename)
void setValidCharacters(const std::string validCharacters)
virtual bool executeQuery(const std::string &query)
std::string getBuildRevision()
void bindClassStaticFunction(const std::string &functionName, const F &function)
OTMLNodePtr getStyle(const std::string &styleName)
void connect(const std::string &host, uint16 port)
std::string getRealPath(const std::string &path)
stdext::shared_object_ptr< UIParticles > UIParticlesPtr
std::string getBuildCompiler()
std::string getRealDir(const std::string &path)
ModulePtr getModule(const std::string &moduleName)
void setSpacing(int spacing)
const std::string & getCompactName()
std::string getDescription()
virtual void removeWidget(const UIWidgetPtr &)
void enqueue(const std::string &filename, float fadetime=0, float gain=1.0f)
virtual DBResultPtr storeQuery(const std::string &query)
const Size & getViewportSize()
void setShiftNavigation(bool enable)
void setCellSize(const Size &size)
void ucwords(std::string &str)
EventDispatcher g_dispatcher
void setList(const std::string &key, const std::vector< std::string > &list)
void setCellHeight(int height)
void setTextHidden(bool hidden)
virtual bool isUIVerticalLayout()
stdext::shared_object_ptr< Protocol > ProtocolPtr
void addMultiTexture(const std::string &file)
uint32 string_to_ip(const std::string &string)
bool directoryExists(const std::string &directoryName)
Size getTextVirtualSize()
bool isPainterEngineAvailable(PainterEngine painterEngine)
std::deque< ModulePtr > getModules()
void setBuffer(const std::string &buffer)
bool importFont(std::string file)
void setAlignRight(bool aliginRight)
void setShouldUseShaders(bool enable)
virtual bool isUIAnchorLayout()
std::string resolvePath(const std::string &path)
stdext::shared_object_ptr< UIWidget > UIWidgetPtr
Color getSelectionColor()
SoundChannelPtr getChannel(int channel)
virtual bool isUIBoxLayout()
void connect(const std::string &host, uint16 port)
void error(const std::string &what)
UIWidgetPtr getPressedWidget()
int getTextPos(Point pos)
std::vector< std::string > getDirectoryFiles(const std::string &path, bool filenameOnly, bool recursive)
void setNode(const std::string &key, const OTMLNodePtr &node)
void paste(const std::string &text)
void removeAnchors(const UIWidgetPtr &anchoredWidget)
stdext::shared_object_ptr< DatabaseMySQL > DatabaseMySQLPtr
void registerSingletonClass(const std::string &className)
void appendText(std::string text)
std::string getStyleClass(const std::string &styleName)
void rsaSetPublicKey(const std::string &n, const std::string &e)
void setWritePos(uint16 writePos)
void setFlow(bool enable)
int getBackgroundPaneMaxFps()
void setOnLog(const OnLogCallback &onLog)
virtual std::string escapeString(const std::string &)
virtual bool isUIGridLayout()
bool canCacheBackbuffer()
std::string getMachineUUID()
void addPaddingBytes(int bytes, uint8 byte=0)
virtual bool isUIGridLayout()
void setParent(UIWidgetPtr parentWidget)
bool setupUserWriteDir(const std::string &appWriteDirName)
std::string getBuildArch()
void setVersion(const std::string &version)
void addCursor(const std::string &name, const std::string &file, const Point &hotSpot)
std::vector< std::string > getList(const std::string &key)
stdext::shared_object_ptr< UIVerticalLayout > UIVerticalLayoutPtr
void setSelectable(bool selectable)
bool importParticle(std::string file)
void centerIn(const UIWidgetPtr &anchoredWidget, const std::string &hookedWidgetId)
ticks_t getFileTime(const std::string &filename)
std::string getStartupOptions()
void fatal(const std::string &what)
ResourceManager g_resources
void setCursorVisible(bool enable)
void setCellSpacing(int spacing)
UIWidgetPtr getDraggingWidget()
bool fileExists(const std::string &fileName)
void setSelection(int start, int end)
void enableXteaEncryption()
void bindClassMemberFunction(const std::string &functionName, F FC::*function)
void setDebugBoxesDrawing(bool enabled)
void setMultiline(bool enable)
void addEffect(const std::string &name)
virtual void addWidget(const UIWidgetPtr &)
void log(Fw::LogLevel level, const std::string &message)
const std::string & getName()
Point getTextVirtualOffset()
ScheduledEventPtr cycleEvent(const std::function< void()> &callback, int delay)
std::string getBuildDate()
void setBackgroundPaneMaxFps(int maxFps)
void setCompactName(const std::string &compactName)
std::string decrypt(const std::string &encrypted_string)
void searchAndAddPackages(const std::string &packagesDir, const std::string &packageExt)
bool isChangingCursorImage()
void setAlignBottom(bool aliginBottom)
void moveCursorVertically(bool up)
void setConnection(const ConnectionPtr &connection)
void setFitChildren(bool fitParent)
void setSelectionColor(const Color &color)
void setForegroundPaneMaxFps(int maxFps)
int getSandbox(LuaInterface *lua)
ParticleManager g_particles
stdext::shared_object_ptr< UITextEdit > UITextEditPtr
void preload(const std::string &fileName)
void autoLoadModules(int maxPriority)
std::string getBuildType()
bool setMachineUUID(std::string uuidstr)
std::vector< uint32 > listSubnetAddresses(uint32 address, uint8 mask)
void addString(const std::string &buffer)
virtual int getRowCount()
ModulePtr discoverModule(const std::string &moduleFile)
EventPtr addEvent(const std::function< void()> &callback, bool pushFront=false)
virtual bool beginTransaction()
UIWidgetPtr createWidgetFromOTML(const OTMLNodePtr &widgetNode, const UIWidgetPtr &parent)
void mergeNode(const std::string &key, const OTMLNodePtr &node)
void setDefaultFont(const std::string &fontName)
ConfigPtr get(const std::string &file)
void addU64(uint64 value)
void fill(const UIWidgetPtr &anchoredWidget, const std::string &hookedWidgetId)
SoundSourcePtr play(std::string filename, float fadetime=0, float gain=0)
std::vector< uint32 > getXteaKey()
bool makeDir(const std::string directory)
void removeCharacter(bool right)
void registerClass(const std::string &className, const std::string &baseClass="LuaObject")
void setEnabled(bool enable)
virtual int32 getDataInt(const std::string &)
virtual int64 getDataLong(const std::string &s)
stdext::shared_object_ptr< OutputMessage > OutputMessagePtr
virtual void send(const OutputMessagePtr &outputMessage)
void setMessageSize(uint16 messageSize)
stdext::shared_object_ptr< InputMessage > InputMessagePtr
const std::map< std::string, ParticleEffectTypePtr > & getEffectsTypes()
UIWidgetPtr getParentWidget()
OTMLNodePtr getNode(const std::string &key)
std::string getFileName()
virtual void connect(const std::string &host, const std::string &user, const std::string &pass, const std::string &db, uint16 port, const std::string &unix_socket="")
void bindGlobalFunction(const std::string &functionName, const F &function)
virtual std::string getDataString(const std::string &)
void stop(float fadetime=0)
UIWidgetPtr loadUI(std::string file, const UIWidgetPtr &parent)
std::string readFileContents(const std::string &fileName)
ConfigPtr create(const std::string &file)
std::string to_string(const T &t)
stdext::shared_object_ptr< ProtocolHttp > ProtocolHttpPtr
bool addSearchPath(const std::string &path, bool pushFront=false)
int getForegroundPaneMaxFps()
void setMaxLength(uint maxLength)
ConfigPtr load(const std::string &file)
void setTextVirtualOffset(const Point &offset)
bool deleteFile(const std::string &fileName)
std::deque< std::string > getSearchPaths()
void addU32(uint32 value)
void debug(const std::string &what)
bool exists(const std::string &key)
UIWidgetPtr displayUI(const std::string &file)
void setNumColumns(int columns)
std::string getRenderer()
void setEditable(bool editable)
void setNumLines(int lines)
void setChangeCursorImage(bool enable)
Color getSelectionBackgroundColor()
std::string getWriteDir()
virtual Fw::DatabaseEngine getDatabaseEngine()
bool isPressed(Fw::MouseButton mouseButton)
void del(bool right=false)
std::string getBuildCommit()
virtual int getRowCount()
stdext::shared_object_ptr< UIGridLayout > UIGridLayoutPtr
virtual int64 getDataLong(const std::string &)
void setSelectionBackgroundColor(const Color &color)
virtual bool isUIHorizontalLayout()
void moveCursorHorizontally(bool right)
void setXteaKey(uint32 a, uint32 b, uint32 c, uint32 d)
void setValue(const std::string &key, const std::string &value)
stdext::shared_object_ptr< UIAnchorLayout > UIAnchorLayoutPtr
virtual std::string getUpdateLimiter()
int getBackgroundPaneFps()
void addU16(uint16 value)
TextureManager g_textures
int getAutoLoadPriority()
void remove(const std::string &key)
virtual int32 getDataInt(const std::string &s)
virtual std::string getStringComparer()
void ensureModuleLoaded(const std::string &moduleName)
std::string getValue(const std::string &key)
bool isDrawingDebugBoxes()
void bindSingletonFunction(const std::string &functionName, F C::*function, C *instance)
bool importStyle(std::string file)
bool writeFileContents(const std::string &fileName, const std::string &data)
ConnectionPtr getConnection()
stdext::shared_object_ptr< UIHorizontalLayout > UIHorizontalLayoutPtr
std::string encrypt(const std::string &decrypted_string)
bool setWriteDir(const std::string &writeDir, bool create=false)
ScheduledEventPtr scheduleEvent(const std::function< void()> &callback, int delay)
ConfigPtr loadSettings(const std::string file)
void setAudioEnabled(bool enable)
int getForegroundPaneFps()
virtual void applyStyle(const OTMLNodePtr &)
void loadCursors(std::string filename)
void setName(const std::string &name)
void setLogFile(const std::string &file)
void setCellWidth(int width)
void registerLuaFunctions()
UIWidgetPtr createWidget(const std::string &styleName, const UIWidgetPtr &parent)
void send(const std::string &message)
bool unload(const std::string &file)
void info(const std::string &what)
std::string guessFilePath(const std::string &filename, const std::string &type)
void warning(const std::string &what)
static ServerPtr create(int port)
const std::string & getVersion()
UIWidgetPtr getRootWidget()