MityDSP Documentation Index

MityDSP::tcBench Class Reference

#include <bench.h>

Inheritance diagram for MityDSP::tcBench:
MityDSP::tcFrameBench

List of all members.

Classes

struct  tsFontDecl

Public Member Functions

 tcBench ()
virtual ~tcBench ()
void register_display (tcGuiDspDisplay *display)
void register_font (const tsFontDecl &fd, bool default_font=false)
void register_font (tcDspFont *apFont, bool default_font=false)
void register_image (const char *name, const tcBitmap &bmp)
int open_text (const char *apXmlText)
int open_file (const char *apXmlFile)
int open (const char *apXml, bool abIsFileName=false)
void set_update_rate (int update_rate_ms)
int get_update_rate_ms ()
teGuiResult lbutton_down (int x, int y)
bool lbutton_up (int x, int y)
bool mouse_move (int x, int y, int flags)
virtual teGuiLock check_obj_lock (int id)
tcDspFont * get_default_font ()
virtual void draw ()
virtual void draw (tcRect &rect)
virtual void invalidate (tcRect &rect, tcRect *bckgrnd_redraw=NULL)=0
virtual void animate ()
int show_first_view ()
int show_view (const char *name)
const char * current_view ()
const char * first_view ()
const char * next_view (const char *name)
tcGuiObjectfind_object (const char *name)
const tcBitmap * find_image (const char *name)
const tcBitmap * find_image (const GSTRING &name)
void add_object (tcGuiObject *apObject)
virtual void print (const char *fmt,...)=0
int get_font_align (const char *name)
tsRgb find_color (const char *name)
tsRgb find_color (GSTRING &name)
tsRgbfind_color_def (const char *name)
tsRgbfind_color_def (GSTRING &name)
tcDspFont * find_font_def (const char *name)
tcDspFont * find_font_def (GSTRING &name)
int find_offset (const char *name)
int find_offset (GSTRING &name)
int * find_offset_def (const char *name)
int * find_offset_def (GSTRING &name)
tcGuiImageadd_image_def_name (const char *id_str)

Public Attributes

tcGuiObjectm_lcapture_object

Protected Member Functions

virtual void display_object_cleanup ()
tsRgb scan_color (const char *string)
int find_offset_name (const char *name)
int find_offset_name (GSTRING &name)
int scan_offset (const char *string)
uint32 add_color_def_name (const char *id_str)
uint32 add_offset_def_name (const char *id_str)
uint32 add_region_def_name (const char *id_str)

Protected Attributes

tcGuiDspDisplaym_display
GUIOBJ_LIST * m_object_list
tcRawImageList * m_image_list
tcViewList m_view_list
tcView * m_current_view
tcDspFont * m_default_font
int m_current_color_id
uint32 m_num_colors
GSTRING m_color_names [MAX_COLOR_DEFS]
tsRgb m_color_defs [MAX_COLOR_DEFS]
GSTRING m_font_names [MAX_FONT_DEFS]
tcDspFont * m_font_defs [MAX_FONT_DEFS]
uint32 m_num_fonts
int m_offset_defs [MAX_OFFSET_DEFS]
int m_current_offset_id
uint32 m_num_offsets
GSTRING m_offset_names [MAX_OFFSET_DEFS]
int m_current_idd
int m_update_rate_ms
tcGuiRadioGroup * m_current_radiogroup
char mpActiveFont [MAX_FN_LENGTH]

Constructor & Destructor Documentation

tcBench::tcBench (  ) 
tcBench::~tcBench (  )  [virtual]

Member Function Documentation

