|
Public Member Functions |
| | CDasherInterface () |
| | ~CDasherInterface () |
| void | SetSettingsStore (CSettingsStore *SettingsStore) |
| | Tell the core which CSettingsStore should be used.
|
| void | SetSettingsUI (CDasherSettingsInterface *SettingsUI) |
| | Tell the core which CDasherSettingsInterface should be used.
|
| void | SetUserLocation (std::string UserLocation) |
| | Set the path for user specific configuration and files.
|
| void | SetSystemLocation (std::string SystemLocation) |
| | Set the path for system-wide configuration and files.
|
| void | Start () |
| | Signal to the core that the model should be started.
|
| void | TapOn (int MouseX, int MouseY, unsigned long Time) |
| | Signal an input location.
|
| void | PauseAt (int MouseX, int MouseY) |
| | Signal an input event and pause the simulation.
|
| void | Unpause (unsigned long Time) |
| | Unpause the simulation.
|
| void | Redraw () |
| | Signal that the core should redraw the screen.
|
| void | ChangeScreen () |
| | Signal the core that a change has occured to the screen. (Unneeded).
|
| void | ChangeEdit () |
| | Signal the core that a change has occued to the editbox. (Unneeded).
|
| unsigned int | GetNumberSymbols () |
| | Request the number of symbols in the current alphabet.
|
| const std::string & | GetDisplayText (symbol Symbol) |
| | Request the text that should be displayed on the Dasher canvas.
|
| const std::string & | GetEditText (symbol Symbol) |
| | Request the text that should be entered into the edit box.
|
| Opts::ScreenOrientations | GetAlphabetOrientation () |
| | (Eg, left to right for English, right to left for Hebrew)
|
| Opts::AlphabetTypes | GetAlphabetType () |
| | Returns the codepage for the current alphabet.
|
| const std::string & | GetTrainFile () |
| | Provides a fully qualified path to the training file for the alphabet.
|
| void | ChangeScreen (CDasherScreen *NewScreen) |
| | Change the screen being used by the core to NewScreen.
|
| void | ChangeEdit (CDashEditbox *NewEdit) |
| | Change the editbox being used by the core to NewEdit.
|
| void | Train (std::string *TrainString, bool IsMore) |
| | Train the core on Trainstring.
|
| void | TrainFile (std::string Filename) |
| | The file should contain UTF-8 encoded text.
|
| double | GetCurCPM () |
| | Provides the number of characters per minute input. (Not implemented).
|
| double | GetCurFPS () |
| | Provides the framerate that Dasher is runnin at. (Not implemented).
|
| void | GetAlphabets (std::vector< std::string > *AlphabetList) |
| | Get a vector containing a list of alphabet names available to Dasher.
|
| const CAlphIO::AlphInfo & | GetInfo (const std::string &AlphID) |
| | Return an AlphInfo object containing the alphabet with name AlphID.
|
| void | SetInfo (const CAlphIO::AlphInfo &NewInfo) |
| | Save a new or modified AlphInfo object.
|
| void | DeleteAlphabet (const std::string &AlphID) |
| | Delete the alphabet with name AlphID.
|
| void | ChangeAlphabet (const std::string &NewAlphabetID) |
| | Change the alphabet in use to NewAlphabetID.
|
| void | ChangeMaxBitRate (double NewMaxBitRate) |
| | Change the maximum bitrate (effectively the speed) of Dasher.
|
| void | ChangeLanguageModel (unsigned int NewLanguageModelID) |
| | Generate a new langage model. Not usually needed.
|
| void | ChangeView (unsigned int NewViewID) |
| | Generate a new view of the model. Call it with 0 when starting up.
|
| void | ChangeOrientation (Opts::ScreenOrientations Orientation) |
| | Change the orientation (l->r, r->l, so on) of the model.
|
| void | SetFileEncoding (Opts::FileEncodingFormats Encoding) |
| | Set the file encoding of output files to Encoding.
|
| void | ShowToolbar (bool Value) |
| | True if toolbar should be shown, false otherwise.
|
| void | ShowToolbarText (bool Value) |
| | True if toolbar should show text, false otherwse.
|
| void | ShowToolbarLargeIcons (bool Value) |
| | True if toolbar should have large icons, false otherwise.
|
| void | ShowSpeedSlider (bool Value) |
| | True if the speed slider should be shown, false otherwise.
|
| void | FixLayout (bool Value) |
| | True if the window layout should be fixed, false otherwise.
|
| void | TimeStampNewFiles (bool Value) |
| | True if new files should be timestamped, false otherwise.
|
| void | CopyAllOnStop (bool Value) |
| | True if all text should be copied to clipboard when Dasher is stopped, false otherwise.
|
| void | SetEditFont (std::string Name, long Size) |
| | Set the editbox font.
|
| void | SetDasherFont (std::string Name) |
| | Set the canvas font.
|
| void | SetDasherFontSize (FontSize fontsize) |
| | Set the size of the font used in the Dasher canvas.
|
| void | SetDimensions (long dimensions) |
Private Member Functions |
| void | CreateDasherModel () |
Private Attributes |
| CAlphabet * | m_Alphabet |
| CLanguageModel * | m_LanguageModel |
| CDasherModel * | m_DasherModel |
| CDashEditbox * | m_DashEditbox |
| CDasherScreen * | m_DasherScreen |
| CDasherView * | m_DasherView |
| CSettingsStore * | m_SettingsStore |
| CDasherSettingsInterface * | m_SettingsUI |
| CAlphIO * | m_AlphIO |
| CLanguageModel::CNodeContext * | TrainContext |
| std::string | AlphabetID |
| int | LanguageModelID |
| int | ViewID |
| double | m_MaxBitRate |
| bool | m_CopyAllOnStop |
| Opts::ScreenOrientations | m_Orientation |
| std::string | m_UserLocation |
| std::string | m_SystemLocation |
| std::string | m_TrainFile |
| std::string | m_DasherFont |
| std::string | m_EditFont |
| int | m_EditFontSize |
Static Private Attributes |
| const std::string | EmptyString |