Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/trunk/src/ceguilua/ceguilua-0.5.0/package/elements/Editbox.pkg @ 2974

Last change on this file since 2974 was 2710, checked in by rgrieder, 16 years ago

Merged buildsystem3 containing buildsystem2 containing Adi's buildsystem branch back to the trunk.
Please update the media directory if you were not using buildsystem3 before.

  • Property svn:eol-style set to native
File size: 927 bytes
RevLine 
[2608]1/***********************************************************************
2        Editbox
3***********************************************************************/
4class Editbox : public Window
5{
6        bool hasInputFocus() const;
7        bool isReadOnly() const;
8        bool isTextMasked() const;
9        bool isTextValid() const;
10
11        string getValidationString() const;
12
13        unsigned long getCaratIndex() const;
14        unsigned long getSelectionStartIndex() const;
15        unsigned long getSelectionEndIndex() const;
16        unsigned long getSelectionLength() const;
17        unsigned long getMaskCodePoint() const;
18        unsigned long getMaxTextLength() const;
19
20        void setReadOnly(bool setting);
21        void setTextMasked(bool setting);
22        void setValidationString(string validation_string);
23        void setCaratIndex(unsigned long carat_pos);
24        void setSelection(unsigned long start_pos, unsigned long end_pos);
25        void setMaskCodePoint(unsigned long code_point);
26        void setMaxTextLength(unsigned long max_len);
27};
Note: See TracBrowser for help on using the repository browser.