# zoom_type.h

Go to the documentation of this file.

    00001 /* $Id: zoom_type.h 11684 2007-12-23 10:56:02Z rubidium $ */
    00002
    00005 #ifndef ZOOM_TYPE_H
    00006 #define ZOOM_TYPE_H
    00007
    00008 #include "core/enum_type.hpp"
    00009
    00010 enum ZoomLevel {
    00011   /* Our possible zoom-levels */
    00012   ZOOM_LVL_BEGIN  = 0,
    00013   ZOOM_LVL_NORMAL = 0,
    00014   ZOOM_LVL_OUT_2X,
    00015   ZOOM_LVL_OUT_4X,
    00016   ZOOM_LVL_OUT_8X,
    00017   ZOOM_LVL_END,
    00018
    00019   /* Here we define in which zoom viewports are */
    00020   ZOOM_LVL_VIEWPORT = ZOOM_LVL_NORMAL,
    00021   ZOOM_LVL_NEWS     = ZOOM_LVL_NORMAL,
    00022   ZOOM_LVL_INDUSTRY = ZOOM_LVL_OUT_2X,
    00023   ZOOM_LVL_TOWN     = ZOOM_LVL_OUT_2X,
    00024   ZOOM_LVL_AIRCRAFT = ZOOM_LVL_NORMAL,
    00025   ZOOM_LVL_SHIP     = ZOOM_LVL_NORMAL,
    00026   ZOOM_LVL_TRAIN    = ZOOM_LVL_NORMAL,
    00027   ZOOM_LVL_ROADVEH  = ZOOM_LVL_NORMAL,
    00028   ZOOM_LVL_WORLD_SCREENSHOT = ZOOM_LVL_NORMAL,
    00029
    00030   ZOOM_LVL_DETAIL   = ZOOM_LVL_OUT_2X,
    00031
    00032   ZOOM_LVL_MIN      = ZOOM_LVL_NORMAL,
    00033   ZOOM_LVL_MAX      = ZOOM_LVL_OUT_8X,
    00034 };
    00035 DECLARE_POSTFIX_INCREMENT(ZoomLevel)
    00036
    00037 #endif /* ZOOM_TYPE_H */