From f15145e5e5dab152a7189a35b9db3853bdce7b43 Mon Sep 17 00:00:00 2001 From: Anthony Wilcox <35226681+tomiscw@users.noreply.github.com> Date: Tue, 1 Jan 2019 10:54:18 -0500 Subject: [PATCH] Replaced custom windows with Godot's native ones MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Got rid of my custom windows for Godot's because I forgot the engine had those, for some reason. ¯\_(ツ)_/¯ Oh well, at least it frees up a lot of unnecessary baggage and stress. Everything else is pretty much the same, aside from that. --- project/GameScreen.tscn | 2 +- project/Interface.tscn | 145 +++++++++++++++++++++-- project/Shell.tscn | 102 +++++++++------- project/lang/local.csv | 3 +- project/lang/local.en.translation | Bin 492 -> 560 bytes project/lang/local.sv.translation | Bin 496 -> 568 bytes project/project.godot | 2 +- project/src/GameScreen.gd | 19 +-- project/src/Interface.gd | 16 +-- project/widgets/WindowControl.tscn | 181 ----------------------------- project/windows/About.tscn | 18 --- project/windows/ComingSoon.tscn | 13 --- project/windows/Credits.tscn | 24 ---- 13 files changed, 216 insertions(+), 309 deletions(-) delete mode 100644 project/widgets/WindowControl.tscn delete mode 100644 project/windows/About.tscn delete mode 100644 project/windows/ComingSoon.tscn delete mode 100644 project/windows/Credits.tscn diff --git a/project/GameScreen.tscn b/project/GameScreen.tscn index 4c13b34..271eb58 100644 --- a/project/GameScreen.tscn +++ b/project/GameScreen.tscn @@ -8,7 +8,7 @@ [ext_resource path="res://Shell.tscn" type="PackedScene" id=6] [ext_resource path="res://Interface.tscn" type="PackedScene" id=7] -[node name="GameScreen" type="Node2D" index="0"] +[node name="GameScreen" type="Node2D"] script = ExtResource( 1 ) diff --git a/project/Interface.tscn b/project/Interface.tscn index 9d3c0bf..15eea5f 100644 --- a/project/Interface.tscn +++ b/project/Interface.tscn @@ -20,7 +20,16 @@ size_flags_horizontal = 1 size_flags_vertical = 1 script = ExtResource( 1 ) -[node name="ReferenceRect" type="ReferenceRect" parent="." index="0"] +[node name="Music" type="AudioStreamPlayer" parent="." index="0"] + +stream = ExtResource( 2 ) +volume_db = 0.0 +pitch_scale = 1.0 +autoplay = true +mix_target = 0 +bus = "Master" + +[node name="ReferenceRect" type="ReferenceRect" parent="." index="1"] anchor_left = 0.0 anchor_top = 0.0 @@ -132,14 +141,134 @@ flat = false align = 1 _sections_unfolded = [ "Margin" ] -[node name="Music" type="AudioStreamPlayer" parent="." index="1"] +[node name="AboutWin" type="WindowDialog" parent="." index="2"] -stream = ExtResource( 2 ) -volume_db = 0.0 -pitch_scale = 1.0 -autoplay = true -mix_target = 0 -bus = "Master" +visible = false +anchor_left = 0.0 +anchor_top = 0.0 +anchor_right = 0.0 +anchor_bottom = 0.0 +margin_left = 260.0 +margin_top = 132.0 +margin_right = 608.0 +margin_bottom = 382.0 +rect_pivot_offset = Vector2( 0, 0 ) +rect_clip_content = false +mouse_filter = 0 +mouse_default_cursor_shape = 0 +size_flags_horizontal = 1 +size_flags_vertical = 1 +popup_exclusive = false +window_title = "KABO" +resizable = false + +[node name="AboutTxt" type="RichTextLabel" parent="AboutWin" index="1"] + +anchor_left = 0.0 +anchor_top = 0.0 +anchor_right = 1.0 +anchor_bottom = 1.0 +margin_left = 12.0 +margin_top = 7.0 +margin_right = -16.0 +margin_bottom = -14.0 +rect_pivot_offset = Vector2( 0, 0 ) +rect_clip_content = true +focus_mode = 2 +mouse_filter = 0 +mouse_default_cursor_shape = 0 +size_flags_horizontal = 1 +size_flags_vertical = 1 +bbcode_enabled = false +bbcode_text = "" +visible_characters = -1 +percent_visible = 1.0 +meta_underlined = true +tab_size = 4 +text = "Zack's Dress Up is a port and remake of ZC's Dress Up. Both created by Anthony Wilcox. + +This is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. + +Zack's Dress Up is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along with Zack's Dress Up. If not, see: https://www.gnu.org/licenses/" +scroll_active = true +scroll_following = false +selection_enabled = true +override_selected_font_color = false + +[node name="CreditsWin" type="WindowDialog" parent="." index="3"] + +visible = false +anchor_left = 0.0 +anchor_top = 0.0 +anchor_right = 0.0 +anchor_bottom = 0.0 +margin_left = 260.0 +margin_top = 132.0 +margin_right = 608.0 +margin_bottom = 382.0 +rect_pivot_offset = Vector2( 0, 0 ) +rect_clip_content = false +mouse_filter = 0 +mouse_default_cursor_shape = 0 +size_flags_horizontal = 1 +size_flags_vertical = 1 +popup_exclusive = false +window_title = "KCRE" +resizable = false + +[node name="CreditsTxt" type="RichTextLabel" parent="CreditsWin" index="1"] + +anchor_left = 0.0 +anchor_top = 0.0 +anchor_right = 0.0 +anchor_bottom = 0.0 +margin_left = 12.0 +margin_top = 7.0 +margin_right = 332.0 +margin_bottom = 236.0 +rect_pivot_offset = Vector2( 0, 0 ) +rect_clip_content = true +focus_mode = 2 +mouse_filter = 0 +mouse_default_cursor_shape = 0 +size_flags_horizontal = 1 +size_flags_vertical = 1 +bbcode_enabled = true +bbcode_text = "[center]Created by +Anthony Wilcox + +Clothing inspired by +Megawolf77 +Canon Rhode + +########################## + +[img]assets/sixam_logo_200px.png[/img] +SixAM is a brand by Anthony Wilcox. +[/center]" +visible_characters = -1 +percent_visible = 1.0 +meta_underlined = true +tab_size = 4 +text = "Created by +Anthony Wilcox + +Clothing inspired by +Megawolf77 +Canon Rhode + +########################## + + +SixAM is a brand by Anthony Wilcox. +" +scroll_active = true +scroll_following = false +selection_enabled = true +override_selected_font_color = false +_sections_unfolded = [ "BBCode" ] [connection signal="toggled" from="ReferenceRect/VertContainer/MusicBtn" to="." method="_on_MusicBtn_toggled"] diff --git a/project/Shell.tscn b/project/Shell.tscn index d2096f8..8d696b6 100644 --- a/project/Shell.tscn +++ b/project/Shell.tscn @@ -1,6 +1,6 @@ [gd_scene format=2] -[node name="Shell" type="Control"] +[node name="Shell" type="Control" index="0"] anchor_left = 0.0 anchor_top = 0.0 @@ -15,7 +15,61 @@ mouse_default_cursor_shape = 0 size_flags_horizontal = 1 size_flags_vertical = 1 -[node name="RefRect" type="ReferenceRect" parent="." index="0"] +[node name="HelpWin" type="WindowDialog" parent="." index="0"] + +visible = false +anchor_left = 0.0 +anchor_top = 0.0 +anchor_right = 0.0 +anchor_bottom = 0.0 +margin_left = 183.0 +margin_top = 124.0 +margin_right = 373.0 +margin_bottom = 198.0 +rect_pivot_offset = Vector2( 0, 0 ) +rect_clip_content = false +mouse_filter = 0 +mouse_default_cursor_shape = 0 +size_flags_horizontal = 1 +size_flags_vertical = 1 +popup_exclusive = false +window_title = "KHELP" +resizable = false + +[node name="HelpTxt" type="RichTextLabel" parent="HelpWin" index="1"] + +anchor_left = 0.0 +anchor_top = 0.0 +anchor_right = 1.0 +anchor_bottom = 1.0 +margin_top = 4.0 +rect_pivot_offset = Vector2( 0, 0 ) +rect_clip_content = true +focus_mode = 2 +mouse_filter = 0 +mouse_default_cursor_shape = 0 +size_flags_horizontal = 1 +size_flags_vertical = 1 +bbcode_enabled = true +bbcode_text = "[center]help - Shows this window +lang en - Use English +lang sv - Use Swedish +close - Closes the shell[/center]" +visible_characters = -1 +percent_visible = 1.0 +meta_underlined = true +tab_size = 4 +text = "help - Shows this window +lang en - Use English +lang sv - Use Swedish +close - Closes the shell" +scroll_active = true +scroll_following = false +selection_enabled = true +override_selected_font_color = false +_sections_unfolded = [ "BBCode" ] + +[node name="RefRect" type="ReferenceRect" parent="." index="1"] anchor_left = 0.0 anchor_top = 0.0 @@ -32,7 +86,7 @@ mouse_default_cursor_shape = 0 size_flags_horizontal = 1 size_flags_vertical = 1 -[node name="HSplit" type="HSplitContainer" parent="RefRect" index="0"] +[node name="CmdLine" type="LineEdit" parent="RefRect" index="0"] anchor_left = 0.0 anchor_top = 0.0 @@ -44,24 +98,6 @@ margin_right = 288.0 margin_bottom = 30.0 rect_pivot_offset = Vector2( 0, 0 ) rect_clip_content = false -mouse_filter = 0 -mouse_default_cursor_shape = 0 -size_flags_horizontal = 1 -size_flags_vertical = 1 -split_offset = 165 -collapsed = false -dragger_visibility = 0 - -[node name="CmdLine" type="LineEdit" parent="RefRect/HSplit" index="0"] - -anchor_left = 0.0 -anchor_top = 0.0 -anchor_right = 0.0 -anchor_bottom = 0.0 -margin_right = 223.0 -margin_bottom = 24.0 -rect_pivot_offset = Vector2( 0, 0 ) -rect_clip_content = false focus_mode = 2 mouse_filter = 0 mouse_default_cursor_shape = 1 @@ -76,28 +112,4 @@ caret_blink_speed = 0.65 caret_position = 0 _sections_unfolded = [ "Caret" ] -[node name="ExitBtn" type="Button" parent="RefRect/HSplit" index="1"] - -anchor_left = 0.0 -anchor_top = 0.0 -anchor_right = 0.0 -anchor_bottom = 0.0 -margin_left = 235.0 -margin_right = 282.0 -margin_bottom = 24.0 -rect_pivot_offset = Vector2( 0, 0 ) -rect_clip_content = false -focus_mode = 2 -mouse_filter = 0 -mouse_default_cursor_shape = 0 -size_flags_horizontal = 1 -size_flags_vertical = 1 -toggle_mode = false -enabled_focus_mode = 2 -shortcut = null -group = null -text = "Close" -flat = false -align = 1 - diff --git a/project/lang/local.csv b/project/lang/local.csv index 4c2d134..f30f2c9 100644 --- a/project/lang/local.csv +++ b/project/lang/local.csv @@ -2,4 +2,5 @@ KMUS,Music,Musik KCRE,Credits,Eftertexter KABO,About,Handla om -KSOO,Coming Soon,Kommer snart \ No newline at end of file +KSOO,Coming Soon,Kommer snart +KHELP,Help,Hjälp \ No newline at end of file diff --git a/project/lang/local.en.translation b/project/lang/local.en.translation index d9dc37ec679c21ff9bf0e61ce339168e812a1db9..543aa3ca942de671a9772c713646a10b04b94f3b 100644 GIT binary patch delta 227 zcmaFEyn$td2V*@i0|Uc<~ zPXY0{ftUw~ZC){C3Ib^kC|=9(saA6GM@C@{d7y}6QhsR(!$0TAZVdl|+2sE*I2Wa+ UWR?^&_?8xDCNnSu1qV3;00g2Xs{jB1 diff --git a/project/lang/local.sv.translation b/project/lang/local.sv.translation index b3893b60d82ba1b94c166ff272ccb5e5abd5b3ca..5047e21ff6c2734b12e8c646fc718de13b40f854 100644 GIT binary patch delta 249 zcmeysyn|(f2V*@i0|Uc7VpAfEwb0SGezF-X$&lX?mtkmd$rkON)pf3E<^a{w_H z5QEtAK&%PGzNN*P*$n?Y*gIu)|1tdYo}A;&#p%!dkHI7B@RFPYhJUU)J6wP5_y<(V J5ELBb3;>d9MRx!I delta 177 zcmdnN@_~7S2V*@e0|Uc zPwFWkF>WB{1!9|544J|}niGh5fOsv#r&<{x4Kf#o<$-J^1_n)re;(|evbz5m{&`Q% f@#f<6X9hA|b#}P^+VPLUx3oAj8>lcSILH|Q_zx#u diff --git a/project/project.godot b/project/project.godot index db371a3..329c680 100644 --- a/project/project.godot +++ b/project/project.godot @@ -24,7 +24,7 @@ window/size/resizable=false [input] -ui_test=[ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":true,"meta":false,"command":true,"pressed":false,"scancode":16777255,"unicode":0,"echo":false,"script":null) +ui_shell=[ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":true,"meta":false,"command":true,"pressed":false,"scancode":16777255,"unicode":0,"echo":false,"script":null) ] [locale] diff --git a/project/src/GameScreen.gd b/project/src/GameScreen.gd index ecdc406..128857f 100644 --- a/project/src/GameScreen.gd +++ b/project/src/GameScreen.gd @@ -1,20 +1,25 @@ extends Node2D onready var shell = $Shell -onready var cmdl = $Shell/RefRect/HSplit/CmdLine -onready var cmdl_exit_btn = $Shell/RefRect/HSplit/ExitBtn +onready var cmdl = $Shell/RefRect/CmdLine +onready var cmdl_help = $Shell/HelpWin + +const CLOSE_CMD = "close" func _process(delta): cmd_interface() - + func cmd_interface(): - if Input.is_action_pressed("ui_test"): + if Input.is_action_pressed("ui_shell"): + if cmdl.text == CLOSE_CMD: + cmdl.text = "" shell.show() - if cmdl_exit_btn.pressed: - shell.hide() - if cmdl.text == "lang sv" and Input.is_key_pressed(KEY_ENTER): TranslationServer.set_locale("sv") elif cmdl.text == "lang en" and Input.is_key_pressed(KEY_ENTER): TranslationServer.set_locale("en") + elif cmdl.text == "help"and Input.is_key_pressed(KEY_ENTER): + cmdl_help.show() + elif cmdl.text == CLOSE_CMD and Input.is_key_pressed(KEY_ENTER): + shell.hide() diff --git a/project/src/Interface.gd b/project/src/Interface.gd index 2579f9a..42c1236 100644 --- a/project/src/Interface.gd +++ b/project/src/Interface.gd @@ -1,19 +1,15 @@ # Anthony Wilcox licenses this file to you under the GPL license. # See the LICENSE file in the project root for more information. extends Control - -onready var coming_soon_win = preload("res://windows/ComingSoon.tscn") -onready var about_win = preload("res://windows/About.tscn") -onready var credits_win = preload("res://windows/Credits.tscn") + +onready var about_win = $AboutWin +onready var credits_win = $CreditsWin func _on_AboutBtn_pressed(): - var win_instance = about_win.instance() - add_child(win_instance) - - + about_win.show() + func _on_CreditsBtn_pressed(): - var win_instance = credits_win.instance() - add_child(win_instance) + credits_win.show() func _on_MusicBtn_toggled(button_pressed): if button_pressed == true: diff --git a/project/widgets/WindowControl.tscn b/project/widgets/WindowControl.tscn deleted file mode 100644 index 365b54b..0000000 --- a/project/widgets/WindowControl.tscn +++ /dev/null @@ -1,181 +0,0 @@ -[gd_scene load_steps=2 format=2] - -[ext_resource path="res://src/WindowControl.gd" type="Script" id=1] - -[node name="WindowControl" type="Control"] - -anchor_left = 0.0 -anchor_top = 0.0 -anchor_right = 0.0 -anchor_bottom = 0.0 -margin_right = 40.0 -margin_bottom = 40.0 -rect_pivot_offset = Vector2( 0, 0 ) -rect_clip_content = false -mouse_filter = 0 -mouse_default_cursor_shape = 0 -size_flags_horizontal = 1 -size_flags_vertical = 1 -script = ExtResource( 1 ) -toolbar_title = "" -content_text = "" -content_height = 216 - -[node name="WindowFrame" type="ReferenceRect" parent="." index="0"] - -anchor_left = 0.0 -anchor_top = 0.0 -anchor_right = 0.0 -anchor_bottom = 0.0 -margin_right = 351.0 -margin_bottom = 249.0 -rect_pivot_offset = Vector2( 0, 0 ) -rect_clip_content = false -mouse_filter = 0 -mouse_default_cursor_shape = 0 -size_flags_horizontal = 1 -size_flags_vertical = 1 -_sections_unfolded = [ "Patch Margin", "Rect" ] - -[node name="ContentFrame" type="ReferenceRect" parent="WindowFrame" index="0"] - -anchor_left = 0.0 -anchor_top = 0.0 -anchor_right = 0.0 -anchor_bottom = 0.0 -margin_top = 32.0 -margin_right = 350.0 -margin_bottom = 248.0 -rect_pivot_offset = Vector2( 0, 0 ) -rect_clip_content = false -mouse_filter = 0 -mouse_default_cursor_shape = 0 -size_flags_horizontal = 1 -size_flags_vertical = 1 -_sections_unfolded = [ "Rect" ] - -[node name="ContentPanel" type="Panel" parent="WindowFrame/ContentFrame" index="0"] - -anchor_left = 0.0 -anchor_top = 0.0 -anchor_right = 1.0 -anchor_bottom = 1.0 -margin_right = 1.0 -rect_pivot_offset = Vector2( 0, 0 ) -rect_clip_content = false -mouse_filter = 0 -mouse_default_cursor_shape = 0 -size_flags_horizontal = 1 -size_flags_vertical = 1 -_sections_unfolded = [ "Rect" ] - -[node name="ContentTxt" type="RichTextLabel" parent="WindowFrame/ContentFrame" index="1"] - -anchor_left = 0.0 -anchor_top = 0.0 -anchor_right = 0.0 -anchor_bottom = 0.0 -margin_left = 6.0 -margin_top = 5.0 -margin_right = 347.0 -margin_bottom = 208.0 -rect_pivot_offset = Vector2( 0, 0 ) -rect_clip_content = true -mouse_filter = 0 -mouse_default_cursor_shape = 0 -size_flags_horizontal = 1 -size_flags_vertical = 1 -bbcode_enabled = true -bbcode_text = "" -visible_characters = -1 -percent_visible = 1.0 -meta_underlined = true -tab_size = 4 -text = "" -scroll_active = true -scroll_following = false -selection_enabled = false -override_selected_font_color = false -_sections_unfolded = [ "BBCode" ] - -[node name="TitleBarFrame" type="ReferenceRect" parent="WindowFrame" index="1"] - -anchor_left = 0.0 -anchor_top = 0.0 -anchor_right = 0.0 -anchor_bottom = 0.0 -margin_right = 351.0 -margin_bottom = 33.0 -rect_pivot_offset = Vector2( 0, 0 ) -rect_clip_content = false -mouse_filter = 0 -mouse_default_cursor_shape = 0 -size_flags_horizontal = 1 -size_flags_vertical = 1 -_sections_unfolded = [ "Rect" ] - -[node name="TitleBar" type="Panel" parent="WindowFrame/TitleBarFrame" index="0"] - -anchor_left = 0.0 -anchor_top = 0.0 -anchor_right = 1.0 -anchor_bottom = 1.0 -rect_pivot_offset = Vector2( 0, 0 ) -rect_clip_content = false -mouse_filter = 0 -mouse_default_cursor_shape = 0 -size_flags_horizontal = 1 -size_flags_vertical = 1 - -[node name="CloseBtn" type="Button" parent="WindowFrame/TitleBarFrame/TitleBar" index="0"] - -anchor_left = 0.0 -anchor_top = 0.0 -anchor_right = 0.0 -anchor_bottom = 0.0 -margin_left = 3.0 -margin_top = 3.0 -margin_right = 26.0 -margin_bottom = 26.0 -rect_pivot_offset = Vector2( 0, 0 ) -rect_clip_content = false -focus_mode = 2 -mouse_filter = 0 -mouse_default_cursor_shape = 0 -size_flags_horizontal = 1 -size_flags_vertical = 1 -toggle_mode = false -enabled_focus_mode = 2 -shortcut = null -group = null -text = "X" -flat = false -align = 1 -_sections_unfolded = [ "Rect" ] - -[node name="TitleLbl" type="Label" parent="WindowFrame/TitleBarFrame/TitleBar" index="1"] - -anchor_left = 0.0 -anchor_top = 0.0 -anchor_right = 1.0 -anchor_bottom = 0.0 -margin_left = 31.0 -margin_bottom = 31.0 -rect_pivot_offset = Vector2( 0, 0 ) -rect_clip_content = false -mouse_filter = 2 -mouse_default_cursor_shape = 0 -size_flags_horizontal = 1 -size_flags_vertical = 4 -text = "Title Bar" -align = 1 -valign = 1 -percent_visible = 1.0 -lines_skipped = 0 -max_lines_visible = -1 - -[connection signal="gui_input" from="WindowFrame/TitleBarFrame/TitleBar" to="." method="_on_TitleBar_gui_input"] - -[connection signal="pressed" from="WindowFrame/TitleBarFrame/TitleBar/CloseBtn" to="." method="_on_CloseBtn_pressed"] - - diff --git a/project/windows/About.tscn b/project/windows/About.tscn deleted file mode 100644 index 378d797..0000000 --- a/project/windows/About.tscn +++ /dev/null @@ -1,18 +0,0 @@ -[gd_scene load_steps=2 format=2] - -[ext_resource path="res://widgets/WindowControl.tscn" type="PackedScene" id=1] - -[node name="About" type="Node"] - -[node name="WindowControl" parent="." index="0" instance=ExtResource( 1 )] - -toolbar_title = "KABO" -content_text = "Zack's Dress Up is a port and remake of ZC's Dress Up. Both created by Anthony Wilcox. - -This is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. - -Zack's Dress Up is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. - -You should have received a copy of the GNU General Public License along with Zack's Dress Up. If not, see: https://www.gnu.org/licenses/" - - diff --git a/project/windows/ComingSoon.tscn b/project/windows/ComingSoon.tscn deleted file mode 100644 index 13d25a1..0000000 --- a/project/windows/ComingSoon.tscn +++ /dev/null @@ -1,13 +0,0 @@ -[gd_scene load_steps=2 format=2] - -[ext_resource path="res://widgets/WindowControl.tscn" type="PackedScene" id=1] - -[node name="ComingSoon" type="Node"] - -[node name="WindowControl" parent="." index="0" instance=ExtResource( 1 )] - -toolbar_title = "KSOO" -content_text = "This feature has not been implemented yet." -content_height = 30 - - diff --git a/project/windows/Credits.tscn b/project/windows/Credits.tscn deleted file mode 100644 index 3ea648f..0000000 --- a/project/windows/Credits.tscn +++ /dev/null @@ -1,24 +0,0 @@ -[gd_scene load_steps=2 format=2] - -[ext_resource path="res://widgets/WindowControl.tscn" type="PackedScene" id=1] - -[node name="Credits" type="Node"] - -[node name="WindowControl" parent="." index="0" instance=ExtResource( 1 )] - -toolbar_title = "KCRE" -content_text = "[center]Created by -Anthony Wilcox - -Clothing inspired by -Megawolf77 -Canon Rhode - -########################## - -[img]assets/sixam_logo_200px.png[/img] -SixAM is a brand by Anthony Wilcox. -[/center]" -content_height = 217 - -