Consider removing almost-unused GUI2 widgets and windows #6540
Labels
Enhancement
Issues that are requests for new features or changes to existing ones.
Low Priority
Issues that will cause no meaningful problems if left unaddressed.
UI
User interface issues, including both back-end and front-end issues.
WML
Issues involving the WML engine or WML APIs.
An issue to put reminders of stuff spotted during other PRs, but too unrelated to the other PR to fix it there.
Some of the GUI2 code is either completely or almost unused. This is a low-priority issue to look at whether these classes could be useful, or whether they should be dropped.
[pane]
Implemented in src/gui/widgets/pane.cpp, this appears to only be used by the Debug Clock window. Start Wesnoth with the command line option
--clock
, and a new button appears on the title screen beneath "Quit" that shows the Debug Clock.The grow_direction enum that's being changed in #6470 is a mandatory attribute of
[pane]
, I suspect any C++ code that uses that enum could be removed. All changes to pane.cpp after 2012 seem to have been merely things that were applied to all the GUI code, rather than anything specific to that widget.The text was updated successfully, but these errors were encountered: