GProgressDlg Class Reference

Progress dialog. More...

#include <GProgressDlg.h>

Inheritance diagram for GProgressDlg:

GDialog GWindow GLgiRes GView GDragDropTarget

List of all members.

Public Member Functions

 GProgressDlg (GView *parent=0, bool wait=false)
 Constructor.
GProgressPanePush ()
 Adds a pane. By default there is one pane.
void Pop (GProgressPane *p=0)
 Pops off a pane.
GProgressPaneItemAt (int i)
 Gets the pane at index 'i'.
char * GetDescription ()
 Returns the description of the first pane.
void SetDescription (char *d)
 Sets the description of the first pane.
void GetLimits (int64 *l, int64 *h)
 Returns the upper and lower limits of the first pane.
void SetLimits (int64 l, int64 h)
 Sets the upper and lower limits of the first pane.
double GetScale ()
 Returns the scaling factor of the first pane.
void SetScale (double s)
 Sets the scaling factor of the first pane.
int64 Value ()
 Returns the current value of the first pane.
void Value (int64 v)
 Sets the current value of the first pane.
char * GetType ()
 Returns the type description of the first pane.
void SetType (char *t)
 Sets the type description of the first pane.
bool Cancel ()
 Returns whether the user has cancelled the operation.
void OnSync (ProgressList *Prg)
 Syncs an external list of progress objects with the dialog.
int OnEvent (GMessage *Msg)
 Called to process every message received by this window.
void OnPaint (GSurface *pDC)
 Called to paint the onscreen representation of the view.
void OnCreate ()
 The view is attached.


Detailed Description

Progress dialog.

Constructor & Destructor Documentation

GProgressDlg::GProgressDlg ( GView parent = 0,
bool  wait = false 
)

Constructor.

Parameters:
parent  The parent window
wait  true if the window should not destroy itself when the user cancels the operation.

References GDialog::DoModeless(), GView::MoveToCenter(), GWindow::Name(), GRect::Offset(), GView::SetParent(), GWindow::SetPos(), and GWindow::WindowHandle().


The documentation for this class was generated from the following files:

Generated on Wed Dec 1 15:41:04 2010 for Lgi by  doxygen 1.5.7.1