### ### Test window to show messages to the user, test version to test with Jetryl's ### new message dialog and Kitty's portraits. ### [window_definition] id = "message_test_left" description = "bar" [resolution] [background] [draw] [/draw] [/background] [foreground] [draw] [image] x = "(255 - image_width)" y = "(250 - image_height)" # NOTE this image can be removed once we move to the final code. name = "shyde200.png" [/image] [/draw] [/foreground] [/resolution] [/window_definition] [window_definition] id = "message_test_right" description = "bar" [resolution] [background] [draw] [/draw] [/background] [foreground] [draw] [image] x = "(width - 255)" y = "(250 - image_height)" # NOTE this image can be removed once we move to the final code. name = "arch_fem200.png" [/image] [/draw] [/foreground] [/resolution] [/window_definition] #define BASE_NAME "translucent65" #enddef [panel_definition] id = "message_test" description = "bar" [resolution] left_border = 0 right_border = 0 top_border = 10 bottom_border = 13 [background] [draw] [image] x = 0 y = 0 w = "(width)" stretch = "true" name = "dialogs/" + {BASE_NAME} + "-border-top.png" [/image] [image] x = 0 y = "(height - 9)" w = "(width)" stretch = "true" name = "dialogs/" + {BASE_NAME} + "-border-bottom.png" [/image] [image] x = 0 y = 5 w = "(width)" h = "(height - 14)" name = "dialogs/" + {BASE_NAME} + "-background.png" [/image] [/draw] [/background] [foreground] [draw] [/draw] [/foreground] [/resolution] [/panel_definition] #unddef BASE_NAME [window] id = "message_test_left" description = "Test dialog to test Jetryl's new message style and Kitty's portraits." [resolution] definition = "message_test_left" automatic_placement = "true" vertical_placement = "bottom" horizontal_placement = "left" [grid] [row] [column] # This spacer makes sure the dialog has a minimum height. [spacer] width = 0 height = 250 [/spacer] [/column] [column] vertical_alignment = "bottom" [panel] definition = "message_test" [grid] [row] [column] # This spacer makes sure the panel has a minimum width. [spacer] width = 658 height = 0 [/spacer] [/column] [/row] [row] [column] [grid] [row] [column] border = "all" border_size = 5 horizontal_alignment = "left" [spacer] # reserve place for the image and set a minimum height for the text id = "image_place_holder" width = 250 height = 75 [/spacer] [/column] [column] grow_factor = 1 border = "all" border_size = 5 horizontal_alignment = "left" [label] id = "message" definition = "default" [/label] [/column] [/row] [/grid] [/column] [/row] [/grid] [/panel] [/column] [/row] [/grid] [/resolution] [/window] [window] id = "message_test_right" description = "Test dialog to test Jetryl's new message style and Kitty's portraits." [resolution] definition = "message_test_right" automatic_placement = "true" vertical_placement = "bottom" horizontal_placement = "left" [grid] [row] [column] # This spacer makes sure the dialog has a minimum height. [spacer] width = 0 height = 250 [/spacer] [/column] [column] vertical_alignment = "bottom" [panel] definition = "message_test" [grid] [row] [column] # This spacer makes sure the panel has a minimum width. [spacer] width = 658 height = 0 [/spacer] [/column] [/row] [row] [column] [grid] [row] [column] grow_factor = 1 border = "all" border_size = 5 horizontal_alignment = "left" [label] id = "message" definition = "default" [/label] [/column] [column] border = "all" border_size = 5 horizontal_alignment = "left" [spacer] # reserve place for the image and set a minimum height for the text id = "image_place_holder" width = 250 height = 75 [/spacer] [/column] [/row] [/grid] [/column] [/row] [/grid] [/panel] [/column] [/row] [/grid] [/resolution] [/window]