updated the AllowSpectate variable to be AllowSpectators
added KickSpectatorsLogic for a confimation of kicking spectators & changed the toggle buttons to be a checkbox
This commit is contained in:
@@ -199,6 +199,44 @@ Background@KICK_CLIENT_DIALOG:
|
||||
Height:25
|
||||
Text:Cancel
|
||||
Font:Bold
|
||||
|
||||
Background@KICK_SPECTATORS_DIALOG:
|
||||
X:15
|
||||
Y:30
|
||||
Width:501
|
||||
Height:219
|
||||
Logic:KickSpectatorsLogic
|
||||
Background:scrollpanel-bg
|
||||
Children:
|
||||
Label@TITLE:
|
||||
X:0
|
||||
Y:40
|
||||
Width:PARENT_RIGHT
|
||||
Height:25
|
||||
Font:Bold
|
||||
Align:Center
|
||||
Text:Kick Spectators
|
||||
Label@TEXT:
|
||||
X:0
|
||||
Y:85
|
||||
Width:PARENT_RIGHT
|
||||
Height:25
|
||||
Font:Regular
|
||||
Align:Center
|
||||
Button@OK_BUTTON:
|
||||
X:(PARENT_RIGHT - WIDTH)/2 + 75
|
||||
Y:155
|
||||
Width:120
|
||||
Height:25
|
||||
Text:Ok
|
||||
Font:Bold
|
||||
Button@CANCEL_BUTTON:
|
||||
X:(PARENT_RIGHT - WIDTH)/2 - 75
|
||||
Y:155
|
||||
Width:120
|
||||
Height:25
|
||||
Text:Cancel
|
||||
Font:Bold
|
||||
|
||||
Background@LOBBY_OPTIONS_BIN:
|
||||
X:15
|
||||
|
||||
@@ -307,20 +307,13 @@ ScrollPanel@LOBBY_PLAYER_BIN:
|
||||
Height:25
|
||||
Visible:false
|
||||
Children:
|
||||
Button@ALLOW_SPECTATE:
|
||||
Text:Allow Spectators
|
||||
Checkbox@TOGGLE_SPECTATORS:
|
||||
Font:Regular
|
||||
Width:190
|
||||
Height:25
|
||||
Y:0
|
||||
Height:20
|
||||
X:15
|
||||
Button@BLOCK_SPECTATE:
|
||||
Text:Block Spectators
|
||||
Font:Regular
|
||||
Width:190
|
||||
Height:25
|
||||
Y:0
|
||||
X:15
|
||||
Text:Allow Spectators?
|
||||
Button@SPECTATE:
|
||||
Text:Spectate
|
||||
Font:Regular
|
||||
|
||||
@@ -298,20 +298,13 @@ ScrollPanel@LOBBY_PLAYER_BIN:
|
||||
Height:25
|
||||
Visible:false
|
||||
Children:
|
||||
Button@ALLOW_SPECTATE:
|
||||
Text:Allow Spectators
|
||||
Checkbox@TOGGLE_SPECTATORS:
|
||||
Font:Regular
|
||||
Width:165
|
||||
Height:25
|
||||
X:15
|
||||
Y:0
|
||||
Button@BLOCK_SPECTATE:
|
||||
Text:Block Spectators
|
||||
Font:Regular
|
||||
Width:165
|
||||
Height:25
|
||||
Height:20
|
||||
X:15
|
||||
Y:0
|
||||
Text:Allow Spectators?
|
||||
Button@SPECTATE:
|
||||
Text:Spectate
|
||||
Font:Regular
|
||||
|
||||
@@ -50,6 +50,44 @@ Background@KICK_CLIENT_DIALOG:
|
||||
Text:Cancel
|
||||
Font:Bold
|
||||
|
||||
Background@KICK_SPECTATORS_DIALOG:
|
||||
X:20
|
||||
Y:67
|
||||
Width:535
|
||||
Height:235
|
||||
Logic:KickSpectatorsLogic
|
||||
Background:dialog3
|
||||
Children:
|
||||
Label@TITLE:
|
||||
X:0
|
||||
Y:40
|
||||
Width:PARENT_RIGHT
|
||||
Height:25
|
||||
Font:Bold
|
||||
Align:Center
|
||||
Text:Kick Spectators
|
||||
Label@TEXT:
|
||||
X:0
|
||||
Y:85
|
||||
Width:PARENT_RIGHT
|
||||
Height:25
|
||||
Font:Regular
|
||||
Align:Center
|
||||
Button@OK_BUTTON:
|
||||
X:(PARENT_RIGHT - WIDTH)/2 + 75
|
||||
Y:155
|
||||
Width:120
|
||||
Height:25
|
||||
Text:Ok
|
||||
Font:Bold
|
||||
Button@CANCEL_BUTTON:
|
||||
X:(PARENT_RIGHT - WIDTH)/2 - 75
|
||||
Y:155
|
||||
Width:120
|
||||
Height:25
|
||||
Text:Cancel
|
||||
Font:Bold
|
||||
|
||||
Background@LOBBY_OPTIONS_BIN:
|
||||
X:20
|
||||
Y:67
|
||||
|
||||
@@ -298,20 +298,13 @@ ScrollPanel@LOBBY_PLAYER_BIN:
|
||||
Height:25
|
||||
Visible:false
|
||||
Children:
|
||||
Button@ALLOW_SPECTATE:
|
||||
Text:Allow Spectators
|
||||
Checkbox@TOGGLE_SPECTATORS:
|
||||
Font:Regular
|
||||
Width:165
|
||||
Height:25
|
||||
X:15
|
||||
Y:0
|
||||
Button@BLOCK_SPECTATE:
|
||||
Text:Block Spectators
|
||||
Font:Regular
|
||||
Width:165
|
||||
Height:25
|
||||
Height:20
|
||||
X:15
|
||||
Y:0
|
||||
Text:Allow Spectators?
|
||||
Button@SPECTATE:
|
||||
Text:Spectate
|
||||
Font:Regular
|
||||
|
||||
Reference in New Issue
Block a user