Vultraz

Untitled

May 24th, 2013
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 43.42 KB | None | 0 0
  1. #textdomain wesnoth-editor
  2.  
  3. # wmlscope: set export=no
  4.  
  5. # some information about how theming works
  6. # (especially the coordinates defined with rect=):
  7. # http://www.wesnoth.org/forum/viewtopic.php?p=213708#213708
  8.  
  9. [theme]
  10. name=editor
  11. hidden=yes
  12.  
  13. #define DEFAULT_EDITOR_FONT_NORMAL
  14. 14 #enddef
  15. #define DEFAULT_EDITOR_FONT_SMALL
  16. 12 #enddef
  17. #define DEFAULT_EDITOR_FONT_TINY
  18. 10 #enddef
  19. #define DEFAULT_EDITOR_FONT_REALLYTINY
  20. 9 #enddef
  21.  
  22. {themes/macros.cfg}
  23.  
  24. ############################################### 1024x768 ######################################################
  25. [resolution]
  26. id=1024x768
  27. width=1024
  28. height=768
  29.  
  30. [screen]
  31. # this is only useful as a ref for other rects
  32. id=screen
  33. rect="0,0,1024,768"
  34. [/screen]
  35.  
  36. ####### Context Menu
  37. [menu]
  38. id=menu-editor-paste-context
  39. is_context_menu=true
  40. items=editor-unit-toggle-loyal,editor-change-unitid,renameunit,describeunit,editor-deleteunit,editor-toggle-renameable,editor-toggle-canrecruit,editor-cut,editor-copy,editor-paste,editor-tool-select,editor-select-all,editor-select-inverse,editor-select-none,editor-clipboard-rotate-cw,editor-clipboard-rotate-ccw,editor-clipboard-flip-horizontal,editor-clipboard-flip-vertical,editor-selection-name,editor-selection-fill,editor-selection-rotate,editor-selection-flip, editor-selection-generate,editor-selection-randomize
  41. [/menu]
  42.  
  43. ####### Menu Bar
  44. [panel]
  45. id=top-panel
  46. image=themes/editor/classic/menubar.png
  47. ref=screen
  48. # rect="=,=,833,+27"
  49. rect="=,=,1024,+27"
  50. xanchor=top
  51. yanchor=fixed
  52. [/panel]
  53. [panel]
  54. id=top-panel-right
  55. image=themes/editor/classic/menubar_rightside.png
  56. rect="+0,=,+10,+27"
  57. xanchor=right
  58. yanchor=fixed
  59. [/panel]
  60. [menu]
  61. image=menu_buttons/menu_button_copper_H20
  62. id=menu-editor-file
  63. title= _ "File"
  64. type=turbo
  65. #image=lite_small
  66. #image=lite
  67. font_size=9
  68. items=statustable,unitlist,editor-map-new,editor-map-load,editor-map-revert,editor-map-save,editor-map-save-as,preferences,help,editor-close-map,quit-editor,editor-quit-to-desktop
  69. ref=top-panel
  70. rect="=+1,=+1,+100,+20"
  71. #rect="=+3,=+1,+55,=-4"
  72. xanchor=fixed
  73. yanchor=fixed
  74. [/menu]
  75. # [menu]
  76. # id=menu-editor-edit
  77. # title= _ "Edit"
  78. # #image=lite_small
  79. # image=lite
  80. # font_size={DEFAULT_EDITOR_FONT_SMALL}
  81. # items=undo,redo,editor-cut,editor-copy,editor-paste,editor-selection-name,editor-export-selection-coords,editor-select-all,editor-select-inverse,editor-select-none, editor-selection-fill,editor-selection-rotate,editor-selection-flip, editor-selection-generate,editor-selection-randomize
  82. # #rect="+2,=,+55,="
  83. # rect="+2,=,+100,="
  84. # xanchor=fixed
  85. # yanchor=fixed
  86. # [/menu]
  87. [menu]
  88. id=menu-editor-map
  89. title= _ "Map"
  90. image=menu_buttons/menu_button_copper_H20
  91. #image=lite
  92. items=editor-map-resize,editor-map-rotate,editor-map-generate, editor-map-apply-mask,editor-map-create-mask-to,menu-editor-transitions,editor-refresh,editor-refresh-image-cache,togglegrid,editor-draw-coordinates,editor-draw-terrain-codes
  93. rect="+1,=,+100,="
  94. xanchor=fixed
  95. yanchor=fixed
  96. [/menu]
  97. [menu]
  98. title= _ "Transition update"
  99. button=false
  100. id=menu-editor-transitions
  101. items=editor-update-transitions,editor-auto-update-transitions,editor-partial-update-transitions,editor-no-update-transitions
  102. [/menu]
  103. [menu]
  104. id=menu-editor-window
  105. title= _ "Window"
  106. #image=lite
  107. image=menu_buttons/menu_button_copper_H20
  108. items=editor-switch-map
  109. rect="+1,=,+100,="
  110. xanchor=fixed
  111. yanchor=fixed
  112. [/menu]
  113. [menu]
  114. id=menu-editor-areas
  115. title= _ "Areas"
  116. #image=lite
  117. image=menu_buttons/menu_button_copper_H20
  118. items=editor-switch-area, editor-define-area
  119. rect="+1,=,+100,="
  120. xanchor=fixed
  121. yanchor=fixed
  122. [/menu]
  123. [menu]
  124. id=menu-editor-side
  125. title= _ "Side"
  126. #image=lite
  127. image=menu_buttons/menu_button_copper_H20
  128. font_size={DEFAULT_EDITOR_FONT_SMALL}
  129. items=editor-switch-side,editor-side-new #,editor-side-modify
  130. rect="+1,=,+100,="
  131. xanchor=fixed
  132. yanchor=fixed
  133. [/menu]
  134. [panel]
  135. id=villages-panel
  136. image=themes/status_box/status_box_copper_H20W70.png
  137. rect="+5,=+1,+70,+20"
  138. xanchor=fixed
  139. yanchor=fixed
  140. [/panel]
  141. [label]
  142. id=villages-icon
  143. icon=themes/villages.png
  144. text= _ "villages"
  145. ref=villages-panel
  146. rect="=+5,=+2,+16,+16"
  147. xanchor=fixed
  148. yanchor=fixed
  149. [/label]
  150. [panel]
  151. id=units-panel
  152. image=themes/status_box/status_box_copper_H20W70.png
  153. rect="+5,=,+70,+20"
  154. ref=villages-panel
  155. xanchor=fixed
  156. yanchor=fixed
  157. [/panel]
  158. [label]
  159. id=units-icon
  160. icon=themes/units.png
  161. text= _ "units"
  162. ref=units-panel
  163. rect="=+5,=+2,+16,+16"
  164. xanchor=fixed
  165. yanchor=fixed
  166. [/label]
  167. # [panel]
  168. # #TODO rename since we don't display turns, only sides
  169. # id=turn-panel
  170. # ref=units-panel
  171. # image=themes/status_box/status_box_copper_H20W70.png
  172. # rect="+5,=+1,+70,+20"
  173. # xanchor=fixed
  174. # yanchor=fixed
  175. # [/panel]
  176.  
  177. ####### Upper Toolbar - Left Side
  178. [panel]
  179. id=replay-panel
  180. image=themes/editor/classic/uppertoolbar.png
  181. ref=top-panel
  182. rect="=,+0,+833,+41"
  183. xanchor=left
  184. yanchor=fixed
  185. [/panel]
  186. [panel]
  187. id=replay-panel-right
  188. image=themes/editor/classic/toolbar_rightside.png
  189. rect="+0,=,+10,+41"
  190. xanchor=right
  191. yanchor=fixed
  192. [/panel]
  193. ####### File specific actions
  194. [action]
  195. id=top_button_file1
  196. items=editor-map-load
  197. #type=
  198. image=button_square/button_square_30
  199. #tooltip= _ ""
  200. auto_tooltip=yes
  201. tooltip_name_prepend=yes
  202. ref=replay-panel
  203. rect="=+2,=+4,+30,+30"
  204. xanchor=fixed
  205. yanchor=fixed
  206. [/action]
  207. [action]
  208. id=top_button_file2
  209. items=editor-map-save
  210. #type=
  211. image=button_square/button_square_30
  212. #tooltip= _ ""
  213. auto_tooltip=yes
  214. tooltip_name_prepend=yes
  215. rect="+1,=,+30,+30"
  216. xanchor=fixed
  217. yanchor=fixed
  218. [/action]
  219. [panel]
  220. id=top_separator1
  221. #image=themes/editor/classic/menubar_rightside.png
  222. rect="+1,=,+10,+27"
  223. xanchor=fixed
  224. yanchor=fixed
  225. [/panel]
  226. ##### Undo specific ones
  227. [action]
  228. id=top_button_undo1
  229. items=editor-partial-undo
  230. #type=
  231. image=button_square/button_square_30
  232. #tooltip= _ ""
  233. auto_tooltip=yes
  234. tooltip_name_prepend=yes
  235. rect="+1,=,+30,+30"
  236. xanchor=fixed
  237. yanchor=fixed
  238. [/action]
  239. [action]
  240. id=top_button_undo2
  241. items=undo
  242. #type=
  243. image=button_square/button_square_30
  244. #tooltip= _ ""
  245. auto_tooltip=yes
  246. tooltip_name_prepend=yes
  247. tooltip_name_prepend=yes
  248. rect="+1,=,+30,+30"
  249. xanchor=fixed
  250. yanchor=fixed
  251. [/action]
  252. [action]
  253. id=top_button_undo3
  254. items=redo
  255. #type=
  256. image=button_square/button_square_30
  257. #tooltip= _ ""
  258. auto_tooltip=yes
  259. tooltip_name_prepend=yes
  260. rect="+1,=,+30,+30"
  261. xanchor=fixed
  262. yanchor=fixed
  263. [/action]
  264. [panel]
  265. id=top_separator2
  266. # image=themes/editor/classic/menubar_rightside.png
  267. # ref=replay-panel
  268. rect="+1,=,+10,+27"
  269. xanchor=fixed
  270. yanchor=fixed
  271. [/panel]
  272. ###### Select specific
  273. [action]
  274. id=top_button_select1
  275. items=editor-select-all
  276. type=radiobox
  277. image=button_square/button_square_30
  278. #tooltip= _ ""
  279. tooltip_name_prepend=yes
  280. rect="+1,=,+30,+30"
  281. xanchor=fixed
  282. yanchor=fixed
  283. [/action]
  284. [action]
  285. id=top_button_select2
  286. items=editor-select-none
  287. type=radiobox
  288. image=button_square/button_square_30
  289. #tooltip= _ ""
  290. auto_tooltip=yes
  291. tooltip_name_prepend=yes
  292. rect="+1,=,+30,+30"
  293. xanchor=fixed
  294. yanchor=fixed
  295. [/action]
  296. [action]
  297. id=top_button_select3
  298. items=editor-select-inverse
  299. #type=radiobox
  300. image=button_square/button_square_30
  301. #tooltip= _ ""
  302. auto_tooltip=yes
  303. tooltip_name_prepend=yes
  304. rect="+1,=,+30,+30"
  305. xanchor=fixed
  306. yanchor=fixed
  307. [/action]
  308. [action]
  309. id=top_button_select4
  310. items=editor-selection-fill
  311. #type=radiobox
  312. image=button_square/button_square_30
  313. #tooltip= _ ""
  314. auto_tooltip=yes
  315. tooltip_name_prepend=yes
  316. rect="+1,=,+30,+30"
  317. xanchor=fixed
  318. yanchor=fixed
  319. [/action]
  320. [action]
  321. id=top_button_select5
  322. items=editor-selection-randomize
  323. type=radiobox
  324. image=button_square/button_square_30
  325. #tooltip= _ ""
  326. auto_tooltip=yes
  327. tooltip_name_prepend=yes
  328. rect="+1,=,+30,+30"
  329. xanchor=fixed
  330. yanchor=fixed
  331. [/action]
  332. # [action]
  333. # id=top_button_select6
  334. # items=editor-selection-flip
  335. # type=radiobox
  336. # image=button_square/button_square_30
  337. # #tooltip= _ ""
  338. # auto_tooltip=yes
  339. # tooltip_name_prepend=yes
  340. # rect="+1,=,+30,+30"
  341. # xanchor=fixed
  342. # yanchor=fixed
  343. # [/action]
  344.  
  345.  
  346. [panel]
  347. id=top_separator3
  348. #image=themes/editor/classic/menubar_rightside.png
  349. rect="+1,=,+10,+27"
  350. xanchor=fixed
  351. yanchor=fixed
  352. [/panel]
  353.  
  354. ####### Cut & paste
  355. [action]
  356. id=top_button_cut
  357. items=editor-cut
  358. type=radiobox
  359. image=button_square/button_square_30
  360. #tooltip= _ ""
  361. auto_tooltip=yes
  362. tooltip_name_prepend=yes
  363. rect="+1,=,+30,+30"
  364. xanchor=fixed
  365. yanchor=fixed
  366. [/action]
  367. [action]
  368. id=top_button11
  369. items=editor-copy
  370. #type=radiobox
  371. image=button_square/button_square_30
  372. #tooltip= _ ""
  373. auto_tooltip=yes
  374. tooltip_name_prepend=yes
  375. rect="+1,=,+30,+30"
  376. xanchor=fixed
  377. yanchor=fixed
  378. [/action]
  379. [action]
  380. id=top_button12
  381. items=editor-paste
  382. type=radiobox
  383. image=button_square/button_square_30
  384. #tooltip= _ ""
  385. auto_tooltip=yes
  386. tooltip_name_prepend=yes
  387. rect="+1,=,+30,+30"
  388. xanchor=fixed
  389. yanchor=fixed
  390. [/action]
  391.  
  392. ## others, not yet determined
  393. [panel]
  394. id=top_seperator3
  395. # image=themes/editor/classic/menubar_rightside.png
  396. # ref=replay-panel
  397. rect="+1,=,+10,+27"
  398. xanchor=fixed
  399. yanchor=fixed
  400. [/panel]
  401. # [action]
  402. # id=top_button13
  403. # items=null
  404. # type=radiobox
  405. # image=button_square/button_square_30
  406. # #tooltip= _ ""
  407. # auto_tooltip=yes
  408. # tooltip_name_prepend=yes
  409. # rect="+1,=,+30,+30"
  410. # xanchor=fixed
  411. # yanchor=fixed
  412. # [/action]
  413. # [action]
  414. # id=top_button14
  415. # items=null
  416. # type=radiobox
  417. # image=button_square/button_square_30
  418. # #tooltip= _ ""
  419. # auto_tooltip=yes
  420. # tooltip_name_prepend=yes
  421. # rect="+1,=,+30,+30"
  422. # xanchor=fixed
  423. # yanchor=fixed
  424. # [/action]
  425. # [action]
  426. # id=top_button15
  427. # items=null
  428. # type=radiobox
  429. # image=button_square/button_square_30
  430. # #tooltip= _ ""
  431. # auto_tooltip=yes
  432. # tooltip_name_prepend=yes
  433. # rect="+1,=,+30,+30"
  434. # xanchor=fixed
  435. # yanchor=fixed
  436. # [/action]
  437. # [action]
  438. # id=top_button16
  439. # items=null
  440. # type=radiobox
  441. # image=button_square/button_square_30
  442. # #tooltip= _ ""
  443. # auto_tooltip=yes
  444. # tooltip_name_prepend=yes
  445. # rect="+1,=,+30,+30"
  446. # xanchor=fixed
  447. # yanchor=fixed
  448. # [/action]
  449.  
  450. ######## Upper Toolbar - Right Side
  451. [action]
  452. id=toggle_grid_button_editor
  453. items=togglegrid
  454. type=checkbox
  455. image=button_square/button_square_30
  456. #overlay=editor/tool/editor_tools_icons_toggle-grid
  457. tooltip_name_prepend=yes
  458. rect="810,=,+30,+30"
  459. xanchor=right
  460. yanchor=fixed
  461. [/action]
  462. [action]
  463. id=toggle_coordinates_button_editor
  464. items=editor-draw-coordinates
  465. type=checkbox
  466. image=button_square/button_square_30
  467. #overlay=editor/tool/editor_tools_icons_toggle-grid
  468. tooltip_name_prepend=yes
  469. rect="=-31,=,+30,+30"
  470. xanchor=right
  471. yanchor=fixed
  472. [/action]
  473. [action]
  474. id=toggle_terrain_codes_button_editor
  475. items=editor-draw-terrain-codes
  476. type=checkbox
  477. image=button_square/button_square_30
  478. #overlay=editor/tool/editor_tools_icons_toggle-grid
  479. tooltip_name_prepend=yes
  480. rect="=-31,=,+30,+30"
  481. xanchor=right
  482. yanchor=fixed
  483. [/action]
  484. [menu]
  485. id=switch_time
  486. items=custom-tod, editor-switch-time, menu-editor-schedule
  487. image=button_square/button_square_30
  488. overlay=icons/action/editor-switch-time_30
  489. tooltip= _ "Time Schedule Menu"
  490. rect="=-31,=,+30,+30"
  491. xanchor=right
  492. yanchor=fixed
  493. [/menu]
  494. [menu]
  495. title= _ "Assign Time Schedule"
  496. id=menu-editor-schedule
  497. button=false
  498. items=editor-assign-schedule
  499. [/menu]
  500. ####### Game Map
  501. [panel]
  502. id=border-top
  503. image=themes/editor/classic/mapframe_top.png
  504. ref=replay-panel
  505. rect="0,+0,708,+10"
  506. xanchor=left
  507. yanchor=fixed
  508. [/panel]
  509. [panel]
  510. id=border-top-right-corner
  511. image=themes/editor/classic/mapframe_toprightcorner.png
  512. rect="708,=+0,+135,+10"
  513. xanchor=right
  514. yanchor=fixed
  515. [/panel]
  516. [main_map]
  517. id=main-map
  518. ref=border-top-right-corner
  519. rect="0,+0,+833,768"
  520. xanchor=left
  521. yanchor=top
  522. [/main_map]
  523. [main_map_border]
  524. border_size = 0.5
  525. background_image = "terrain/off-map/background.png"
  526.  
  527. # this image is processed by the terrain matching code so should be
  528. # in the terrains directory and should ommit the 'terrain/' prefix
  529. # and the '.png' suffix
  530. tile_image = "off-map/alpha.png"
  531.  
  532. corner_image_top_left = "terrain/off-map/fade_corner_top_left_editor.png"
  533. corner_image_bottom_left = "terrain/off-map/fade_corner_bottom_left_editor.png"
  534.  
  535. # odd means the corner is on a tile with an odd x value,
  536. # the tile is the ingame tile not the odd in C++
  537. corner_image_top_right_odd = "terrain/off-map/fade_corner_top_right_odd_editor.png"
  538. corner_image_top_right_even = "terrain/off-map/fade_corner_top_right_even_editor.png"
  539.  
  540. corner_image_bottom_right_odd = "terrain/off-map/fade_corner_bottom_right_odd_editor.png"
  541. corner_image_bottom_right_even = "terrain/off-map/fade_corner_bottom_right_even_editor.png"
  542.  
  543. border_image_left = "terrain/off-map/fade_border_left_editor.png"
  544. border_image_right = "terrain/off-map/fade_border_right_editor.png"
  545.  
  546. border_image_top_odd = "terrain/off-map/fade_border_top_odd_editor.png"
  547. border_image_top_even = "terrain/off-map/fade_border_top_even_editor.png"
  548.  
  549. border_image_bottom_odd = "terrain/off-map/fade_border_bottom_odd_editor.png"
  550. border_image_bottom_even = "terrain/off-map/fade_border_bottom_even_editor.png"
  551. [/main_map_border]
  552. [panel]
  553. id=border-right
  554. image=themes/editor/classic/mapframe_rightside.png
  555. rect="+0,=+0,+10,768"
  556. xanchor=right
  557. yanchor=top
  558. [/panel]
  559. #[panel]
  560. # id=mapframe-corner
  561. # image=themes/editor/classic/mapframe_corner.png
  562. # ref=border-top-right-corner
  563. # rect="761,+0,+72,+72"
  564. # xanchor=fixed
  565. # yanchor=fixed
  566. #[/panel]
  567.  
  568. ################################## Rightside Panel
  569.  
  570. ####### MiniMap
  571. [panel]
  572. id=top-right-panel
  573. image=themes/editor/classic/minimap.png
  574. ref=screen
  575. #ref=top-panel
  576. rect="843,0,1024,212"
  577. xanchor=right
  578. yanchor=fixed
  579. [/panel]
  580. [panel]
  581. id=terrain-panel
  582. image=themes/status_box/status_box_H20W168.png
  583. rect="=+9,=+1,+168,+20"
  584. xanchor=right
  585. yanchor=fixed
  586. [/panel]
  587.  
  588. # [panel]
  589. # id=terrain-info-panel
  590. # ref=top-panel
  591. # image=themes/status_box/status_box_H20W145.png
  592. # rect="-138,=+1,+145,+20"
  593. # xanchor=fixed
  594. # yanchor=fixed
  595. # [/panel]
  596. [label]
  597. id=terrain-icon
  598. icon=icons/terrain/terrain_type_info.png
  599. text= _ "terrain"
  600. rect="=+5,=+2,+20,+16"
  601. xanchor=right
  602. yanchor=fixed
  603. [/label]
  604.  
  605.  
  606. [mini_map]
  607. id=mini-map
  608. ref=top-right-panel
  609. rect="=+51,=+31,=-14,+158"
  610. xanchor=right
  611. yanchor=fixed
  612. [/mini_map]
  613.  
  614. [action]
  615. id=zoom_default_button_editor
  616. items=zoomdefault
  617. type=checkbox
  618. image=button_square/button_square_30
  619. auto_tooltip=yes
  620. rect="=-33,=-1,+30,+30"
  621. xanchor=right
  622. yanchor=fixed
  623. [/action]
  624. [action]
  625. id=zoom_in_button_editor
  626. items=zoomin
  627. type=turbo
  628. image=button_square/button_square_30
  629. auto_tooltip=yes
  630. rect="=,+2,+30,+30"
  631. xanchor=right
  632. yanchor=fixed
  633. [/action]
  634. [action]
  635. id=zoom_out_button_editor
  636. items=zoomout
  637. type=turbo
  638. image=button_square/button_square_30
  639. auto_tooltip=yes
  640. rect="=,+2,+30,+30"
  641. xanchor=right
  642. yanchor=fixed
  643. [/action]
  644. [action]
  645. id=resize_button_editor
  646. items=editor-map-resize
  647. #type=press
  648. image=button_square/button_square_30
  649. tooltip_name_prepend=yes
  650. rect="=,+2,+30,+30"
  651. xanchor=right
  652. yanchor=fixed
  653. [/action]
  654. [action]
  655. id=flip_map_button_editor
  656. type=checkbox
  657. image=button_square/button_square_30
  658. items=editor-map-flip
  659. tooltip= _ "Not implemented yet."
  660. tooltip_name_prepend=yes
  661. rect="=,+2,+30,+30"
  662. xanchor=right
  663. yanchor=fixed
  664. [/action]
  665.  
  666. [slider]
  667. image=buttons/sliders/slider_arrow_gold
  668. id=map-zoom-slider
  669. black_line=yes
  670. ref=mini-map
  671. rect="=,+1,+117,+18"
  672. xanchor=right
  673. yanchor=fixed
  674. [/slider]
  675.  
  676. ####### Main Toolbar
  677. [panel]
  678. id=middle-right-panel
  679. image=themes/editor/classic/sidebar_tools.png
  680. ref=top-right-panel
  681. rect="=,+0,=,+249"
  682. xanchor=right
  683. yanchor=fixed
  684. [/panel]
  685. ####### First Row
  686. [action]
  687. id=tool-button1
  688. items=editor-tool-paint
  689. type=radiobox
  690. image=button_square/button_square_30
  691. auto_tooltip=yes
  692. tooltip_name_prepend=yes
  693. rect="=+14,=+10,+30,+30"
  694. xanchor=right
  695. yanchor=fixed
  696. [/action]
  697. [action]
  698. id=tool-button2
  699. items=editor-tool-select
  700. type=radiobox
  701. image=button_square/button_square_30
  702. auto_tooltip=yes
  703. tooltip_name_prepend=yes
  704. rect="+2,=,+30,+30"
  705. xanchor=right
  706. yanchor=fixed
  707. [/action]
  708. [action]
  709. id=tool-button3
  710. items=editor-tool-starting-position
  711. type=radiobox
  712. image=button_square/button_square_30
  713. auto_tooltip=yes
  714. tooltip_name_prepend=yes
  715. rect="+2,=,+30,+30"
  716. xanchor=right
  717. yanchor=fixed
  718. [/action]
  719. [action]
  720. id=tool-button4
  721. items=editor-tool-item
  722. type=radiobox
  723. image=button_square/button_square_30
  724. auto_tooltip=yes
  725. tooltip_name_prepend=yes
  726. rect="+2,=,+30,+30"
  727. xanchor=right
  728. yanchor=fixed
  729. [/action]
  730. [action]
  731. id=tool-button5
  732. items=editor-tool-village
  733. type=radiobox
  734. image=button_square/button_square_30
  735. auto_tooltip=yes
  736. tooltip_name_prepend=yes
  737. rect="+2,=,+30,+30"
  738. xanchor=right
  739. yanchor=fixed
  740. [/action]
  741. ####### Second Row.
  742. [action]
  743. id=tool-button6
  744. items=editor-tool-fill
  745. type=radiobox
  746. image=button_square/button_square_30
  747. auto_tooltip=yes
  748. tooltip_name_prepend=yes
  749. ref=tool-button1
  750. rect="=,+2,+30,+30"
  751. xanchor=right
  752. yanchor=fixed
  753. [/action]
  754. [action]
  755. id=tool-button7
  756. items=editor-paste
  757. type=radiobox
  758. image=button_square/button_square_30
  759. auto_tooltip=yes
  760. tooltip_name_prepend=yes
  761. rect="+2,=,+30,+30"
  762. xanchor=right
  763. yanchor=fixed
  764. [/action]
  765. [action]
  766. id=tool-button8
  767. items=editor-tool-label
  768. type=radiobox
  769. image=button_square/button_square_30
  770. auto_tooltip=yes
  771. tooltip_name_prepend=yes
  772. rect="+2,=,+30,+30"
  773. xanchor=right
  774. yanchor=fixed
  775. [/action]
  776. [action]
  777. id=tool-button9
  778. items=editor-tool-soundsource
  779. type=radiobox
  780. image=button_square/button_square_30
  781. auto_tooltip=yes
  782. tooltip_name_prepend=yes
  783. rect="+2,=,+30,+30"
  784. xanchor=right
  785. yanchor=fixed
  786. [/action]
  787. [action]
  788. id=tool-button10
  789. items=editor-tool-unit
  790. type=radiobox
  791. image=button_square/button_square_30
  792. auto_tooltip=yes
  793. tooltip_name_prepend=yes
  794. rect="+2,=,+24,+24"
  795. xanchor=right
  796. yanchor=fixed
  797. [/action]
  798. ####### 3rd row
  799. [action]
  800. id=tool-button11
  801. items=editor-clipboard-flip-horizontal
  802. #type=radiobox
  803. image=button_square/button_square_30
  804. auto_tooltip=yes
  805. tooltip_name_prepend=yes
  806. ref=tool-button6
  807. rect="=,+18,+30,+30"
  808. xanchor=right
  809. yanchor=top
  810. [/action]
  811. [action]
  812. id=tool-button12
  813. items=editor-clipboard-flip-vertical
  814. #type=radiobox
  815. image=button_square/button_square_30
  816. auto_tooltip=yes
  817. tooltip_name_prepend=yes
  818. rect="+2,=,+30,+30"
  819. xanchor=right
  820. yanchor=fixed
  821. [/action]
  822. [action]
  823. id=tool-button13
  824. items=editor-clipboard-rotate-cw
  825. #type=radiobox
  826. image=button_square/button_square_30
  827. auto_tooltip=yes
  828. tooltip_name_prepend=yes
  829. rect="+2,=,+30,+30"
  830. xanchor=right
  831. yanchor=fixed
  832. [/action]
  833. [action]
  834. id=tool-button14
  835. items=editor-clipboard-rotate-ccw
  836. type=radiobox
  837. image=button_square/button_square_30
  838. auto_tooltip=yes
  839. tooltip_name_prepend=yes
  840. rect="+2,=,+30,+30"
  841. xanchor=right
  842. yanchor=fixed
  843. [/action]
  844. [action]
  845. id=tool-button15
  846. items=null
  847. #type=radiobox
  848. #auto_tooltip=yes
  849. image=button_square/button_square_30
  850. rect="+2,=,+30,+30"
  851. xanchor=right
  852. yanchor=fixed
  853. [/action]
  854. ####### 4th row
  855. [action]
  856. id=tool-button16
  857. type=checkbox
  858. image=button_square/button_square_30
  859. items=editor-brush-1
  860. tooltip_name_prepend=yes
  861. ref=tool-button11
  862. rect="=,+2,+30,+30"
  863. xanchor=right
  864. yanchor=fixed
  865. [/action]
  866. [action]
  867. id=tool-button17
  868. type=checkbox
  869. image=button_square/button_square_30
  870. items=editor-brush-2
  871. tooltip_name_prepend=yes
  872. rect="+2,=,+30,+30"
  873. xanchor=right
  874. yanchor=fixed
  875. [/action]
  876. [action]
  877. id=tool-button18
  878. type=checkbox
  879. image=button_square/button_square_30
  880. items=editor-brush-3
  881. tooltip_name_prepend=yes
  882. rect="+2,=,+30,+30"
  883. xanchor=right
  884. yanchor=fixed
  885. [/action]
  886. [action]
  887. id=tool-button19
  888. type=checkbox
  889. image=button_square/button_square_30
  890. items=editor-brush-nw-se
  891. tooltip_name_prepend=yes
  892. rect="+2,=,+30,+30"
  893. xanchor=right
  894. yanchor=fixed
  895. [/action]
  896. [action]
  897. id=tool-button20
  898. type=checkbox
  899. image=button_square/button_square_30
  900. items=editor-brush-sw-ne
  901. tooltip_name_prepend=yes
  902. rect="+2,=,+30,+30"
  903. xanchor=right
  904. yanchor=fixed
  905. [/action]
  906.  
  907. ####### Palette
  908. [panel]
  909. id=bottom-right-panel
  910. image=themes/editor/classic/sidebar_palette.png
  911. ref=middle-right-panel
  912. rect="=,+0,=,768"
  913. xanchor=right
  914. yanchor=top
  915. [/panel]
  916. [palette]
  917. id=palette
  918. rect="=+15,=-38,+250,+465"
  919. xanchor=right
  920. yanchor=top
  921. [/palette]
  922. [menu]
  923. id=menu-editor-terrain
  924. items=editor-palette-groups
  925. type=turbo
  926. image=button_square/button_square_30
  927. rect="=-1,=-43,+30,+30"
  928. xanchor=right
  929. yanchor=fixed
  930. [/menu]
  931. [action]
  932. id=menu-editor-flip-palette-selection
  933. items=editor-terrain-palette-swap
  934. image=button_square/button_square_30
  935. auto_tooltip=yes
  936. rect="+34,=,+30,+30"
  937. xanchor=right
  938. yanchor=fixed
  939. [/action]
  940. [action]
  941. id=upscroll-button-editor
  942. type=turbo
  943. image=button_square/button_square_25
  944. items=editor-palette-upscroll
  945. overlay=icons/arrows/arrows_ornate_up_25
  946. rect="+7,=+0,+25,+25"
  947. xanchor=right
  948. yanchor=fixed
  949. [/action]
  950. [action]
  951. type=turbo
  952. id=downscroll-button-editor
  953. image=button_square/button_square_25
  954. overlay=icons/arrows/arrows_ornate_down_25
  955. items=editor-palette-downscroll
  956. rect="+7,=+0,+25,+25"
  957. xanchor=right
  958. yanchor=fixed
  959. [/action]
  960.  
  961. ####### End
  962.  
  963. [status]
  964.  
  965. # [terrain_image]
  966. # id=terrain_image
  967. # ref=menu-editor-terrain
  968. # rect="+4,=-2,+25,+25"
  969. # xanchor=right
  970. # yanchor=fixed
  971. # [/terrain_image]
  972. # [side_playing]
  973. # id=icon-sideplaying
  974. # ref=turn-panel
  975. # rect="=+3,=+2,+25,+17"
  976. # xanchor=fixed
  977. # yanchor=fixed
  978. # [/side_playing]
  979. # [turn]
  980. # id=turn
  981. # font_size={DEFAULT_EDITOR_FONT_SMALL}
  982. # rect="+4,=,+55,+16"
  983. # xanchor=fixed
  984. # yanchor=fixed
  985. # prefix="" #wmllint: ignore
  986. # prefix_literal=""
  987. # [/turn]
  988.  
  989. # TODO maybe enable for the high resolution version
  990. # the time of day image
  991. # [time_of_day]
  992. # id=image-tod
  993. # ref=top-right-panel
  994. # rect="=+10,=+159,=-7,+39"
  995. # xanchor=right
  996. # yanchor=fixed
  997. # [/time_of_day]
  998. [villages]
  999. id=villages
  1000. font_size={DEFAULT_EDITOR_FONT_SMALL}
  1001. ref=villages-icon
  1002. rect="+4,=,+55,+16"
  1003. xanchor=fixed
  1004. yanchor=fixed
  1005. prefix="" #wmllint: ignore
  1006. prefix_literal=""
  1007. [/villages]
  1008. [num_units]
  1009. id=num-units
  1010. font_size={DEFAULT_EDITOR_FONT_SMALL}
  1011. ref=units-icon
  1012. rect="+4,=,+55,+16"
  1013. xanchor=fixed
  1014. yanchor=fixed
  1015. prefix="" #wmllint: ignore
  1016. prefix_literal=""
  1017. [/num_units]
  1018. # This panel encloses the location information displays and the
  1019. # observer icon. This separate container is used so that we can
  1020. # make the terrain name display stretch to fill all available space
  1021. # so that the long strings don't get cut off as easily.
  1022.  
  1023. # The size of these rectangles only accommodates hex coordinates
  1024. # up to 99. If either is over that maximum the movement cost will
  1025. # be pushed off the right end.
  1026. [position]
  1027. id=status-position
  1028. #font_size={DEFAULT_EDITOR_FONT_SMALL}
  1029. #font_size={DEFAULT_EDITOR_FONT_NORMAL}
  1030. ref=terrain-icon
  1031. #ref=top-panel
  1032. rect="+4,=,+60,+16"
  1033. #rect="-65,=+4,=-5,="
  1034. xanchor=right
  1035. yanchor=fixed
  1036. [/position]
  1037. [terrain_info]
  1038. id=status-terrain
  1039. rect="+2,=,+70,+16"
  1040. xanchor=right
  1041. yanchor=fixed
  1042. [/terrain_info]
  1043. # [terrain]
  1044. # id=status-terrain
  1045. # ref=terrain-panel
  1046. # font_size={DEFAULT_EDITOR_FONT_REALLYTINY}
  1047. #font_size={DEFAULT_EDITOR_FONT_SMALL}
  1048. #rect="=+115,=,=-24,="
  1049. # rect="=+3,=+6,1024,+16"
  1050. # xanchor=right
  1051. # yanchor=fixed
  1052. # [/terrain]
  1053. [/status]
  1054. [/resolution]
  1055.  
  1056. ################################################# 1024x600 ############################################
  1057. [partialresolution]
  1058. id=1024x600
  1059. inherits=1024x768
  1060. width=1024
  1061. height=600
  1062.  
  1063. # some changes to the display to have stuff look better on 800x600
  1064. # using a right pane with a smaller minimap to achieve this
  1065. # use backgound with 40px less for minimap
  1066.  
  1067. [change]
  1068. id=top-right-panel
  1069. image=themes/editor/classic/sidebar_minimap-small.png
  1070. #ref=screen
  1071. rect="843,0,1024,175"
  1072. #xanchor=right
  1073. #yanchor=fixed
  1074. [/change]
  1075. [change]
  1076. id=mini-map
  1077. rect="=+51,=+32,=-14,+131"
  1078. [/change]
  1079. [remove]
  1080. id=map-zoom-slider
  1081. [/remove]
  1082. [change]
  1083. id=zoom_default_button_editor
  1084. rect="=-33,=+0,+25,+25"
  1085. #rect="=+18,=+31,+25,+25"
  1086. image=button_square/button_square_25
  1087. [/change]
  1088. [change]
  1089. id=zoom_in_button_editor
  1090. rect="=,+2,+25,+25"
  1091. image=button_square/button_square_25
  1092. [/change]
  1093. [change]
  1094. id=zoom_out_button_editor
  1095. rect="=,+2,+25,+25"
  1096. image=button_square/button_square_25
  1097. [/change]
  1098. [change]
  1099. id=resize_button_editor
  1100. rect="=,+2,+25,+25"
  1101. image=button_square/button_square_25
  1102. [/change]
  1103. [change]
  1104. id=flip_map_button_editor
  1105. rect="=,+2,+25,+25"
  1106. image=button_square/button_square_25
  1107. [/change]
  1108.  
  1109.  
  1110. ###############################
  1111.  
  1112. [change]
  1113. id=middle-right-panel
  1114. image=themes/editor/classic/sidebar_tools-small.png
  1115. #ref=top-right-panel
  1116. rect="=,+0,=,+171"
  1117. #xanchor=right
  1118. #yanchor=fixed
  1119. [/change]
  1120.  
  1121. [change]
  1122. id=tool-button1
  1123. rect="=+14,=+6,+25,+25"
  1124. image=button_square/button_square_25
  1125. [/change]
  1126. [change]
  1127. id=tool-button2
  1128. rect="+1,=,+25,+25"
  1129. image=button_square/button_square_25
  1130. [/change]
  1131. [change]
  1132. id=tool-button3
  1133. rect="+1,=,+25,+25"
  1134. image=button_square/button_square_25
  1135. [/change]
  1136. [change]
  1137. id=tool-button4
  1138. rect="+1,=,+25,+25"
  1139. image=button_square/button_square_25
  1140. [/change]
  1141. [change]
  1142. id=tool-button5
  1143. rect="+1,=,+25,+25"
  1144. image=button_square/button_square_25
  1145. [/change]
  1146. ########
  1147. [change]
  1148. id=tool-button6
  1149. rect="=+0,+1+25,+25"
  1150. image=button_square/button_square_25
  1151. [/change]
  1152. [change]
  1153. id=tool-button7
  1154. rect="+1,=,+25,+25"
  1155. image=button_square/button_square_25
  1156. [/change]
  1157. [change]
  1158. id=tool-button8
  1159. rect="+1,=,+25,+25"
  1160. image=button_square/button_square_25
  1161. [/change]
  1162. [change]
  1163. id=tool-button9
  1164. rect="+1,=,+25,+25"
  1165. image=button_square/button_square_25
  1166. [/change]
  1167. [change]
  1168. id=tool-button10
  1169. rect="+1,=,+25,+25"
  1170. image=button_square/button_square_25
  1171. [/change]
  1172. ###################
  1173.  
  1174.  
  1175.  
  1176.  
  1177.  
  1178.  
  1179.  
  1180.  
  1181.  
  1182.  
  1183. [remove]
  1184. id=tool-button14
  1185. #rect="+2,=,+25,+25"
  1186. image=button_square/button_square_25
  1187. [/remove]
  1188. [remove]
  1189. id=tool-button15
  1190. #rect="+2,=,+25,+25"
  1191. image=button_square/button_square_25
  1192. [/remove]
  1193.  
  1194. # [change]
  1195. # id=tool-button15
  1196. #id=utility-button2
  1197. # rect="+2,=,+25,+25"
  1198. # image=button_square/button_square_25
  1199. # [/change]
  1200.  
  1201. [change]
  1202. id=tool-button16
  1203. ref=tool-button6
  1204. rect="=,+28,+25,+25"
  1205. image=button_square/button_square_25
  1206. [/change]
  1207.  
  1208. [change]
  1209. id=tool-button17
  1210. rect="+1,=,+25,+25"
  1211. image=button_square/button_square_25
  1212. [/change]
  1213.  
  1214. [change]
  1215. id=tool-button18
  1216. rect="+1,=,+25,+25"
  1217. image=button_square/button_square_25
  1218. [/change]
  1219.  
  1220. [change]
  1221. id=tool-button19
  1222. #id=editor_brush_nw-se
  1223. rect="+1,=,+25,+25"
  1224. image=button_square/button_square_25
  1225. [/change]
  1226.  
  1227. [change]
  1228. id=tool-button20
  1229. rect="+1,=,+25,+25"
  1230. image=button_square/button_square_25
  1231. [/change]
  1232.  
  1233. [change]
  1234. id=tool-button11
  1235. ref=tool-button5
  1236. rect="+4,=+1,+25,+25"
  1237. image=button_square/button_square_25
  1238. [/change]
  1239.  
  1240. [change]
  1241. id=tool-button12
  1242. ref=tool-button11
  1243. rect="=,+1,+25,+25"
  1244. image=button_square/button_square_25
  1245. [/change]
  1246.  
  1247. [change]
  1248. id=tool-button13
  1249. #id=utility-button3
  1250. ref=tool-button12
  1251. rect="=,+1,+25,+25"
  1252. image=button_square/button_square_25
  1253. [/change]
  1254.  
  1255.  
  1256. # [change]
  1257. # id=top-right-panel
  1258. # image=themes/rightside-editor-small.png
  1259. # rect="+0,=+0,1024,+215"
  1260. # [/change]
  1261. # # reduce vertical size of minimap by 40px
  1262. # [change]
  1263. # id=mini-map
  1264. # rect="=+10,=+7,=-7,+94"
  1265. # [/change]
  1266. # [change]
  1267. # id=undo_button_editor
  1268. # ref=flood_button_editor
  1269. # [/change]
  1270.  
  1271. [change]
  1272. id=menu-editor-terrain
  1273. #items=editor-palette-groups
  1274. #type=turbo
  1275. #title= _ "Group space"
  1276. #image=button_square/button_square_30
  1277. #image=editor/group/group_all
  1278. #font_size=9
  1279. rect="=-1,=-41,+30,+30"
  1280. #xanchor=right
  1281. #yanchor=fixed
  1282. [/change]
  1283. [change]
  1284. id=menu-editor-flip-palette-selection
  1285. #items=editor-terrain-palette-swap
  1286. image=button_square/button_square_25
  1287. #type=turbo
  1288. rect="+39,=,+25,+25"
  1289. #xanchor=right
  1290. #yanchor=fixed
  1291. [/change]
  1292. [change]
  1293. id=upscroll-button-editor
  1294. # type=turbo
  1295. # image=editor/button-25_base
  1296. # image=uparrow-button
  1297. # items=editor-palette-upscroll
  1298. rect="+7,=+0,+25,+25"
  1299. # xanchor=right
  1300. # yanchor=fixed
  1301. [/change]
  1302. #[action]
  1303. # type=turbo
  1304. # id=downscroll-button-editor
  1305. # #image=editor/button-25_base
  1306. # image=downarrow-button
  1307. # items=editor-palette-downscroll
  1308. # rect="+7,=+0,+25,+25"
  1309. # xanchor=right
  1310. # yanchor=fixed
  1311. #[/action]
  1312.  
  1313. [change]
  1314. id=palette
  1315. rect="=+15,=-33,+250,+465"
  1316. #xanchor=right
  1317. #yanchor=top
  1318. [/change]
  1319.  
  1320.  
  1321.  
  1322.  
  1323.  
  1324.  
  1325. [/partialresolution]
  1326.  
  1327. ########################################## 800x600 ###########################################
  1328. [partialresolution]
  1329. id=800x600
  1330. inherits=1024x600
  1331. width=800
  1332. height=600
  1333.  
  1334.  
  1335. [remove]
  1336. #id=villages-panel
  1337. # image=themes/status-bg.png
  1338. # rect="+5,=+1,+71,+19"
  1339. # xanchor=fixed
  1340. # yanchor=fixed
  1341. [/remove]
  1342. [remove]
  1343. id=villages-icon
  1344. # icon=themes/villages.png
  1345. # text= _ "villages"
  1346. # ref=villages-panel
  1347. # rect="=+5,=+1,+16,+16"
  1348. # xanchor=fixed
  1349. # yanchor=fixed
  1350. [/remove]
  1351. [remove]
  1352. id=units-panel
  1353. # image=themes/status-bg.png
  1354. # ref=villages-panel
  1355. # rect="+5,=,+71,+19"
  1356. # xanchor=fixed
  1357. # yanchor=fixed
  1358. [/remove]
  1359. [remove]
  1360. id=units-icon
  1361. # icon=themes/units.png
  1362. # text= _ "units"
  1363. # ref=units-panel
  1364. # rect="=+5,=+1,+16,+16"
  1365. # xanchor=fixed
  1366. # yanchor=fixed
  1367. [/remove]
  1368. [remove]
  1369. #TODO rename since we don't display turns, only sides
  1370. id=turn-panel
  1371. # ref=units-panel
  1372. # image=themes/status-bg.png
  1373. # rect="+5,=,+71,+19"
  1374. # xanchor=fixed
  1375. # yanchor=fixed
  1376. [/remove]
  1377.  
  1378.  
  1379.  
  1380.  
  1381. # [change]
  1382. # id=status-terrain
  1383. # #TODO
  1384. # ref=terrain-panel
  1385. # rect="+115,=,=-24,="
  1386. # font_size={DEFAULT_EDITOR_FONT_TINY}
  1387. # xanchor=left
  1388. # yanchor=fixed
  1389. # [/change]
  1390. [/partialresolution]
  1391.  
  1392. ########################################## 800x480 ###########################################
  1393. [partialresolution]
  1394. id=800x480
  1395. inherits=800x600
  1396. width=800
  1397. height=480
  1398.  
  1399. # [remove]
  1400. # id=undo_button_editor
  1401. # [/remove]
  1402. # [remove]
  1403. # id=redo_button_editor
  1404. # [/remove]
  1405. # [remove]
  1406. # id=zoom_in_button_editor
  1407. # [/remove]
  1408. # [remove]
  1409. # id=zoom_out_button_editor
  1410. # [/remove]
  1411. # [remove]
  1412. # id=zoom_default_button_editor
  1413. # [/remove]
  1414. [/partialresolution]
  1415.  
  1416. [/theme]
Advertisement
Add Comment
Please, Sign In to add comment