| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218 |
- if nil == ccui then
- return
- end
- ccui.BrightStyle =
- {
- none = -1,
- normal = 0,
- highlight = 1,
- }
- ccui.TextureResType =
- {
- localType = 0,
- plistType = 1,
- }
- ccui.TouchEventType =
- {
- began = 0,
- moved = 1,
- ended = 2,
- canceled = 3,
- }
- ccui.SizeType =
- {
- absolute = 0,
- percent = 1,
- }
- ccui.PositionType = {
- absolute = 0,
- percent = 1,
- }
- ccui.CheckBoxEventType =
- {
- selected = 0,
- unselected = 1,
- }
- ccui.RadioButtonEventType=
- {
- selected = 0,
- unselected = 1
- }
- ccui.RadioButtonGroupEventType=
- {
- select_changed = 0
- }
- ccui.TextFiledEventType =
- {
- attach_with_ime = 0,
- detach_with_ime = 1,
- insert_text = 2,
- delete_backward = 3,
- }
- ccui.LayoutBackGroundColorType =
- {
- none = 0,
- solid = 1,
- gradient = 2,
- }
- ccui.LayoutType =
- {
- ABSOLUTE = 0,
- VERTICAL = 1,
- HORIZONTAL = 2,
- RELATIVE = 3,
- }
- ccui.LayoutParameterType =
- {
- none = 0,
- linear = 1,
- relative = 2,
- }
- ccui.LinearGravity =
- {
- none = 0,
- left = 1,
- top = 2,
- right = 3,
- bottom = 4,
- centerVertical = 5,
- centerHorizontal = 6,
- }
- ccui.RelativeAlign =
- {
- alignNone = 0,
- alignParentTopLeft = 1,
- alignParentTopCenterHorizontal = 2,
- alignParentTopRight = 3,
- alignParentLeftCenterVertical = 4,
- centerInParent = 5,
- alignParentRightCenterVertical = 6,
- alignParentLeftBottom = 7,
- alignParentBottomCenterHorizontal = 8,
- alignParentRightBottom = 9,
- locationAboveLeftAlign = 10,
- locationAboveCenter = 11,
- locationAboveRightAlign = 12,
- locationLeftOfTopAlign = 13,
- locationLeftOfCenter = 14,
- locationLeftOfBottomAlign = 15,
- locationRightOfTopAlign = 16,
- locationRightOfCenter = 17,
- locationRightOfBottomAlign = 18,
- locationBelowLeftAlign = 19,
- locationBelowCenter = 20,
- locationBelowRightAlign = 21,
- }
- ccui.SliderEventType = {
- percentChanged = 0,
- slideBallDown = 1,
- slideBallUp = 2,
- slideBallCancel = 3
- }
- ccui.LoadingBarDirection = { LEFT = 0, RIGHT = 1}
- ccui.ScrollViewDir = {
- none = 0,
- vertical = 1,
- horizontal = 2,
- both = 3,
- }
- ccui.ScrollViewMoveDir = {
- none = 0,
- up = 1,
- down = 2,
- left = 3,
- right = 4,
- }
- ccui.ScrollviewEventType = {
- scrollToTop = 0,
- scrollToBottom = 1,
- scrollToLeft = 2,
- scrollToRight = 3,
- scrolling = 4,
- bounceTop = 5,
- bounceBottom = 6,
- bounceLeft = 7,
- bounceRight = 8,
- }
- ccui.ListViewDirection = {
- none = 0,
- vertical = 1,
- horizontal = 2,
- }
- ccui.ListViewMoveDirection = {
- none = 0,
- up = 1,
- down = 2,
- left = 3,
- right = 4,
- }
- ccui.ListViewEventType = {
- ONSELECTEDITEM_START = 0,
- ONSELECTEDITEM_END = 1,
- }
- ccui.PageViewEventType = {
- turning = 0,
- }
- ccui.PageViewDirection = {
- HORIZONTAL = 0,
- VERTICAL = 1
- }
- ccui.PVTouchDir = {
- touchLeft = 0,
- touchRight = 1,
- touchUp = 2,
- touchDown = 3
- }
- ccui.ListViewGravity = {
- left = 0,
- right = 1,
- centerHorizontal = 2,
- top = 3,
- bottom = 4 ,
- centerVertical = 5,
- }
- ccui.TextType = {
- SYSTEM = 0,
- TTF = 1,
- }
- ccui.LayoutComponent.HorizontalEdge = {
- None = 0,
- Left = 1,
- Right = 2,
- Center = 3,
- }
- ccui.LayoutComponent.VerticalEdge = {
- None = 0,
- Bottom = 1,
- Top = 2,
- Center = 3,
- }
|