Advanced Strategic Command
Classes | Functions | Variables
guiiconhandler.cpp File Reference

All system for controlling the buttons of the user interface with which the unit actions are controlled. More...

#include <stdio.h>
#include <cstring>
#include <stdlib.h>
#include <SDL_image.h>
#include "guiiconhandler.h"
#include "spfst.h"
#include "iconrepository.h"
#include "mapdisplay.h"
#include "sigc++/retype_return.h"
#include "asc-mainscreen.h"
#include "gameoptions.h"
#include "spfst-legacy.h"
Include dependency graph for guiiconhandler.cpp:

Go to the source code of this file.

Classes

class  SmallButtonHolder
 

Functions

void resetActiveGuiAction (GameMap *map)
 

Variables

const int guiIconSizeX = 49
 
const int guiIconSizeY = 35
 
const int guiIconSpace = 5
 
const int guiIconColumnNum = 3
 
const int smallGuiIconSizeX = 49
 
const int smallGuiIconSizeY = 35
 
const int smallGuiIconSpace = 2
 
const float smallGuiIconSizeFactor = 1
 

Detailed Description

All system for controlling the buttons of the user interface with which the unit actions are controlled.

Definition in file guiiconhandler.cpp.

Function Documentation

void resetActiveGuiAction ( GameMap map)

Definition at line 739 of file guiiconhandler.cpp.

References GameMap::cleartemps(), NewGuiHost::pendingCommand, and repaintMap.

Referenced by redo(), and undo().

Variable Documentation

const int guiIconColumnNum = 3

Definition at line 42 of file guiiconhandler.cpp.

Referenced by NewGuiHost::eventKeyDown(), and NewGuiHost::getButton().

const int guiIconSizeX = 49

Definition at line 39 of file guiiconhandler.cpp.

Referenced by NewGuiHost::getButton().

const int guiIconSizeY = 35

Definition at line 40 of file guiiconhandler.cpp.

Referenced by NewGuiHost::getButton().

const int guiIconSpace = 5

Definition at line 41 of file guiiconhandler.cpp.

Referenced by NewGuiHost::getButton().

const float smallGuiIconSizeFactor = 1

Definition at line 48 of file guiiconhandler.cpp.

Referenced by SmallGuiButton::updateIcon().

const int smallGuiIconSizeX = 49
const int smallGuiIconSizeY = 35
const int smallGuiIconSpace = 2

Definition at line 47 of file guiiconhandler.cpp.

Referenced by NewGuiHost::gapSize(), and NewGuiHost::getSmallButton().