Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

ht_project_listbox Class Reference

#include <htapp.h>

Inheritance diagram for ht_project_listbox:

ht_listbox ht_view Object List of all members.

Public Member Functions

void init (bounds *b, ht_project *project)
virtual int calcCount ()
virtual void draw ()
virtual void * getFirst ()
virtual void * getLast ()
virtual void * getNext (void *entry)
virtual void * getPrev (void *entry)
virtual char * getStr (int col, void *entry)
virtual void handlemsg (htmsg *msg)
virtual int numColumns ()
virtual void * quickfind (char *s)
virtual char * quickfindCompletition (char *s)
virtual bool selectEntry (void *entry)
char * func (UINT i, bool execute)
void set_project (ht_project *project)

Protected Attributes

ht_projectproject
UINT colwidths [4]

Member Function Documentation

int ht_project_listbox::calcCount  )  [virtual]
 

Implements ht_listbox.

Definition at line 719 of file htapp.cc.

References ht_clist::count(), and project.

Referenced by handlemsg().

void ht_project_listbox::draw  )  [virtual]
 

Reimplemented from ht_listbox.

Definition at line 724 of file htapp.cc.

References ht_view::buf_print(), ht_view::clear(), ht_listbox::draw(), ht_view::getcolor(), palidx_generic_list_focused_unselected, palidx_generic_list_unfocused_unselected, project, and vcp.

char * ht_project_listbox::func UINT  i,
bool  execute
 

Definition at line 738 of file htapp.cc.

References NULL, and UINT.

void * ht_project_listbox::getFirst  )  [virtual]
 

Implements ht_listbox.

Definition at line 743 of file htapp.cc.

References ht_clist::count(), NULL, and project.

Referenced by quickfind(), and quickfindCompletition().

void * ht_project_listbox::getLast  )  [virtual]
 

Implements ht_listbox.

Definition at line 752 of file htapp.cc.

References ht_clist::count(), NULL, and project.

void * ht_project_listbox::getNext void *  entry  )  [virtual]
 

Implements ht_listbox.

Definition at line 761 of file htapp.cc.

References ht_clist::count(), NULL, project, and UINT.

Referenced by quickfind(), and quickfindCompletition().

void * ht_project_listbox::getPrev void *  entry  )  [virtual]
 

Implements ht_listbox.

Definition at line 772 of file htapp.cc.

References NULL, and UINT.

char * ht_project_listbox::getStr int  col,
void *  entry
[virtual]
 

Implements ht_listbox.

Definition at line 782 of file htapp.cc.

References ht_clist::get(), ht_snprintf(), and project.

Referenced by quickfind(), and quickfindCompletition().

void ht_project_listbox::handlemsg htmsg *  msg  )  [virtual]
 

Reimplemented from ht_listbox.

Definition at line 800 of file htapp.cc.

References app, button_ok, calcCount(), clearmsg(), cmd_project_add_item, cmd_project_remove_item, confirmbox, ht_listbox::cursorDown(), ht_listbox::cursorUp(), ht_clist::del(), ht_view::dirtyview(), file_chooser(), ht_clist::get(), ht_listbox::handlemsg(), HT_NAME_MAX, ht_project_item::init(), K_Return, msg_keypressed, msg_project_changed, NULL, project, ht_listbox::rearrangeColumns(), selectEntry(), ht_view::sendmsg(), sys_basename(), sys_common_canonicalize(), sys_dirname(), sys_is_path_delim(), and ht_listbox::update().

void ht_project_listbox::init bounds *  b,
ht_project project
 

Definition at line 711 of file htapp.cc.

References colwidths, Object::init(), and project.

Referenced by ht_project_window::init().

int ht_project_listbox::numColumns  )  [virtual]
 

Reimplemented from ht_listbox.

Definition at line 850 of file htapp.cc.

void * ht_project_listbox::quickfind char *  s  )  [virtual]
 

Implements ht_listbox.

Definition at line 855 of file htapp.cc.

References getFirst(), getNext(), getStr(), and ht_strncmp().

char * ht_project_listbox::quickfindCompletition char *  s  )  [virtual]
 

Reimplemented from ht_listbox.

Definition at line 865 of file htapp.cc.

References getFirst(), getNext(), getStr(), ht_strdup(), ht_strncmp(), NULL, and strccomm().

bool ht_project_listbox::selectEntry void *  entry  )  [virtual]
 

Reimplemented from ht_listbox.

Definition at line 884 of file htapp.cc.

References app, FOM_AUTO, ht_clist::get(), ht_project_item::get_filename(), ht_project_item::get_path(), HT_NAME_MAX, project, sys_common_canonicalize(), and sys_is_path_delim().

Referenced by handlemsg().

void ht_project_listbox::set_project ht_project project  ) 
 

Definition at line 895 of file htapp.cc.

References project, and ht_listbox::update().

Referenced by ht_project_window::handlemsg().


Member Data Documentation

UINT ht_project_listbox::colwidths[4] [protected]
 

Definition at line 221 of file htapp.h.

Referenced by init().

ht_project* ht_project_listbox::project [protected]
 

Definition at line 220 of file htapp.h.

Referenced by calcCount(), draw(), getFirst(), getLast(), getNext(), getStr(), handlemsg(), init(), selectEntry(), and set_project().


The documentation for this class was generated from the following files:
Generated on Fri May 7 21:16:02 2004 by doxygen 1.3.5