Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate zone manager and look-around mode to ui_adaptor #39683

Merged
merged 3 commits into from
Apr 19, 2020

Conversation

Qrox
Copy link
Contributor

@Qrox Qrox commented Apr 18, 2020

Summary

SUMMARY: Interface "Migrate zone manager and look-around mode to ui_adaptor"

Purpose of change

Migrate more UIs to ui_adaptor.

Describe the solution

Move code around and encapsulate it with ui_adaptor. Also added ui_manager::redraw() calls after closing UIs opened during activities so the screen is refreshed immediately after closing the UIs. Also fixed the blinking frequency of zone highlight when adding new zones.

Testing

Tested in tiles and curses by opening sub-UIs and resizing the game window.

@ZhilkinSerg ZhilkinSerg added [C++] Changes (can be) made in C++. Previously named `Code` Info / User Interface Game - player communication, menus, etc. labels Apr 19, 2020
@ZhilkinSerg ZhilkinSerg merged commit ced4d81 into CleverRaven:master Apr 19, 2020
@Qrox Qrox deleted the migrate-ui-7 branch April 19, 2020 09:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[C++] Changes (can be) made in C++. Previously named `Code` Info / User Interface Game - player communication, menus, etc.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants