Functions and Procedures |
int deselect(int docallbacks=0);
|
function Deselect
(This : in out Abstract_Browser;
Do_Callbacks : in Boolean := False)
return Boolean;
|
void display(void *item);
|
procedure Display
(This : in out Abstract_Browser;
Item : in Item_Cursor);
|
int handle(int event);
|
function Handle
(This : in out Abstract_Browser;
Event : in Event_Kind)
return Event_Outcome;
|
uchar has_scrollbar() const;
|
function Get_Scrollbar_Mode
(This : in Abstract_Browser)
return Scrollbar_Mode;
|
void has_scrollbar(uchar mode);
|
procedure Set_Scrollbar_Mode
(This : in out Abstract_Browser;
Mode : in Scrollbar_Mode);
|
int hposition() const;
|
function Get_H_Position
(This : in Abstract_Browser)
return Integer;
|
void hposition(int);
|
procedure Set_H_Position
(This : in out Abstract_Browser;
Value : in Integer);
|
int position() const;
|
function Get_V_Position
(This : in Abstract_Browser)
return Integer;
|
void position(int pos);
|
procedure Set_V_Position
(This : in out Abstract_Browser;
Value : in Integer);
|
void resize(int X, int Y, int W, int H);
|
procedure Resize
(This : in out Abstract_Browser;
X, Y, W, H : in Integer);
|
void scrollbar_left();
|
procedure Set_Vertical_Left
(This : in out Abstract_Browser);
|
void scrollbar_right();
|
procedure Set_Vertical_Right
(This : in out Abstract_Browser);
|
int scrollbar_size() const;
|
function Get_Scrollbar_Size
(This : in Abstract_Browser)
return Integer;
|
void scrollbar_size(int newSize);
|
procedure Set_Scrollbar_Size
(This : in out Abstract_Browser;
Value : in Integer);
|
int scrollbar_width() const;
|
Deprecated, see scrollbar_size |
void scrollbar_width(int width);
|
Deprecated, see scrollbar_size |
int select(void *item, int val=1, int docallbacks=0);
|
function Set_Select
(This : in out Abstract_Browser;
Item : in Item_Cursor;
State : in Boolean := True;
Do_Callbacks : in Boolean := False)
return Boolean;
|
int select_only(void *item, int docallbacks=0);
|
function Select_Only
(This : in out Abstract_Browser;
Item : in Item_Cursor;
Do_Callbacks : in Boolean := False)
return Boolean;
|
void sort(int flags=0);
|
procedure Sort
(This : in out Abstract_Browser;
Order : in Sort_Order);
|
Fl_Color textcolor() const;
|
function Get_Text_Color
(This : in Abstract_Browser)
return Color;
|
void textcolor(Fl_Color col);
|
procedure Set_Text_Color
(This : in out Abstract_Browser;
Value : in Color);
|
Fl_Font textfont() const;
|
function Get_Text_Font
(This : in Abstract_Browser)
return Font_Kind;
|
void textfont(Fl_Font font);
|
procedure Set_Text_Font
(This : in out Abstract_Browser;
Font : in Font_Kind);
|
Fl_Fontsize textsize() const;
|
function Get_Text_Size
(This : in Abstract_Browser)
return Font_Size;
|
void textsize(Fl_Fontsize newSize);
|
procedure Set_Text_Size
(This : in out Abstract_Browser;
Size : in Font_Size);
|
Protected Functions and Procedures |
void bbox(int &X, int &Y, int &W, int &H) const;
|
procedure Bounding_Box
(This : in Abstract_Browser;
X, Y, W, H : out Integer);
|
void deleting(void *item);
|
procedure Deleting
(This : in out Abstract_Browser;
Item : in Item_Cursor);
|
int displayed(void *item) const;
|
function Is_Displayed
(This : in Abstract_Browser;
Item : in Item_Cursor)
return Boolean;
|
void draw();
|
procedure Draw
(This : in out Abstract_Browser);
|
void * find_item(int ypos);
|
function Find_Item
(This : in Abstract_Browser;
Y_Pos : in Integer)
return Item_Cursor;
|
virtual int full_height() const;
|
function Full_List_Height
(This : in Abstract_Browser)
return Integer;
|
virtual int full_width() const;
|
function Full_List_Width
(This : in Abstract_Browser)
return Integer;
|
virtual int incr_height() const;
|
function Average_Item_Height
(This : in Abstract_Browser)
return Integer;
|
void inserting(void *a, void *b);
|
procedure Inserting
(This : in out Abstract_Browser;
A, B : in Item_Cursor);
|
virtual void * item_at(int index) const;
|
function Item_At
(This : in Abstract_Browser;
Index : in Positive)
return Item_Cursor;
|
virtual void item_draw(void *item,
int X, int Y, int W, int H) const =0;
|
procedure Item_Draw
(This : in Abstract_Browser;
Item : in Item_Cursor;
X, Y, W, H : in Integer);
|
virtual void * item_first() const =0;
|
function Item_First
(This : in Abstract_Browser)
return Item_Cursor;
|
virtual int item_height(void *item) const =0;
|
function Item_Height
(This : in Abstract_Browser;
Item : in Item_Cursor)
return Integer;
|
virtual void * item_last() const;
|
function Item_Last
(This : in Abstract_Browser)
return Item_Cursor;
|
virtual void * item_next(void *item) const =0;
|
function Item_Next
(This : in Abstract_Browser;
Item : in Item_Cursor)
return Item_Cursor;
|
virtual void * item_prev(void *item) const =0;
|
function Item_Previous
(This : in Abstract_Browser;
Item : in Item_Cursor)
return Item_Cursor;
|
virtual int item_quick_height(void *item) const;
|
function Item_Quick_Height
(This : in Abstract_Browser;
Item : in Item_Cursor)
return Integer;
|
virtual void item_select(void *item, int val=1);
|
procedure Item_Select
(This : in out Abstract_Browser;
Item : in Item_Cursor;
State : in Boolean := True);
|
virtual int item_selected(void *item) const;
|
function Item_Selected
(This : in Abstract_Browser;
Item : in Item_Cursor)
return Boolean;
|
virtual void item_swap(void *a, void *b);
|
procedure Item_Swap
(This : in out Abstract_Browser;
A, B : in Item_Cursor);
|
virtual const char * item_text(void *item) const;
|
function Item_Text
(This : in Abstract_Browser;
Item : in Item_Cursor)
return String;
|
virtual int item_width(void *item) const =0;
|
function Item_Width
(This : in Abstract_Browser;
Item : in Item_Cursor)
return Integer;
|
int leftedge() const;
|
function Left_Edge
(This : in Abstract_Browser)
return Integer;
|
void new_list();
|
procedure New_List
(This : in out Abstract_Browser);
|
void redraw_line(void *item);
|
procedure Redraw_Line
(This : in out Abstract_Browser;
Item : in Item_Cursor);
|
void redraw_lines();
|
procedure Redraw_List
(This : in out Abstract_Browser);
|
void replacing(void *a, void *b);
|
procedure Replacing
(This : in out Abstract_Browser;
A, B : in Item_Cursor);
|
void * selection() const;
|
function Current_Selection
(This : in Abstract_Browser)
return Item_Cursor;
|
void swapping(void *a, void *b);
|
procedure Swapping
(This : in out Abstract_Browser;
A, B : in Item_Cursor);
|
void * top() const;
|
function Top_Item
(This : in Abstract_Browser)
return Item_Cursor;
|