Reimplement connecting / connection failed dialogs.

This commit is contained in:
Paul Chote
2011-05-08 16:12:24 +12:00
parent a607a60b8f
commit 5c59f7703d
10 changed files with 270 additions and 147 deletions

View File

@@ -0,0 +1,77 @@
Container@CONNECTING_PANEL:
Id:CONNECTING_PANEL
Delegate:CncConnectingLogic
X:(WINDOW_RIGHT - WIDTH)/2
Y:(WINDOW_BOTTOM - 90)/2
Width:370
Height:125
Children:
Label@TITLE:
Width:PARENT_RIGHT
Y:0-25
Font:BigBold
Contrast:true
Align:Center
Text:Connecting
Background@bg:
Width:370
Height:90
Background:panel-black
Children:
Label@CONNECTING_DESC:
Id:CONNECTING_DESC
Y:(PARENT_BOTTOM-HEIGHT)/2
Width:PARENT_RIGHT
Height:25
Text:Connecting...
Font:Bold
Align:Center
CncMenuButton@ABORT_BUTTON:
Id:ABORT_BUTTON
X:230
Y:89
Width:140
Height:35
Text:Abort
Container@CONNECTIONFAILED_PANEL:
Id:CONNECTIONFAILED_PANEL
Delegate:CncConnectionFailedLogic
X:(WINDOW_RIGHT - WIDTH)/2
Y:(WINDOW_BOTTOM - 90)/2
Width:370
Height:125
Children:
Label@TITLE:
Width:PARENT_RIGHT
Y:0-25
Font:BigBold
Contrast:true
Align:Center
Text:Connection Failed
Background@bg:
Width:370
Height:90
Background:panel-black
Children:
Label@CONNECTING_DESC:
Id:CONNECTING_DESC
Y:(PARENT_BOTTOM-HEIGHT)/2
Width:PARENT_RIGHT
Height:25
Text:Failed to connect
Font:Bold
Align:Center
CncMenuButton@RETRY_BUTTON:
Id:RETRY_BUTTON
Y:89
Width:140
Height:35
Text:Retry
CncMenuButton@ABORT_BUTTON:
Id:ABORT_BUTTON
X:230
Y:89
Width:140
Height:35
Text:Abort