#include <Browser.h>
Public Member Functions | |
int | compare (const Mark &mark2) const |
bool | is_set () const |
Mark () | |
Mark (const Mark &) | |
const Mark & | operator= (const Mark &) |
void | unset () |
~Mark () | |
Private Attributes | |
int | index0 |
used as *indexes if indexes_size==1 | |
int * | indexes |
array of indexes | |
unsigned | indexes_size |
allocated size | |
unsigned | level |
depth in hierarchy of the item | |
unsigned | open_level |
depth of highest closed parent | |
int | position |
distance in pixels from top of browser | |
Friends | |
class | fltk::Browser |
A "Mark" is like a pointer ot a widget somewhere in the hierarchy of the Browser. It is an array of child indicies, and also the vertical position and indexnumber (which is used to decide strip colour) of the item
fltk::Browser::Mark::Mark | ( | ) | [inline] |
The default constructor initialises every member to 0
Browser::Mark::Mark | ( | const Mark & | source | ) |
fltk::Browser::Mark::~Mark | ( | ) | [inline] |
The destructor deletes the array of cihld indicies
int Browser::Mark::compare | ( | const Mark & | mark2 | ) | const |
Compares the current mark's position to another mark's position
mark2 | The mark to compare with |
bool fltk::Browser::Mark::is_set | ( | ) | const [inline] |
Checks whether this Mark is being used
const Browser::Mark & Browser::Mark::operator= | ( | const Mark & | source | ) |
void fltk::Browser::Mark::unset | ( | ) | [inline] |
Removes this Mark