Advertisement
Guest User

Untitled

a guest
Aug 2nd, 2012
25
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.64 KB | None | 0 0
  1. #import "WeMacros.h"
  2. #import "WeViews.h"
  3.  
  4. WePanel* panel = [[WePanel create]
  5. withOpaqueBackground:UIColorRGB(0xBFBFBF)];
  6.  
  7. [[[panel addHorizontal:[NSArray arrayWithObjects:
  8. [[[WeButton createWithImage:@"button1.png"]
  9. setDownImage:@"button1_down.png"]
  10. addClickSelector:@selector(someSelector)
  11. target:self],
  12. [WeButton createWithImage:@"button2.png"],
  13. [WeButton createWithImage:@"button3.png"],
  14. nil]]
  15. withMargin:10]
  16. withHAlign:H_ALIGN_RIGHT
  17. vAlign:V_ALIGN_BOTTOM];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement