Using 3D camera movement as a model the following modifier keys will affect the level (amount) of highlighting:
Shift - Minimal. Currently this means no highlighting.
Control - Maximal. Draw lines connecting linedefs and sectors that
are related via a tag.
As you probably know some level editors show the relationship between linedefs and the tagged sector with a line connecting them. Since you may have already made a design decision to not do that I wanted to share an idea about how it could be opt-in, and how it could be patterned after 3D camera movement.
Since shift results in less camera movement, and control more, I decided to apply that to highlighting as well.
The shift key turns off all highlighting. This can be helpful when the user wants to the the original color of a highlighted or selected item. It can also be helpful to make the highlighted or selected items flash, to make them easier to see.
The control key draws additional highlighting. In particular it draws a line between the tagged items.
I consider this to be a rough draft with a few "TODO"s in it. There are things that I need to understand better, like the way event handling should work. It's more proof of concept.
Here's an example of what it looks like with the control key pressed. The vertical linedef on the right side is a switch that activates the two sectors.
Also, the whitespace change to m_bitvec_test.cpp is because the C++ compiler on one of my Linux systems didn't like the transition from tabs to spaces.
As you probably know some level editors show the relationship between linedefs and the tagged sector with a line connecting them. Since you may have already made a design decision to not do that I wanted to share an idea about how it could be opt-in, and how it could be patterned after 3D camera movement.
Since shift results in less camera movement, and control more, I decided to apply that to highlighting as well.
The shift key turns off all highlighting. This can be helpful when the user wants to the the original color of a highlighted or selected item. It can also be helpful to make the highlighted or selected items flash, to make them easier to see.
The control key draws additional highlighting. In particular it draws a line between the tagged items.
I consider this to be a rough draft with a few "TODO"s in it. There are things that I need to understand better, like the way event handling should work. It's more proof of concept.
Here's an example of what it looks like with the control key pressed. The vertical linedef on the right side is a switch that activates the two sectors.
Also, the whitespace change to
m_bitvec_test.cpp
is because the C++ compiler on one of my Linux systems didn't like the transition from tabs to spaces.