Public Member Functions |
| CEdit () |
| Object's constructor.
|
bool | Create (Math::Point pos, Math::Point dim, int icon, EventType eventType) |
void | SetPos (Math::Point pos) |
void | SetDim (Math::Point dim) |
bool | EventProcess (const Event &event) |
void | Draw () |
void | SetText (const char *text, bool bNew=true) |
void | GetText (char *buffer, int max) |
char * | GetText () |
int | GetTextLength () |
bool | ReadText (std::string filename, int addSize=0) |
bool | WriteText (std::string filename) |
void | SetMaxChar (int max) |
int | GetMaxChar () |
void | SetEditCap (bool bMode) |
bool | GetEditCap () |
void | SetHighlightCap (bool bEnable) |
bool | GetHighlightCap () |
void | SetInsideScroll (bool bInside) |
bool | GetInsideScroll () |
void | SetSoluceMode (bool bSoluce) |
bool | GetSoluceMode () |
void | SetGenericMode (bool bGeneric) |
bool | GetGenericMode () |
void | SetAutoIndent (bool bMode) |
bool | GetAutoIndent () |
void | SetCursor (int cursor1, int cursor2) |
void | GetCursor (int &cursor1, int &cursor2) |
void | SetFirstLine (int rank) |
int | GetFirstLine () |
void | ShowSelect () |
void | SetDisplaySpec (bool bDisplay) |
bool | GetDisplaySpec () |
void | SetMultiFont (bool bMulti) |
bool | GetMultiFont () |
bool | Cut () |
bool | Copy (bool memorize_cursor=false) |
bool | Paste () |
bool | Undo () |
void | HyperFlush () |
void | HyperHome (std::string filename) |
bool | HyperTest (EventType event) |
bool | HyperGo (EventType event) |
void | SetFontSize (float size) |
bool | ClearFormat () |
bool | SetFormat (int cursor1, int cursor2, int format) |
virtual Math::Point | GetPos () |
virtual Math::Point | GetDim () |
virtual bool | SetState (int state, bool bState) |
virtual bool | SetState (int state) |
virtual bool | ClearState (int state) |
virtual bool | TestState (int state) |
virtual int | GetState () |
virtual void | SetIcon (int icon) |
virtual int | GetIcon () |
virtual void | SetName (std::string name, bool bTooltip=true) |
virtual std::string | GetName () |
virtual void | SetTextAlign (Gfx::TextAlign mode) |
virtual int | GetTextAlign () |
virtual float | GetFontSize () |
virtual void | SetFontStretch (float stretch) |
virtual float | GetFontStretch () |
virtual void | SetFontType (Gfx::FontType font) |
virtual Gfx::FontType | GetFontType () |
virtual bool | SetTooltip (std::string name) |
virtual bool | GetTooltip (Math::Point pos, std::string &name) |
virtual void | SetFocus (bool bFocus) |
virtual bool | GetFocus () |
virtual EventType | GetEventType () |
Protected Member Functions |
void | SendModifEvent () |
bool | IsLinkPos (Math::Point pos) |
void | MouseDoubleClick (Math::Point mouse) |
void | MouseClick (Math::Point mouse) |
void | MouseMove (Math::Point mouse) |
void | MouseRelease (Math::Point mouse) |
int | MouseDetect (Math::Point mouse) |
void | MoveAdjust () |
void | HyperJump (std::string name, std::string marker) |
bool | HyperAdd (std::string filename, int firstLine) |
void | DrawImage (Math::Point pos, std::string name, float width, float offset, float height, int nbLine) |
void | DrawBack (Math::Point pos, Math::Point dim) |
void | DrawPart (Math::Point pos, Math::Point dim, int icon) |
void | FreeImage () |
void | LoadImage (std::string name) |
void | Scroll (int pos, bool bAdjustCursor) |
void | Scroll () |
void | MoveChar (int move, bool bWord, bool bSelect) |
void | MoveLine (int move, bool bWord, bool bSelect) |
void | MoveHome (bool bWord, bool bSelect) |
void | MoveEnd (bool bWord, bool bSelect) |
void | ColumnFix () |
void | Insert (char character) |
void | InsertOne (char character) |
void | Delete (int dir) |
void | DeleteOne (int dir) |
int | IndentCompute () |
int | IndentTabCount () |
void | IndentTabAdjust (int number) |
bool | Shift (bool bLeft) |
bool | MinMaj (bool bMaj) |
void | Justif () |
int | GetCursorLine (int cursor) |
void | UndoFlush () |
void | UndoMemorize (OperUndo oper) |
bool | UndoRecall () |
void | UpdateScroll () |
void | GlintDelete () |
void | GlintCreate (Math::Point ref, bool bLeft=true, bool bUp=true) |
void | GlintFrame (const Event &event) |
void | DrawPart (int icon, float zoom, float ex) |
void | DrawIcon (Math::Point pos, Math::Point dim, Math::Point uv1, Math::Point uv2, float ex=0.0f) |
void | DrawIcon (Math::Point pos, Math::Point dim, Math::Point uv1, Math::Point uv2, Math::Point corner, float ex) |
void | DrawWarning (Math::Point pos, Math::Point dim) |
void | DrawShadow (Math::Point pos, Math::Point dim, float deep=1.0f) |
virtual bool | Detect (Math::Point pos) |
std::string | GetResourceName (EventType eventType) |