Once I get a chance I'm going to implement constructors for each class that allow you to change this:
Dialog* pDlg = new Dialog;pDlg->Set(0, "Dialog!", x, y, width, height, id);m_WidgetMgr.AddChild(pDlg);Button* pBtn = new Button;pBtn->Set(pDlg, "Close", x, y, width, height, id, overlay);pDlg->AddChild(pBtn);
To this:
Dialog* pDlg = m_WidgetMgr.AddChild(new Dialog(0, "Dialog!", x, y, width, height, id));pDlg->AddChild(new Button(pDlg, "Close", x, y, width, height, id, overlay));
Also, within a few months I'm going to be putting the entire library onto my website so that you guys can check it out. Before that though I'm going to write an article about it to document some of the choices I made (bad and good.)
Off to breakfast and then some hardcore work on Malathedra. YAY!!!
Though, visually, I'm having some problems overhere on my machine.