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

Emboss Class Reference

#include <paradialog.h>

Inheritance diagram for Emboss:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 Emboss (PG_Widget *parent, const PG_Rect &rect, bool inverted=false)
void eventBlit (SDL_Surface *surface, const PG_Rect &src, const PG_Rect &dst)
 overridable eventhandler to blit the widget contents to the screen

Constructor & Destructor Documentation

Emboss::Emboss PG_Widget parent,
const PG_Rect rect,
bool  inverted = false
[inline]
 

Definition at line 210 of file paradialog.h.


Member Function Documentation

void Emboss::eventBlit SDL_Surface *  surface,
const PG_Rect src,
const PG_Rect dst
[virtual]
 

overridable eventhandler to blit the widget contents to the screen

Parameters:
surface pointer to SDL_Surface to be blitted
src source rectangle (client coordinates)
dst destination rectangle (screen coordinates) Override this eventhandler to perform custom blitting behaviour (without drawing onto the widget surface).

Reimplemented from PG_Widget.

Definition at line 711 of file paradialog.cpp.

References PG_Application::GetScreen(), PG_Rect::IntersectRect(), and Surface::Wrap().


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