Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

guidimension.cpp

Go to the documentation of this file.
00001 //
00002 // C++ Implementation: guidimension
00003 //
00004 // Description: 
00005 //
00006 //
00007 // Author: Martin Bickel <bickel@asc-hq.org>, (C) 2004
00008 //
00009 // Copyright: See COPYING file that comes with this distribution
00010 //
00011 //
00012 #include "guidimension.h"
00013 #include "paradialog.h"
00014 GuiDimension::GuiDimension()
00015 {
00016 }
00017 
00018 
00019 
00020 GuiDimension::~GuiDimension()
00021 {
00022 }
00023 
00024 int GuiDimension::getLeftIndent() {
00025   return getPGApplication().GetScreenWidth()/50;
00026 }
00027 
00028 int GuiDimension::getTopOffSet(){
00029   return 20;
00030 }
00031 
00032 int GuiDimension::getLeftOffSet(){
00033   return getPGApplication().GetScreenWidth()/50;
00034 }
00035 
00036 int GuiDimension::getLineEditWidth(){
00037   return getPGApplication().GetScreenWidth()/20;
00038 }
00039 
00040 int GuiDimension::getLineOffset(){
00041    return getPGApplication().GetScreenWidth()/40;
00042 }
00043 
00044 int GuiDimension::getButtonHeight(){
00045    return 40;
00046 }
00047 
00048 int GuiDimension::getButtonWidth(){
00049    return 170;
00050 }
00051 
00052 int GuiDimension::getSliderWidth(){
00053    return 20;
00054 }
00055 
00056 
00057 
00058 

Generated on Tue Jun 24 01:27:43 2008 for Advanced Strategic Command by  doxygen 1.4.2