Jump to content
  • Advertisement
  • entries
  • comments
  • views


Sign in to follow this  


Just a quick update so you guys can try the new demo. Please tell me if you have any issues!

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);

Button* pBtn = new Button;
pBtn->Set(pDlg, "Close", x, y, width, height, id, overlay);

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!!!
Sign in to follow this  


Recommended Comments

GUI seems to work great.

Though, visually, I'm having some problems overhere on my machine.

Share this comment

Link to comment
Well, I didn't see that coming. Evidentally I have a rounding error somewhere since it looks like everything is off by a pixel or 2 (on dave's it looks like it's over to the left and down, on my mom's it looks like it's just down, etc.) I'll have to look into this later when I get a chance.

Share this comment

Link to comment
Ok, I think I fixed it (atleast it works on my computers and il_dave's computer now.) So, I uploaded a new demo. Check it out; all the cool kids are.

Share this comment

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!