Box Styles

From OHRRPGCE-Wiki
Jump to navigation Jump to search

There are 15 definable rectangle/box styles, which you can select from for the appearance of each textbox box or rectangle slice. Box styles also are used for various boxes in builtin menus, as documented below.

The 'edge' color option usually doesn't matter if you set a box border graphic to be used, unless the simple 'line' border shows through underneath, or a few places where the edge color is used directly in a menu.

The 'style' attribute of a rectangle slice refers to a box style, but the 'border' attribute also refers to the border of a certain box style rather than directly to the box border spriteset number.

Box-styles-menu.png

Hard-coded box style uses[edit]

Item Effect
Box style 0 color Affects the default menu, Inventory, Spells background, Status background, Equip background and disabled slots, Team menu, Order menu, Save game selected save slot, Shops, Learnt spell message, file browser, battle captions, debug menus, and in-battle Pause screen
Box style 0 border As above, plus menu navigation bar.
Box style 1 color Load game selected save slot, Spells menu, Inventory. Certain multichoice prompts in Custom.
Box style 1 border As above.
Box style 2 color Spells menu (single thin line). Confirm to overwrite save slot, Joystick calibration, Script errors, Pop up messages in Custom and Game like the save & quit warning message.
Box style 2 border As above.
Box style 3 color Inventory description box, Status menu, Equip menu, Buy and Hire boxes, Sell description box. Certain prompts in Custom.
Box style 3 border As above.
Box style 4-13 color No built-in use.
Box style 4-13 border No built-in use.
Box style 14 color Load & Save game boxes (if not selected) and new game/quit buttons; Quit screen.
Box style 14 border As above.

Also, style 0-7 edge colours are used in the zone editing mode of the map editor.


See Also[edit]