Skip to content

Room navigator#51

Merged
chreden merged 17 commits intomasterfrom
room-navigator
Mar 3, 2018
Merged

Room navigator#51
chreden merged 17 commits intomasterfrom
room-navigator

Conversation

@chreden
Copy link
Copy Markdown
Owner

@chreden chreden commented Mar 3, 2018

Creates the room navigator control which gets added to the main tool window. The room navigator control lets the user select a room and toggle highlighting. (#13)

  • To help out with layout, I've added a StackPanel control which puts controls one after another either horizontally or vertically. It's not particularly smart at the moment but can be improved later.
    The
  • The old RoomWindow is now gone, everything it did is now done by the navigator.
  • The code to set up the room UI is now all inside the navigator
  • TextureStorage has been split into TextureStorage and LevelTextureStorage. TextureStorage can provide a coloured texture and LevelTextureStorage does all the other bits that level related things need.
  • Point going a default constructor.
  • Event class now has operator() instead of raise - all usages updated.
  • Usage of stringstream for converting to and from string has been replaced with std::to_wstring/std::toul

The stack panel arranges the items added to it vertically with the padding specified when it is created.
Stackpanels inside stackpanels
Re-implement it in the main tool window
It isn't finished
Split ITextureStorage into ILevelTextureStorage and ITextureStorage
Create default constructor for the Point class
Remove room ui code from the viewer class
Add RoomInfo overload for one room
Don't store the state of highlighted
Pass state out of the button on click event
Add coloured to the texture storage interface
Add untextured to the level texture storage interface
Use coloured in room navigator window
Use this in the room navigator
Comments on the navigator
Move the adjustment of max_rooms into the navigator
Stack Panel will calculate them
Saves writing coloured() twice
Remove stringstream
This time with std::stoul
@chreden chreden added this to the v1.0.3 milestone Mar 3, 2018
@chreden chreden requested a review from jw-dev March 3, 2018 16:29
@chreden chreden self-assigned this Mar 3, 2018
@chreden chreden merged commit 271e565 into master Mar 3, 2018
@chreden chreden deleted the room-navigator branch March 3, 2018 17:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants