hi
This has been written with starlanes thought in, but for 0.1, ignore those parts. Comments, mistakes, something to correct, features to suggest? Small shipicons in picture should vary by sizeclass as in picture they mostly dont and their color is under thought. And mapwindow has some mistakes. But anyway I find this design simple but still allowing much options. Think it like windows filemanager where fleets are folders and ships are files.
Miu
FreeOrion Graphics Team Lead
Ps, it's 5am here, I'll better reread this after some sleep
http://www.evtek.fi/~k0201783/fleetwindowmockup2.jpg
Starmap
Starmapfleeticons
-Starmapfleeticon contains two parts. First a icon typical to that empire colored with that empires color. On bottomright corner of starmapfleeticon is located a dot-bar, that shows the strength of fleets.*
-Each starmapfleeticon represents a group of fleets. It has minimum of one fleet containing one ship.
-When fleets are stationary on a system, starmapfleeticon is located at top right corner of that system. If there are fleets from more that one empire, starmapfleeticons are arranged next to each other in top right corner at rows of 3.
-if fleet has other target than system it is located, then it is leaving the system and is represented on starmap at topleft corner of the system.
Selecting fleet and target choosing
-leftclicking starmapfleeticon selects all fleets contained there. Then leftclicking on system, sets target for selected fleets there.
-When clicking targetsystem for selected fleets, fastest way there trough starlanes is calculated and those starlanes are highlighted. If another system is clicked, way is shown there. Highlights are shown till player left-clics another object at map.
-around selected starmapfleeticon is drawn a cornerbox.
-ctrl-clicking on system, targets selected fleets to travel there directly on off-road course.
-when starmapfleeticon travelling on map, estimate time required to target system is shown at toprightcorner of icon with text "eta:number of turns estimated"
-rightclicking starmapfleeticon opens fleetwindow.
Fleetwindow
Fleet window contains titlebar, x-button, scrollable window, underbar and ship-button.
If fleet is not controlled by player, player can do viewing but cannot interact.
Titlebar shows empirename's fleets at systemname.
X-button closes fleetwindow and all open shipwindows. If mainshipwindow was open when x-button was clicked, it will be opened automatically when fleetwindow is opened nexttime.
Scrollable window shows fleets of selected empire at that system.
-it has two modes: listmode and iconmode.
Iconmode
-iconmode shows fleeticons in grid of 4x3. Next to fleeticon sized 24x24 is the amount of ships in that fleet. Fleeticon is tinted by empirecolor.
-In Iconmode, one box in grid has height 24 pixels and width of 24+minimum amout the font requires to show 3 numbered figure, approx width is 35 pixels.
-there's one pixel border between boxes.
Listmode
-In listmode fleets are show as list with each row containing information: 14x14 fleeticon, amount of ships in that fleet, fleetname, target system.
-Window has 6 rows. There's one pixel border between rows.
-In both modes ships are listed ascending by their fleetidnumber.**
-selected fleets are highlighted with box. Last selected fleet has cornerbox too.
Selecting:
-Single fleets can be selected by leftclicking them.
-Multiple fleets can be selected by square selection (draw a box), or by shift-clicking, that adds fleets to selection. Shift-clicking to selected fleet removes it from selection. This acts like ctrl-clicking in windows.
-By default, first fleet on window is selected.
Targeting
-leftclicking on a starsystem assingns that sytem as target to selected fleets.
-starmapview reacts accordingly.
-targeting can be done by selecting target-option from rightclick-menu.
Scrolling
-When there's more fleets in system that fits the window, it can be scrolled by scrollbar on by clicking on bar or by holding mouse above or below the mark in scrollbar-box.
-There's always one emty row at the end
Right-ClickMenu
-has options: target, open, rename, icon, list
Target***: opens a window where you can choose target system either by alphabetically by name, or from minimap. Useful when sending fleets far away.
Open: opens separate shipwindow next to to fleetwindow. Only one open window per fleet.
Rename: dialoque to rename the fleet
Icon: changes mode to iconmode
List: changes mode to listmode
Underbar shows selected fleet's name and target system. If more than one fleet is selected, it shows "amount of ships combined"/"amount of selected fleets".
Ship-button opens mainshipwindow for selected fleet. If mainshipwindow is open, clicking this closes it.
MainShipWindow
Mainshipwindow contains scrollable window and underbar.
If fleet/ships are not controlled by player, player can do viewing but cannot interact.
Scrollable window shows ships in selected fleet
-it has two modes: listmode and iconmode.
Iconmode
-iconmode shows shipicons in grid of 5x4. Below to shipicon sized 16x16 is it's typenumber**** which is colorcoded.
-In Iconmode, one box in grid is roughly 20x20 pixels.
-there's one pixel border between boxes.
Listmode
-In listmode ships are show as list with each row containing information: 14x14 shipticon, and shipname that is colorcoded.
-Window has 8 rows. There's one pixel border between rows.
-In both modes ships are listed ascending by their typenumber.
-Colorcoding: if ship is at good shape, text is shown white. If ship has unrepaired armor damage text is shown yellow, if there's unrepaired hulldamage, it's shown red.
-selected shipss are highlighted with box. Last selected ship has cornerbox too.
Selecting:
Similar to fleetwindow.
Moving ships between fleets.
-Drag and dropping transfers selected ship to fleet they were dropped at fleetwindow.
-If selection is dropped at empty slot at fleetwindow, ships will form a fleet of their own.
-Ships can be dropped to separete shipwindows as well, thus being added to that fleet.
Scrolling
Similar to fleetwindow, expect no empty row needed at the end.
Right-ClickMenu
-has options: details, refit, scrap, icon, list
Details***: Opens window showing details of selected ship. Available only when selection = 1.
Refit***: opens window so that ship can be refitted if suitable starbase on system.
Scrap***: dismantles selected ships and adds money to empire. Confirmation dialog.
Icon: changes mode to iconmode
List: changes mode to listmode
ShipIcons: Icons used here are ship-line specific icons that vary by the ships size.They aren't colored by empirecolor.
Underbar shows selected ship's name and typenumber. If more than one fleet is selected, nothing is shown.
Separate ship window
Has similar properties to mainshipwindow, but it has titlebar, x-button,and is not tied to fleetwindow and can be moved separately by dragging from titlebar.
Titlebar contains information: Fleet's name, target system.
X-button closes window
* dot-coding, see triangles vs. fleeticons thread for details
** fleetidnumber, each fleet has number by order when it was formed. [01, 02,...]
*** feature under discussion/uncertain/design not ready, probaply not in 0.1
**** Ships typenumber, eases way to assing ships in iconwiew. When buildt, each ship is assigned by one. Consist of two parts: type of ship and number of design.
CR - Carrier
IF - Indirect Fire
SC - Scout
LR - Long range
SR - Short range
SP - Support
So all ships using first IF design would get typeid IF01, when modifying/refitting ship, it last part of number would change to first free number available in that category.[/img]