void tcBench::register_display ( tcGuiDspDisplay display  ) 
void tcBench::register_font ( const tsFontDecl fd,
bool  default_font = false 
)
void tcBench::register_font ( tcDspFont *  apFont,
bool  default_font = false 
)
void tcBench::register_image ( const char *  name,
const tcBitmap &  bmp 
)
int tcBench::open_text ( const char *  apXmlText  ) 
int tcBench::open_file ( const char *  apXmlFile  ) 
int tcBench::open ( const char *  apXml,
bool  abIsFileName = false 
)
void MityDSP::tcBench::set_update_rate ( int  update_rate_ms  )  [inline]
int MityDSP::tcBench::get_update_rate_ms (  )  [inline]
teGuiResult tcBench::lbutton_down ( int  x,
int  y 
)
bool tcBench::lbutton_up ( int  x,
int  y 
)
bool tcBench::mouse_move ( int  x,
int  y,
int  flags 
)
virtual teGuiLock MityDSP::tcBench::check_obj_lock ( int  id  )  [inline, virtual]
tcDspFont* MityDSP::tcBench::get_default_font (  )  [inline]
void tcBench::draw (  )  [virtual]
void tcBench::draw ( tcRect rect  )  [virtual]
virtual void MityDSP::tcBench::invalidate ( tcRect rect,
tcRect bckgrnd_redraw = NULL 
) [pure virtual]

Implemented in MityDSP::tcFrameBench.

void tcBench::animate (  )  [virtual]
int tcBench::show_first_view (  ) 
int tcBench::show_view ( const char *  name  ) 
const char* MityDSP::tcBench::current_view (  )  [inline]
const char * tcBench::first_view (  ) 
const char * tcBench::next_view ( const char *  name  ) 
tcGuiObject * tcBench::find_object ( const char *  name  ) 
const tcBitmap * tcBench::find_image ( const char *  name  ) 
const tcBitmap * tcBench::find_image ( const GSTRING name  ) 
void MityDSP::tcBench::add_object ( tcGuiObject apObject  )  [inline]
virtual void MityDSP::tcBench::print ( const char *  fmt,
  ... 
) [pure virtual]

Implemented in MityDSP::tcFrameBench.

int tcBench::get_font_align ( const char *  name  ) 
tsRgb tcBench::find_color ( const char *  name  ) 
tsRgb tcBench::find_color ( GSTRING name  ) 
tsRgb * tcBench::find_color_def ( const char *  name  ) 
tsRgb * tcBench::find_color_def ( GSTRING name  ) 
tcDspFont * tcBench::find_font_def ( const char *  name  ) 
tcDspFont * tcBench::find_font_def ( GSTRING name  ) 
int tcBench::find_offset ( const char *  name  ) 
int tcBench::find_offset ( GSTRING name  ) 
int * tcBench::find_offset_def ( const char *  name  ) 
int * tcBench::find_offset_def ( GSTRING name  ) 
tcGuiImage * tcBench::add_image_def_name ( const char *  id_str  ) 
void tcBench::display_object_cleanup (  )  [protected, virtual]
tsRgb tcBench::scan_color ( const char *  string  )  [protected]
int tcBench::find_offset_name ( const char *  name  )  [protected]
int tcBench::find_offset_name ( GSTRING name  )  [protected]
int tcBench::scan_offset ( const char *  string  )  [protected]
uint32 tcBench::add_color_def_name ( const char *  id_str  )  [protected]
uint32 tcBench::add_offset_def_name ( const char *  id_str  )  [protected]
uint32 MityDSP::tcBench::add_region_def_name ( const char *  id_str  )  [protected]

Member Data Documentation

GUIOBJ_LIST* MityDSP::tcBench::m_object_list [protected]
tcRawImageList* MityDSP::tcBench::m_image_list [protected]
tcViewList MityDSP::tcBench::m_view_list [protected]
tcView* MityDSP::tcBench::m_current_view [protected]
tcDspFont* MityDSP::tcBench::m_default_font [protected]
uint32 MityDSP::tcBench::m_num_colors [protected]
uint32 MityDSP::tcBench::m_num_fonts [protected]
uint32 MityDSP::tcBench::m_num_offsets [protected]
tcGuiRadioGroup* MityDSP::tcBench::m_current_radiogroup [protected]

  
Generated on Wed Mar 17 18:24:43 2010 for MityDSP Skinnable Graphics User Interface (GGUI) by  Doxygen Version 1.6.1
Copyright © 2009, Critical Link LLC, All rights reserved.