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

CMapArea Class Reference

#include <ui.h>

List of all members.


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.
int EndX
 Screen pixel upper corner y coordinate.
int EndY
 Screen pixel right x coordinate.
int ScrollPaddingLeft
 Screen pixel bottom y coordinate.
int ScrollPaddingRight
 Scrollable area past the left of map.
int ScrollPaddingTop
 Scrollable area past the right of map.
int ScrollPaddingBottom
 Scrollable area past the top of map.

Constructor & Destructor Documentation

CMapArea::CMapArea (  )  [inline]


Member Function Documentation

bool CMapArea::Contains ( const PixelPos screenPos  )  const


Member Data Documentation

Screen pixel left corner x coordinate.

Screen pixel upper corner y coordinate.

Screen pixel right x coordinate.

Screen pixel bottom y coordinate.

Scrollable area past the left of map.

Scrollable area past the right of map.

Scrollable area past the top of map.


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.