Opened 8 years ago

Last modified 7 years ago

#3912 closed enhancement

GUI Highlighting — at Version 2

Reported by: scythetwirler Owned by:
Priority: Nice to Have Milestone:
Component: UI & Simulation Keywords:
Cc: Patch:

Description (last modified by sanderd17)

It would be really nice to have GUI Highlighting or rectangle drawing on various panels etc. for trigger maps (especially tutorials).

Entity Highlighting is already possible.

It can be handled similar to dialog boxes; send a message through the GuiInterface with some parameters (like the box position), which is parsed by the GUI.

Some hints to process it similar to dialog boxes and triggers: dialogs directory, messages.js (openDialog function), Triggers_demo.js.

Change History (2)

comment:1 by sanderd17, 8 years ago

This should be possible the same way dialogs are done:

Have some XML to define the rectangle, then some GUI JS code that communicates with the GuiInterface on where and how to show it.

comment:2 by sanderd17, 8 years ago

Description: modified (diff)
Keywords: simple added
Note: See TracTickets for help on using tickets.