Update of bug #4199 (project wesnoth):
Status: None => Invalid
_______________________________________________________
Follow-up Comment #3:
This view of the GUI was a bit misinformed and outdated.
MVC means Model-View-Controller; it's a common object oriented approach to
GUI. To compare it to Wesnoth, menu would be a Model, menu_style would be a
View, and events::pump would be a Controller. Wesnoth is not using classical
polling, as such, but it does poll the SDL_Event queue and handle events
through a single handler entry point.
I don't agree that adding a myriad of handler virtual function calls would be
advantageous, since the current (simpler) system is working fine.
However, I do find that the View and the Model are currently bound too
tightly together. (For example dialog styles are POD.) I have been making
gradual steps to pull the View and Model logic apart.
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?4199>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs