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

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 adjusted for current map size. More...
 
int EndX
 Screen pixel upper corner y coordinate adjusted for current map size. More...
 
int EndY
 Screen pixel right x coordinate adjusted for current map size. More...
 
int ScrollPaddingLeft
 Screen pixel bottom y coordinate adjusted for current map size. 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::CMapArea ( )
inline

Member Function Documentation

◆ Contains()

bool CMapArea::Contains ( const PixelPos screenPos) const

Member Data Documentation

◆ EndX

int CMapArea::EndX

Screen pixel upper corner y coordinate adjusted for current map size.

◆ EndY

int CMapArea::EndY

Screen pixel right x coordinate adjusted for current map size.

◆ ScrollPaddingBottom

int CMapArea::ScrollPaddingBottom

Scrollable area past the top of map.

◆ ScrollPaddingLeft

int CMapArea::ScrollPaddingLeft

Screen pixel bottom y coordinate adjusted for current map size.

◆ ScrollPaddingRight

int CMapArea::ScrollPaddingRight

Scrollable area past the left of map.

◆ ScrollPaddingTop

int CMapArea::ScrollPaddingTop

Scrollable area past the right of map.

◆ X

int CMapArea::X

◆ Y

int CMapArea::Y

Screen pixel left corner x coordinate adjusted for current map size.


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.