Mirror from http://deufeufeu.free.fr/devblog/?p=5 :
Maybe some of you are aware that I'm currently in the process of coding a gtk-like widget library. This is a long process because I want it to be easily used by anyone.Right now there's a basic widget system, with buttons, labels, box for packing widget, ect... It's still missing some really important features : redraw only when needed (invalidating rectangles) and separating the size request from the size allocation. Here is a screenshot :
And here the code used to generate it :
Maybe some of you are aware that I'm currently in the process of coding a gtk-like widget library. This is a long process because I want it to be easily used by anyone.Right now there's a basic widget system, with buttons, labels, box for packing widget, ect... It's still missing some really important features : redraw only when needed (invalidating rectangles) and separating the size request from the size allocation. Here is a screenshot :

And here the code used to generate it :
Code:
#include <dtk.h>
using namespace dtk;
Label *l;
void setLabel1(Button *btn) {