FORM // +--------------------------------------------------------------------+ // Project: Starshatter 5.0 // File: MsnEditDlg.frm // // Destroyer Studios LLC // Copyright © 1997-2007. All Rights Reserved. // +--------------------------------------------------------------------+ form: { back_color: ( 0, 0, 0), fore_color: (255, 255, 255), texture: "Frame1.pcx", margins: (1,1,64,8), layout: { x_mins: (10, 100, 20, 100, 100, 10), x_weights: ( 0, 2, 4, 2, 2, 0), y_mins: (28, 30, 10, 90, 24, 60, 45), y_weights: ( 0, 0, 0, 0, 0, 1, 0) }, // background images: ctrl: { id: 20 type: background texture: Frame4a cells: (1,3,4,1), cell_insets: (0,0,0,0), margins: (2,2,16,16) hide_partial: false } ctrl: { id: 21 type: background texture: Frame2a cells: (1,4,2,3) cell_insets: (0,0,0,10) margins: (2,32,40,32) hide_partial: false } ctrl: { id: 22 type: background texture: Frame2b cells: (3,4,2,3) cell_insets: (0,0,0,10) margins: (0,40,40,32) hide_partial: false } // title: ctrl: { id: 10, type: label, text: "form.msn-edit.title", align: left, font: Limerick18, fore_color: (255,255,255), transparent: true, cells: (1,1,3,1) cell_insets: (0,0,0,0) hide_partial: false }, // tabs: ctrl: { id: 90 type: panel transparent: true cells: (1,4,4,1) cell_insets: (0,0,0,0) hide_partial: false layout: { x_mins: (80, 80, 80, 80, 5) x_weights: ( 1, 1, 1, 1, 15) y_mins: (24), y_weights: ( 0) } } defctrl: { align: left, font: Limerick12, fore_color: (255, 255, 255), standard_image: BlueTab_0, activated_image: BlueTab_1, sticky: true, bevel_width: 6, margins: (8,8,0,0) cell_insets: (0,4,0,0) pid: 90 }, ctrl: { id: 301 type: button text: "form.msn-edit.tab.situation" cells: (0,0,1,1) } ctrl: { id: 302 type: button text: "form.msn-edit.tab.package" cells: (1,0,1,1) } ctrl: { id: 303 type: button text: "form.msn-edit.tab.navigation" cells: (2,0,1,1) } // info panel: ctrl: { id: 70 pid: 0 type: panel transparent: false texture: Panel margins: (12,12,12,0), cells: (1,3,4,1), cell_insets: (10,10,12,10) layout: { x_mins: ( 20, 60, 100, 60, 100, 20) x_weights: ( 0, 0, 1, 0, 1, 0) y_mins: ( 10, 20, 20, 10) y_weights: ( 1, 1, 1, 1) } } defctrl: { align: left bevel_width: 0 font: Verdana fore_color: (255, 255, 255) standard_image: "" activated_image: "" transparent: true margins: (0,0,0,0) cell_insets: (0,0,0,0) text_insets: (1,1,1,1) pid: 70 }, ctrl: { id: 101 type: label cells: (1,1,1,1) text: "form.msn-edit.name" }, ctrl: { id: 102 type: label cells: (1,2,1,1) text: "form.msn-edit.type" }, ctrl: { id: 103 type: label cells: (3,1,1,1) text: "form.msn-edit.system" }, ctrl: { id: 104 type: label cells: (3,2,1,1) text: "form.msn-edit.sector" }, defctrl: { style: 2 scroll_bar: 0 back_color: ( 41, 41, 41) active_color: ( 62, 106, 151) border_color: (192, 192, 192) fore_color: (255, 255, 255) border: true simple: true bevel_width: 3 transparent: false cell_insets: (0,20,0,5) fixed_height: 18 }, ctrl: { id: 201, type: edit, cells: (2,1,1,1) single_line: true, }, ctrl: { id: 202, type: combo, cells: (2,2,1,1) item: "Patrol", item: "Sweep", item: "Intercept", item: "Airborne Patrol", item: "Airborne Sweep", item: "Airborne Intercept", item: "Strike", item: "Assault", item: "Defend", item: "Escort", item: "Freight Escort", item: "Shuttle Escort", item: "Strike Escort", item: "Intel", item: "Scout", item: "Recon", item: "Blockade", item: "Fleet", item: "Attack", item: "Flight Ops", item: "Transport", item: "Cargo", item: "Training", item: "Misc", } ctrl: { id: 203, type: combo, cells: (4,1,1,1) } ctrl: { id: 204, type: combo, cells: (4,2,1,1) } defctrl: { fixed_height: 0 fixed_width: 0 } // main panel: ctrl: { id: 400 pid: 0 type: panel transparent: false style: 0 texture: Panel margins: (12,12,12,0), cells: (1,5,4,2) cell_insets: (10,10,12,54) layout: { x_mins: ( 10, 100, 20, 100, 10) x_weights: ( 0, 1, 0, 1, 0) y_mins: ( 15, 20, 50, 20, 50, 15) y_weights: ( 0, 0, 1, 0, 2, 0) } } defctrl: { fore_color: (255,255,255) font: Limerick12 border: true border_color: (0,0,0) transparent: false sticky: true pid: 400 standard_image: Button17_0 activated_image: Button17_1 transition_image: Button17_2 bevel_width: 6 margins: (3,18,0,0) cell_insets: (0,5,0,6) transparent: true style: 0x0040 } ctrl: { id: 401 type: label cells: (1,1,3,1) text: "form.msn-edit.description" }, ctrl: { id: 402 type: label cells: (1,3,1,1) text: "form.msn-edit.situation" }, ctrl: { id: 403 type: label cells: (3,3,1,1) text: "form.msn-edit.objective" }, defctrl: { font: Verdana style: 0x02 scroll_bar: 0 bevel_width: 0 back_color: ( 41, 41, 41) border_color: (192, 192, 192) transparent: false fixed_height: 0 cell_insets: (0,0,0,5) }, ctrl: { id: 410 type: edit cells: (1,2,3,1) text: "" // Description goes here. }, ctrl: { id: 411 type: edit cells: (1,4,1,1) text: "" // Situation goes here. }, ctrl: { id: 412 type: edit cells: (3,4,1,1) text: "" // Objective goes here. }, // main panel: ctrl: { id: 500 pid: 0 type: panel transparent: false style: 0 texture: Panel margins: (12,12,12,0), cells: (1,5,4,2) cell_insets: (10,10,12,54) layout: { x_mins: ( 10, 110, 110, 110, 10, 25, 25, 10) x_weights: ( 0, 0, 0, 0, 1, 0, 0, 0) y_mins: ( 15, 20, 50, 20, 20, 50, 20, 15) y_weights: ( 0, 0, 1, 0, 0, 1, 0, 0) } } defctrl: { fore_color: (255,255,255) font: Limerick12 border: true border_color: (0,0,0) transparent: false sticky: true pid: 500 bevel_width: 6 margins: (3,18,0,0) cell_insets: (0,5,0,6) } ctrl: { id: 510, type: list, cells: (1,2,6,1) back_color: ( 41, 41, 41), font: Verdana style: 0x02 item_style: 0x00 selected_style: 0x02 scroll_bar: 2 leading: 2 show_headings: true column: { title: PKG, width: 50, align: center, sort: 0 }, column: { title: IFF, width: 50, align: center, sort: 0 }, column: { title: CALLSIGN, width: 125, align: left, sort: 0 }, column: { title: TYPE, width: 125, align: left, sort: 0 }, column: { title: ROLE, width: 107, align: left, sort: 0 }, column: { title: SECTOR, width: 125, align: left, sort: 0 }, }, ctrl: { id: 520, type: list, cells: (1,5,6,1) back_color: ( 41, 41, 41), font: Verdana style: 0x02 item_style: 0x00 selected_style: 0x02 scroll_bar: 2 leading: 2 show_headings: true column: { title: ID, width: 50, align: center, sort: 0 }, column: { title: TIME, width: 100, align: left, sort: 0 }, column: { title: EVENT, width: 100, align: left, sort: 0 }, column: { title: SHIP, width: 100, align: left, sort: 0 }, column: { title: MESSAGE, width: 232, align: left, sort: 0 }, }, defctrl: { standard_image: Button17_0 activated_image: Button17_1 transition_image: Button17_2 bevel_width: 6 margins: (3,18,0,0) fore_color: (0,0,0) cell_insets: (0,5,0,0) fixed_height: 19 } ctrl: { id: 501 type: button cells: (1,1,1,1) text: "form.msn-edit.add-element" }, ctrl: { id: 505 type: button cells: (2,1,1,1) text: "form.msn-edit.edit-element" }, ctrl: { id: 502 type: button cells: (3,1,1,1) text: "form.msn-edit.del-element" }, ctrl: { id: 511 type: button cells: (1,4,1,1) text: "form.msn-edit.add-event" }, ctrl: { id: 515 type: button cells: (2,4,1,1) text: "form.msn-edit.edit-event" }, ctrl: { id: 512 type: button cells: (3,4,1,1) text: "form.msn-edit.del-event" }, defctrl: { standard_image: Button17x17_0 activated_image: Button17x17_1 transition_image: Button17x17_2 fore_color: (0,0,0) align: center fixed_height: 19 fixed_width: 19 }, ctrl: { id: 503, type: button, cells: (5,3,1,1) text: "^", }, ctrl: { id: 504, type: button, cells: (6,3,1,1) text: "V", }, ctrl: { id: 513, type: button, cells: (5,6,1,1) text: "^", }, ctrl: { id: 514, type: button, cells: (6,6,1,1) text: "V", }, // ok and cancel buttons: defctrl: { align: left font: Limerick12 fore_color: (0,0,0) standard_image: Button17_0 activated_image: Button17_1 transition_image: Button17_2 transparent: false bevel_width: 6 margins: (3,18,0,0) cell_insets: (0,10,0,0) pid: 0 fixed_height: 19 fixed_width: 0 }, ctrl: { id: 1 type: button text: "form.accept" cells: (3,6,1,1) }, ctrl: { id: 2 type: button text: "form.cancel" cells: (4,6,1,1), }, }