openspades/Sources/Gui/MainWindow.fl
2013-09-12 14:39:42 +09:00

249 lines
6.8 KiB
Plaintext

# data file for the Fltk User Interface Designer (fluid)
version 1.0302
header_name {.h}
code_name {.cpp}
decl {namespace spades { class Serverbrowser; }} {public global
}
widget_class MainWindow {
label {OpenSpades Startup} open
xywh {534 291 615 356} type Double labelsize 12 align 80
code0 {\#include <string>}
code1 {\#include <vector>}
class Fl_Window visible
} {
Fl_Input quickHostInput {
label {Quick Connect:}
callback {SavePrefs();}
private xywh {135 80 365 25}
}
Fl_Tabs mainTab {open
private xywh {5 110 605 240} labelsize 11
} {
Fl_Group groupAbout {
label About open
xywh {10 130 595 215} hide
} {
Fl_Help_View aboutView {
xywh {10 135 595 210}
}
}
Fl_Group {} {
label Setup open
private xywh {10 130 595 220}
} {
Fl_Group {} {
label Video open
private xywh {10 150 385 70} box ENGRAVED_FRAME align 5
} {
Fl_Choice msaaSelect {
label {AA:}
callback {MSAAEnabled();
SavePrefs();} open
private xywh {270 160 115 25} down_box BORDER_BOX when 1
} {}
Fl_Check_Button fullscreenCheck {
label {Full Screen}
callback {SavePrefs();}
private xywh {20 190 100 25} down_box DOWN_BOX
}
Fl_Input_Choice modeSelect {
label Mode
callback {SavePrefs();} open
private xywh {65 160 160 25} when 1
} {}
}
Fl_Group {} {
label Audio open
private xywh {400 240 205 45} box ENGRAVED_FRAME align 5
} {
Fl_Spinner polyInput {
label {Sources:}
callback {SavePrefs();}
private xywh {545 250 50 25} when 1
}
Fl_Light_Button eaxCheck {
label EAX
callback {SavePrefs();}
private xywh {410 250 50 25} when 1
}
}
Fl_Group {} {
label Graphics open selected
private xywh {10 240 385 105} box ENGRAVED_FRAME align 5
} {
Fl_Light_Button softParticleCheck {
label {Soft Particles}
callback {SavePrefs();}
private xywh {20 250 160 25} when 1
}
Fl_Light_Button radiosityCheck {
label {Global Illumination}
callback {SavePrefs();}
xywh {20 280 160 25} when 1
}
Fl_Choice directLightSelect {
label Lighting
callback {if(directLightSelect->value() == 2)
DisableMSAA();
SavePrefs();} open
xywh {255 280 130 25} down_box BORDER_BOX when 1
} {}
Fl_Choice shaderSelect {
label {Shader Effects}
callback {if(shaderSelect->value() == 1)
DisableMSAA();
SavePrefs();} open
xywh {230 310 155 25} down_box BORDER_BOX when 1
} {}
Fl_Light_Button bloodCheck {
label Blood
callback {SavePrefs();}
xywh {20 310 100 25} when 1
}
Fl_Choice postFilterSelect {
label {Post FX}
callback {SavePrefs();} open
xywh {255 250 130 25} down_box BORDER_BOX
} {}
}
Fl_Group {} {
label {Game Options} open
private xywh {400 150 205 70} box ENGRAVED_FRAME align 5
} {
Fl_Input playerNameInput {
label {Player Name:}
callback {SavePrefs();}
private xywh {410 175 185 25} align 5 when 1
}
}
Fl_Button {} {
label {Advanced Settings...}
callback {OpenDetailConfig();}
xywh {415 305 170 25}
}
}
Fl_Group groupReport {
label {System Report} open
xywh {10 130 595 220} hide
} {
Fl_Group {} {
label Graphics open
xywh {10 150 595 195} box ENGRAVED_FRAME align 5
} {
Fl_Output outputGLRenderer {
label {OpenGL Renderer}
xywh {145 160 455 20} labelsize 12 textsize 12
}
Fl_Output outputGLVersion {
label {OpenGL Version}
xywh {145 185 455 20} labelsize 12 textsize 12
}
Fl_Output outputGLSLVersion {
label {GLSL Version}
xywh {145 210 455 20} labelsize 12 textsize 12
}
Fl_Help_View glInfoView {
label {OpenGL Extensions}
xywh {145 235 455 105} labelsize 12 align 7
}
}
}
Fl_Tabs {} {
label Serverlist open
xywh {10 130 595 220} hide
} {
Fl_Browser serverListbox {
label Serverlist
callback {ServerSelectionChanged();}
protected xywh {10 150 595 200} type Hold
}
Fl_Group {} {
label Filters open
xywh {10 150 595 200} hide
} {
Fl_Group {} {
label Players open
xywh {20 175 80 35}
} {
Fl_Check_Button checkFilterEmpty {
label Empty
callback {updateFilters();}
xywh {20 175 80 15} down_box DOWN_BOX value 1 when 1
}
Fl_Check_Button checkFilterFull {
label Full
callback {updateFilters();}
xywh {20 195 80 15} down_box DOWN_BOX value 1 when 1
}
}
Fl_Group {} {
label Version open
xywh {95 175 104 60}
} {
Fl_Check_Button checkFilterV75 {
label {0.75}
callback {updateFilters();}
xywh {100 175 80 15} down_box DOWN_BOX value 1 when 1
}
Fl_Check_Button checkFilterV76 {
label {0.76}
callback {updateFilters();}
xywh {100 190 80 25} down_box DOWN_BOX value 1 when 1
}
Fl_Check_Button checkFilterVOther {
label Other
callback {updateFilters();}
xywh {100 205 64 30} down_box DOWN_BOX value 1 when 1
}
}
}
}
}
Fl_Box bannerBox {
private xywh {5 5 605 70} box THIN_DOWN_FRAME
}
Fl_Return_Button connectButton {
label Connect
callback {QuickConnectPressed();}
private xywh {505 80 100 25}
}
Function {QuickConnectPressed()} {open private
} {}
Function {StartGame(const std::string& host)} {open private
} {}
Function {LoadPrefs()} {open
} {}
Function {SavePrefs()} {open private
} {}
decl {bool inited;} {private local
}
code {inited = false;} {}
code {browser = 0;} {}
Function {OpenDetailConfig()} {open private
} {}
Function {Init()} {open
} {}
Function {DisableMSAA()} {open private return_type void
} {}
Function {MSAAEnabled()} {open private return_type void
} {}
Function {CheckGLCapability()} {open return_type void
} {}
Function {ServerSelectionChanged()} {open private
} {}
decl {spades::Serverbrowser* browser;} {protected local
}
Function {updateFilters();} {open return_type void
} {}
Function {~MainWindow()} {open
} {}
decl {bool shaderHighCapable;} {private local
}
decl {bool postFilterHighCapable;} {private local
}
}
data aboutText {public local filename {AboutText.html}
}