Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

PG_Navigator Class Reference

A class for widget navigation. More...

#include <pgnavigator.h>

List of all members.

Public Member Functions

void Add (PG_Widget *widget)
void Remove (PG_Widget *widget)
bool Action (PG_Widget::KeyAction action)
PG_WidgetGoto (PG_Widget *widget)
PG_WidgetGotoFirst ()
PG_WidgetGotoLast ()
PG_WidgetGotoNext ()
PG_WidgetGotoPrev ()
PG_WidgetFindLeft (PG_Widget *widget=NULL)
PG_WidgetFindRight (PG_Widget *widget=NULL)
PG_WidgetFindUp (PG_Widget *widget=NULL)
PG_WidgetFindDown (PG_Widget *widget=NULL)


Detailed Description

A class for widget navigation.

Author:
Alexander Pipelka

Definition at line 46 of file pgnavigator.h.


Member Function Documentation

bool PG_Navigator::Action PG_Widget::KeyAction  action  ) 
 

Definition at line 56 of file pgnavigator.cpp.

References PG_Widget::Action().

Referenced by Goto().

void PG_Navigator::Add PG_Widget widget  ) 
 

Definition at line 36 of file pgnavigator.cpp.

PG_Widget * PG_Navigator::FindDown PG_Widget widget = NULL  ) 
 

Definition at line 215 of file pgnavigator.cpp.

References PG_Point::x, and PG_Point::y.

PG_Widget * PG_Navigator::FindLeft PG_Widget widget = NULL  ) 
 

Definition at line 179 of file pgnavigator.cpp.

References PG_Point::x, and PG_Point::y.

PG_Widget * PG_Navigator::FindRight PG_Widget widget = NULL  ) 
 

Definition at line 191 of file pgnavigator.cpp.

References PG_Point::x, and PG_Point::y.

PG_Widget * PG_Navigator::FindUp PG_Widget widget = NULL  ) 
 

Definition at line 203 of file pgnavigator.cpp.

References PG_Point::x, and PG_Point::y.

PG_Widget * PG_Navigator::Goto PG_Widget widget  ) 
 

Definition at line 64 of file pgnavigator.cpp.

References PG_Widget::ACT_ACTIVATE, PG_Widget::ACT_DEACTIVATE, and Action().

Referenced by GotoFirst(), GotoLast(), GotoNext(), and GotoPrev().

PG_Widget * PG_Navigator::GotoFirst  ) 
 

Definition at line 78 of file pgnavigator.cpp.

References Goto().

Referenced by GotoLast().

PG_Widget * PG_Navigator::GotoLast  ) 
 

Definition at line 88 of file pgnavigator.cpp.

References Goto(), and GotoFirst().

PG_Widget * PG_Navigator::GotoNext  ) 
 

Definition at line 103 of file pgnavigator.cpp.

References Goto().

PG_Widget * PG_Navigator::GotoPrev  ) 
 

Definition at line 114 of file pgnavigator.cpp.

References Goto().

void PG_Navigator::Remove PG_Widget widget  ) 
 

Definition at line 46 of file pgnavigator.cpp.


The documentation for this class was generated from the following files:
Generated on Tue Jun 24 02:19:13 2008 for Advanced Strategic Command by  doxygen 1.4.2