Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/buildsystem2/src/ceguilua/ceguilua-0.5.0/package/elements/MultiLineEditbox.pkg @ 2608

Last change on this file since 2608 was 2608, checked in by rgrieder, 15 years ago

Large cleanup in CEGUILua:

  • Removed the heavy 1.7MB bind files and added the small pkg files from the CEGUI source instead
  • Those pkg files get copied version incrementally (starting with 0.5.0) to the binary dir. That saves a lot of files when having 4 different versions.
  • Added support for CEGUI 0.6.0 and 0.6.2
  • Added library info files
  • CEGUILua 0.5.0 finally supports Lua 5.1 too That means all version support both Lua 5.0 and 5.1
  • Added unified diffs with the changes to the CEGUILua source
  • Property svn:eol-style set to native
File size: 1.0 KB
Line 
1/***********************************************************************
2        MultiLineEditbox
3***********************************************************************/
4class MultiLineEditbox : public Window
5{
6        bool hasInputFocus() const;
7        bool isReadOnly() const;
8        unsigned long getCaratIndex() const;
9        unsigned long getSelectionStartIndex() const;
10        unsigned long getSelectionEndIndex() const;
11        unsigned long getSelectionLength() const;
12        unsigned long getMaxTextLength() const;
13        bool isWordWrapped() const;
14
15    Scrollbar* getVertScrollbar() const;
16    Scrollbar* getHorzScrollbar() const;
17    Rect getTextRenderArea() const;
18    unsigned long getLineNumberFromIndex(unsigned long index) const;
19
20        void setReadOnly(bool setting);
21        void setCaratIndex(unsigned long carat_pos);
22        void setSelection(unsigned long start_pos, unsigned long end_pos);
23        void setMaxTextLength(unsigned long max_len);
24        void ensureCaratIsVisible();
25        void setWordWrapping(bool setting);
26
27    void setSelectionBrushImage(const Image* image);
28    const Image* getSelectionBrushImage() const;
29};
Note: See TracBrowser for help on using the repository browser.