I made such library for my engine, but it's not depend on the engine:
https://github.com/casteng/base/tree/dev/ACS
It works through an implementation of TScreen abstract class declared in BaseGraph unit.
The implementation should be able to draw graphic primitives and render text.
It also uses object-oriented (class based) message system instead of windows-like events.
The message system is mostly in this unit:
https://github.com/casteng/base/blob/dev/BaseMsg.pas
Bookmarks