Simon

Untitled

Apr 13th, 2012
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.25 KB | None | 0 0
  1. ui::Button * openButton = new ui::Button(ui::Point(0, Size.Y-16), ui::Point(50, 16), "Open");
  2. openButton->SetAlignment(AlignLeft, AlignMiddle);
  3. openButton->SetIcon(IconOpen);
  4. openButton->SetActionCallback(new OpenAction(this));
  5. AddComponent(openButton);
Advertisement
Add Comment
Please, Sign In to add comment