| ▲ | aninteger 3 days ago | |
The best example I can think of is the Win32 controls UI (user32/Create window/RegisterClass) in C. You likely can't read the source code for this but you can see how Wine did it or Wine alternatives (like NetBSD's PEACE runtime, now abandoned). Actually the only toolkit that I know that sort of copied this style is Nakst's Luigi toolkit (also in C). Neither really used inheritance and use composition with "message passing" sent to different controls. | ||