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

PG_Point Class Reference

A wrapper for a point on the screen. More...

#include <pgpoint.h>

List of all members.

Public Member Functions

 PG_Point ()
 PG_Point (Sint16 _x, Sint16 _y)

Public Attributes

Sint16 x
Sint16 y

Static Public Attributes

static PG_Point null


Detailed Description

A wrapper for a point on the screen.

Author:
Alexander Pipelka
Useful when its necessary to specify a 2D using Cartesian coordinates (x, y).

Definition at line 48 of file pgpoint.h.


Constructor & Destructor Documentation

PG_Point::PG_Point  ) 
 

Definition at line 33 of file pgpoint.cpp.

PG_Point::PG_Point Sint16  _x,
Sint16  _y
 

Definition at line 35 of file pgpoint.cpp.


Member Data Documentation

PG_Point PG_Point::null [static]
 

Definition at line 31 of file pgpoint.cpp.

Sint16 PG_Point::x
 

Definition at line 55 of file pgpoint.h.

Referenced by ChangePasswordDialog::ChangePasswordDialog(), PG_WidgetDnD::drawDragArea(), PG_Widget::EndWidgetDrag(), PG_ColorSelector::PG_ColorBox::eventBlit(), MapDisplayPG::eventBlit(), StoringPosition::eventBlit(), GraphWidget::eventBlit(), PG_Window::eventMouseButtonDown(), PG_WidgetDnD::eventMouseButtonDown(), StoringPosition::eventMouseButtonDown(), GraphWidget::eventMouseButtonDown(), PG_Window::eventMouseButtonUp(), PG_WidgetDnD::eventMouseButtonUp(), PG_Window::eventMouseMotion(), PG_WidgetDnD::eventMouseMotion(), PG_ScrollBar::ScrollButton::eventMouseMotion(), PG_PopupMenu::eventMouseMotion(), PG_ColorSelector::PG_ColorBox::eventMouseMotion(), StoringPosition::eventMouseMotion(), GraphWidget::eventMouseMotion(), PG_Navigator::FindDown(), PG_Navigator::FindLeft(), PG_Navigator::FindRight(), PG_Navigator::FindUp(), PG_Widget::FindWidgetFromPos(), PG_ColorSelector::PG_ColorBox::GetBaseColor(), PG_ScrollBar::ScrollButton::GetPosFromPoint(), ExperienceOverview::getSize(), PG_PopupMenu::handleClick(), Weathercast::mouseButtonDown(), OverviewMapPanel::mouseButtonDown(), Weathercast::mouseMotion(), OverviewMapPanel::mouseMotion(), PG_PopupMenu::MenuItem::moveTo(), Weathercast::painter(), Weathercast::paintWeatherArea(), PG_ColorSelector::PG_ColorBox::PG_ColorBox(), PG_Draw::DrawTile(), SaveGameBaseDialog::SaveGameBaseDialog(), MapDisplayPG::screenPos2mapPos(), PG_Widget::SetPixel(), PG_ToolTipHelp::ShowHelp(), PG_Widget::StartWidgetDrag(), StoringPosition::StoringPosition(), PG_WidgetDnD::updateDragArea(), MapDisplayPG::widget2screen(), PG_Widget::WidgetDrag(), and XMLStartDoc().

Sint16 PG_Point::y
 

Definition at line 56 of file pgpoint.h.

Referenced by ChangePasswordDialog::ChangePasswordDialog(), PG_WidgetDnD::drawDragArea(), PG_Widget::EndWidgetDrag(), PG_ColorSelector::PG_ColorBox::eventBlit(), MapDisplayPG::eventBlit(), StoringPosition::eventBlit(), GraphWidget::eventBlit(), PG_Window::eventMouseButtonDown(), PG_WidgetDnD::eventMouseButtonDown(), StoringPosition::eventMouseButtonDown(), PG_Window::eventMouseButtonUp(), PG_WidgetDnD::eventMouseButtonUp(), PG_Window::eventMouseMotion(), PG_WidgetDnD::eventMouseMotion(), PG_ScrollBar::ScrollButton::eventMouseMotion(), PG_PopupMenu::eventMouseMotion(), PG_ColorSelector::PG_ColorBox::eventMouseMotion(), StoringPosition::eventMouseMotion(), PG_Navigator::FindDown(), PG_Navigator::FindLeft(), PG_Navigator::FindRight(), PG_Navigator::FindUp(), PG_Widget::FindWidgetFromPos(), PG_ColorSelector::PG_ColorBox::GetBaseColor(), PG_ScrollBar::ScrollButton::GetPosFromPoint(), ExperienceOverview::getSize(), PG_PopupMenu::handleClick(), Weathercast::mouseButtonDown(), OverviewMapPanel::mouseButtonDown(), Weathercast::mouseMotion(), OverviewMapPanel::mouseMotion(), PG_PopupMenu::MenuItem::moveTo(), Weathercast::painter(), Weathercast::paintWeatherArea(), PG_ColorSelector::PG_ColorBox::PG_ColorBox(), PG_Draw::DrawTile(), SaveGameBaseDialog::SaveGameBaseDialog(), MapDisplayPG::screenPos2mapPos(), PG_Widget::SetPixel(), PG_ToolTipHelp::ShowHelp(), PG_Widget::StartWidgetDrag(), StoringPosition::StoringPosition(), PG_WidgetDnD::updateDragArea(), MapDisplayPG::widget2screen(), PG_Widget::WidgetDrag(), and XMLStartDoc().


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