Advanced Strategic Command
Enumerations | Functions | Variables
windowing.cpp File Reference
#include <SDL_image.h>
#include <signal.h>
#include <paragui.h>
#include <pgapplication.h>
#include <pgmessagebox.h>
#include <pgdropdown.h>
#include "pgbutton.h"
#include "pgwidgetlist.h"
#include "pglabel.h"
#include "pgwindow.h"
#include "pgmaskedit.h"
#include "pgscrollbar.h"
#include "pgprogressbar.h"
#include "pgradiobutton.h"
#include "pgthemewidget.h"
#include "pgcheckbutton.h"
#include "pgslider.h"
#include "pglistbox.h"
#include "pgcolumnitem.h"
#include "pgpopupmenu.h"
#include "pgspinnerbox.h"
#include "pglog.h"
#include "pgmenubar.h"
#include "pgimage.h"
#include "pgrichedit.h"
#include "pgsdleventsupplier.h"
#include "pgmultilineedit.h"
#include "pgtooltiphelp.h"
#include "global.h"
#include "windowing.h"
#include "gameoptions.h"
#include "spfst.h"
#include "resourceplacement.h"
#include "iconrepository.h"
#include "graphics/drawing.h"
#include "widgets/textrenderer.h"
#include "util/messaginghub.h"
Include dependency graph for windowing.cpp:

Go to the source code of this file.

Enumerations

enum  WidgetTypes {
  Image, Area, StaticLabel, TextOutput,
  BarGraph, SpecialDisplay, SpecialInput, Dummy,
  MultiLineText, ScrollArea, Button, RadioButton,
  CheckBox, LineEdit, Slider, Plain,
  ListBox
}
 

Functions

bool hasTransparency (const Surface &surf)
 

Variables

const int widgetTypeNum = 17
 
const char * widgetTypes [widgetTypeNum]
 
const int imageModeNum = 5
 
const char * imageModes [imageModeNum]
 
const int textAlignNum = 3
 
const char * textAlignment [textAlignNum]
 
const int barDirectionNum = 4
 
const char * barDirections [barDirectionNum]
 
const int sliderDirectionNum = 2
 
const char * sliderDirections [sliderDirectionNum]
 

Enumeration Type Documentation

Enumerator
Image 
Area 
StaticLabel 
TextOutput 
BarGraph 
SpecialDisplay 
SpecialInput 
Dummy 
MultiLineText 
ScrollArea 
Button 
RadioButton 
CheckBox 
LineEdit 
Slider 
Plain 
ListBox 

Definition at line 92 of file windowing.cpp.

Function Documentation

bool hasTransparency ( const Surface surf)

Variable Documentation

const int barDirectionNum = 4

Definition at line 128 of file windowing.cpp.

Referenced by ASCGUI_Window::parsePanelASCTXT().

const char* barDirections[barDirectionNum]
Initial value:
=
{ "left2right",
"right2left",
"top2buttom",
"buttom2top"
}

Definition at line 130 of file windowing.cpp.

Referenced by ASCGUI_Window::parsePanelASCTXT().

const int imageModeNum = 5
const char* imageModes[imageModeNum]
Initial value:
= { "tile",
"stretch",
"tile3h",
"tile3v",
"tile9" }

Definition at line 112 of file windowing.cpp.

Referenced by ASCGUI_Window::parsePanelASCTXT(), and ASCGUI_Window::WidgetParameters::runTextIO().

const int sliderDirectionNum = 2

Definition at line 137 of file windowing.cpp.

Referenced by ASCGUI_Window::parsePanelASCTXT().

const char* sliderDirections[sliderDirectionNum]
Initial value:
=
{ "vertical",
"horizontal"
}

Definition at line 139 of file windowing.cpp.

Referenced by ASCGUI_Window::parsePanelASCTXT().

const char* textAlignment[textAlignNum]
Initial value:
=
{ "left",
"center",
"right"
}

Definition at line 121 of file windowing.cpp.

Referenced by ASCGUI_Window::WidgetParameters::runTextIO().

const int textAlignNum = 3

Definition at line 119 of file windowing.cpp.

Referenced by ASCGUI_Window::WidgetParameters::runTextIO().

const int widgetTypeNum = 17

Definition at line 70 of file windowing.cpp.

Referenced by ASCGUI_Window::parsePanelASCTXT().

const char* widgetTypes[widgetTypeNum]
Initial value:
=
{ "image",
"area",
"statictext",
"textoutput",
"bargraph",
"specialDisplay",
"specialInput",
"dummy",
"multilinetext",
"scrollarea",
"button",
"radiobutton",
"checkbox",
"lineedit",
"slider",
"plain",
"listbox"
}

Definition at line 72 of file windowing.cpp.

Referenced by ASCGUI_Window::parsePanelASCTXT().