With current design it's hard to switch to other libraries so we want to have modular design. And then we could switch for example from wxWidgets to Qt easily in the future.
By modular design i mean having functionality separated into modules so when one module is deleted the whole program still works somehow and it's not that devastating.
Example structure would look like this:
- Frontend (all drawing, wxWidgets currently)
- Backend (functionality of tools and others)
- Core (communication between modules)
With current design it's hard to switch to other libraries so we want to have modular design. And then we could switch for example from wxWidgets to Qt easily in the future.
By modular design i mean having functionality separated into modules so when one module is deleted the whole program still works somehow and it's not that devastating.
Example structure would look like this: