MityDSP Documentation Index

MityDSP::tcGuiGraph Class Reference

#include <ggui/gui_graph.h>

Inheritance diagram for MityDSP::tcGuiGraph:
MityDSP::tcGuiObject MityDSP::tcGuiGenericGraph

List of all members.

Public Member Functions

 tcGuiGraph (const char *name, tcBench *bench, int idd, uint32 type)
virtual ~tcGuiGraph ()
virtual bool ParseXML (TiXmlElement *ahDom)
virtual void create ()
void show (bool show=true)
void hide ()
void set_plot_bg (tsRgb color)
void set_gutter_fg (tsRgb color)
void set_gutter_bg (tsRgb color)
void set_axis_major (tsRgb color)
void set_axis_minor (tsRgb color)
void set_left_gutter (int left_gutter)
void set_right_gutter (int right_gutter)
void set_top_gutter (int top_gutter)
void set_bottom_gutter (int bottom_gutter)
void set_axis_font (tcDspFont *font)
void set_title (const char *title, bool redraw=false)
int get_plot_x ()
int get_plot_y ()
int get_plot_h ()
int get_plot_w ()
void set_line_side (eGraphAxisLineSide side)
tcRect get_plot_rect ()
const tcGraphAxisget_x_axis ()
const tcGraphAxisget_ly_axis ()
const tcGraphAxisget_ry_axis ()
void redraw ()
void draw (tcGuiDspDisplay &pd)

Protected Member Functions

virtual void pre_clip_draw (tcGuiDspDisplay &pd)
virtual void pre_axis_draw (tcGuiDspDisplay &pd)
virtual void post_axis_draw (tcGuiDspDisplay &pd)
virtual void post_clip_draw (tcGuiDspDisplay &pd)
virtual void post_blt_draw (tcGuiDspDisplay &pd)
void erase ()
void draw_axis_lines (tcGuiDspDisplay &pd, uint32 flags)
void draw_axis_text (tcGuiDspDisplay &pd, uint32 flags)
void draw_axis (tcGuiDspDisplay &pd)
void draw_v_axis (tcGuiDspDisplay &pd, int x)
void draw_h_axis (tcGuiDspDisplay &pd, int y)

Protected Attributes

bool m_need_redraw
GSTRING m_title_string
tcGuiImagem_pixmap
tsRgb m_plot_bg
tsRgb m_gutter_fg
tsRgb m_gutter_bg
tsRgb m_axis_major
tsRgb m_axis_minor
int m_plot_x
int m_plot_y
int m_plot_w
int m_plot_h
tcRect m_plot_clip_rect
tcRect m_plot_rect
int m_left_gutter
int m_right_gutter
int m_top_gutter
int m_bottom_gutter
int m_label_x_name
int m_label_x_left
int m_label_x_right
int m_label_y_top
float m_y_range_max
float m_y_range_min
tcDspFont * m_axis_font
tcGraphAxism_LY_axis
tcGraphAxism_RY_axis
tcGraphAxism_X_axis
eGraphAxisLineSide m_line_side
LCK_Handle mhLock
 used for serialization of data accessors
int mhLock
 placeholder for win32 compiles.

Detailed Description

The tcGuiGraph class is an abstract base class used by all 2 dimensional plotting widgets in the ggui library.

See also:
tcGuiGraph Page

Constructor & Destructor Documentation

tcGuiGraph::tcGuiGraph ( const char *  name,
tcBench bench,
int  idd,
uint32  type 
)
tcGuiGraph::~tcGuiGraph (  )  [virtual]

Member Function Documentation

bool tcGuiGraph::ParseXML ( TiXmlElement *  apElement  )  [virtual]

Parse common XML elements from the DOM.

Reimplemented from MityDSP::tcGuiObject.

Reimplemented in MityDSP::tcGuiGenericGraph.

void tcGuiGraph::create (  )  [virtual]

Reimplemented from MityDSP::tcGuiObject.

Reimplemented in MityDSP::tcGuiGenericGraph.

void tcGuiGraph::show ( bool  show = true  )  [virtual]

This function un-hides the object. If hidden the object will not respond to mouse clicks or appear on the screen.

Note:
This function is usually called when the active screen changes from within the script virtual machine.

Reimplemented from MityDSP::tcGuiObject.

void tcGuiGraph::hide (  )  [virtual]

This function hides the object. If hidden the object will not respond to mouse clicks or appear on the screen.

Note:
This function is usually called when the active screen changes from within the script virtual machine.

Reimplemented from MityDSP::tcGuiObject.

void MityDSP::tcGuiGraph::set_plot_bg ( tsRgb  color  )  [inline]
void MityDSP::tcGuiGraph::set_gutter_fg ( tsRgb  color  )  [inline]
void MityDSP::tcGuiGraph::set_gutter_bg ( tsRgb  color  )  [inline]
void MityDSP::tcGuiGraph::set_axis_major ( tsRgb  color  )  [inline]
void MityDSP::tcGuiGraph::set_axis_minor ( tsRgb  color  )  [inline]
void MityDSP::tcGuiGraph::set_left_gutter ( int  left_gutter  )  [inline]
void MityDSP::tcGuiGraph::set_right_gutter ( int  right_gutter  )  [inline]
void MityDSP::tcGuiGraph::set_top_gutter ( int  top_gutter  )  [inline]
void MityDSP::tcGuiGraph::set_bottom_gutter ( int  bottom_gutter  )  [inline]
void MityDSP::tcGuiGraph::set_axis_font ( tcDspFont *  font  )  [inline]
void tcGuiGraph::set_title ( const char *  title,
bool  redraw = false 
)
int MityDSP::tcGuiGraph::get_plot_x (  )  [inline]
int MityDSP::tcGuiGraph::get_plot_y (  )  [inline]
int MityDSP::tcGuiGraph::get_plot_h (  )  [inline]
int MityDSP::tcGuiGraph::get_plot_w (  )  [inline]
void tcGuiGraph::set_line_side ( eGraphAxisLineSide  side  ) 
tcRect MityDSP::tcGuiGraph::get_plot_rect (  )  [inline]
const tcGraphAxis* MityDSP::tcGuiGraph::get_x_axis (  )  [inline]
const tcGraphAxis* MityDSP::tcGuiGraph::get_ly_axis (  )  [inline]
const tcGraphAxis* MityDSP::tcGuiGraph::get_ry_axis (  )  [inline]
void MityDSP::tcGuiGraph::redraw (  )  [inline]
void tcGuiGraph::draw ( tcGuiDspDisplay pd  )  [virtual]

Reimplemented from MityDSP::tcGuiObject.

virtual void MityDSP::tcGuiGraph::pre_clip_draw ( tcGuiDspDisplay pd  )  [inline, protected, virtual]
virtual void MityDSP::tcGuiGraph::pre_axis_draw ( tcGuiDspDisplay pd  )  [inline, protected, virtual]
virtual void MityDSP::tcGuiGraph::post_axis_draw ( tcGuiDspDisplay pd  )  [inline, protected, virtual]

Reimplemented in MityDSP::tcGuiGenericGraph.

virtual void MityDSP::tcGuiGraph::post_clip_draw ( tcGuiDspDisplay pd  )  [inline, protected, virtual]
virtual void MityDSP::tcGuiGraph::post_blt_draw ( tcGuiDspDisplay pd  )  [inline, protected, virtual]
void tcGuiGraph::erase (  )  [protected]
void tcGuiGraph::draw_axis_lines ( tcGuiDspDisplay pd,
uint32  flags 
) [protected]
void tcGuiGraph::draw_axis_text ( tcGuiDspDisplay pd,
uint32  flags 
) [protected]
void tcGuiGraph::draw_axis ( tcGuiDspDisplay pd  )  [protected]
void tcGuiGraph::draw_v_axis ( tcGuiDspDisplay pd,
int  x 
) [protected]
void tcGuiGraph::draw_h_axis ( tcGuiDspDisplay pd,
int  y 
) [protected]

Member Data Documentation

tcDspFont* MityDSP::tcGuiGraph::m_axis_font [protected]
LCK_Handle MityDSP::tcGuiGraph::mhLock [protected]

used for serialization of data accessors

int MityDSP::tcGuiGraph::mhLock [protected]

placeholder for win32 compiles.


  
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.