_________ __                 __
        /   _____//  |_____________ _/  |______     ____  __ __  ______
        \_____  \\   __\_  __ \__  \\   __\__  \   / ___\|  |  \/  ___/
        /        \|  |  |  | \// __ \|  |  / __ \_/ /_/  >  |  /\___ \
       /_______  /|__|  |__|  (____  /__| (____  /\___  /|____//____  >
               \/                  \/          \//_____/            \/
    ______________________                           ______________________
                          T H E   W A R   B E G I N S
                   Stratagus - A free fantasy real time strategy game engine

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Public Attributes | List of all members
CMapArea Class Reference

#include <ui.h>

Public Member Functions

 CMapArea ()
 
ui.cpp - The user interface globals.
bool Contains (const PixelPos &screenPos) const
 

Public Attributes

int X
 
int Y
 Screen pixel left corner x coordinate. More...
 
int EndX
 Screen pixel upper corner y coordinate. More...
 
int EndY
 Screen pixel right x coordinate. More...
 
int ScrollPaddingLeft
 Screen pixel bottom y coordinate. More...
 
int ScrollPaddingRight
 Scrollable area past the left of map. More...
 
int ScrollPaddingTop
 Scrollable area past the right of map. More...
 
int ScrollPaddingBottom
 Scrollable area past the top of map. More...
 

Constructor & Destructor Documentation

CMapArea::CMapArea ( )
inline

Member Function Documentation

bool CMapArea::Contains ( const PixelPos screenPos) const

Member Data Documentation

int CMapArea::EndX

Screen pixel upper corner y coordinate.

int CMapArea::EndY

Screen pixel right x coordinate.

int CMapArea::ScrollPaddingBottom

Scrollable area past the top of map.

int CMapArea::ScrollPaddingLeft

Screen pixel bottom y coordinate.

int CMapArea::ScrollPaddingRight

Scrollable area past the left of map.

int CMapArea::ScrollPaddingTop

Scrollable area past the right of map.

int CMapArea::X
int CMapArea::Y

Screen pixel left corner x coordinate.


The documentation for this class was generated from the following files:
(C) Copyright 1998-2012 by The Stratagus Project under the GNU General Public License.
All trademarks and copyrights on this page are owned by their respective owners.