Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 2608 was 2608, checked in by rgrieder, 16 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.1 KB
Line 
1/***********************************************************************
2        ListboxItem
3***********************************************************************/
4class ListboxItem
5{
6        string getText() const;
7        unsigned int getID() const;
8        void* getUserData() const;
9        bool isSelected() const;
10        bool isDisabled() const;
11        bool isAutoDeleted() const;
12        const Window* getOwnerWindow();
13        ColourRect getSelectionColours() const;
14        const Image* getSelectionBrushImage() const;
15
16        void setText(string text);
17        void setID(unsigned int item_id);
18        void setUserData(void* item_data);
19        void setSelected(bool setting);
20        void setDisabled(bool setting);
21        void setAutoDeleted(bool setting);
22        void setOwnerWindow(const Window* owner);
23        void setSelectionColours(const ColourRect& cols);
24        void setSelectionColours(colour top_left_colour, colour top_right_colour, colour bottom_left_colour, colour bottom_right_colour);
25        void setSelectionColours(colour col);
26        void setSelectionBrushImage(const Image* image);
27        void setSelectionBrushImage(string imageset, string image);
28
29        Size getPixelSize() const;
30
31        //void draw(const Vector3& position, float alpha, const Rect& clipper) const;
32        // operators missing
33};
Note: See TracBrowser for help on using the repository browser.