~ubuntu-branches/debian/wheezy/cegui-mk2/wheezy

« back to all changes in this revision

Viewing changes to cegui/src/ScriptingModules/LuaScriptModule/package/elements/MultiLineEditbox.pkg

  • Committer: Package Import Robot
  • Author(s): Muammar El Khatib
  • Date: 2011-10-13 12:43:12 UTC
  • mfrom: (10.1.5 experimental)
  • Revision ID: package-import@ubuntu.com-20111013124312-qch0o3fayloxgxu3
Tags: 0.7.5-7
Moved to unstable. (Closes: #645109)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/***********************************************************************
 
2
        MultiLineEditbox
 
3
***********************************************************************/
 
4
class 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
    bool isVertScrollbarAlwaysShown() const;
 
17
    Scrollbar* getHorzScrollbar() const;
 
18
    Rect getTextRenderArea() const;
 
19
    unsigned long getLineNumberFromIndex(unsigned long index) const;
 
20
 
 
21
        void setReadOnly(bool setting);
 
22
        void setCaratIndex(unsigned long carat_pos);
 
23
        void setSelection(unsigned long start_pos, unsigned long end_pos);
 
24
        void setMaxTextLength(unsigned long max_len);
 
25
        void ensureCaratIsVisible();
 
26
        void setWordWrapping(bool setting);
 
27
    void setShowVertScrollbar(bool setting);
 
28
 
 
29
    void setSelectionBrushImage(const Image* image);
 
30
    const Image* getSelectionBrushImage() const;
 
31
};