-
Notifications
You must be signed in to change notification settings - Fork 0
Box
Bielen Pierre edited this page Jul 13, 2019
·
2 revisions
- newBox(title.s,*color,x,y)
- title -> String -> Title
- color -> Instance of Colors
- x -> Integer -> position X
- y -> Integer -> position Y
- free()
- getColors() return -> Instance of Colors
- getPosX() return -> Integer -> position X
- getPosY() return -> Integer -> position X
- getWidht() return -> Integer -> width
- getHeight() return -> Integer -> height
- getSelectedColor() return -> Integer -> color used when it's selected
- getData() return -> your personal data (Integer or Pointer)
- getTitle() return -> Instance of Title
- getLeftIcon() return -> Instance of Icon
- getRightIcon() return -> Instance of Icon
- getMargins() return -> Instance of Margins
- setPosX(x)
- x -> Integer -> position x
- setPosY(y)
- y -> Integer -> position y
- setSelectedColor(color)
- color -> Integer -> color with alpha
- setData(myData)
- myData -> Integer -> data as you want
- setLeftIcon(icon)
- icon -> Instance of Icon
- setRightIcon(icon)
- icon -> Instance of Icon
- addLeftContent(content)
- instance of Content child
- addRightContent(content)
- instance of Content child