Skip to content

Commit

Permalink
modify sample ccbs
Browse files Browse the repository at this point in the history
modify sample ccbs
  • Loading branch information
nkligang committed Oct 6, 2014
1 parent 5dd14bd commit 2c5b9b6
Show file tree
Hide file tree
Showing 4 changed files with 236 additions and 15 deletions.
239 changes: 236 additions & 3 deletions samples/demo/assets/ccb/CCScrollView.ccb
Original file line number Diff line number Diff line change
Expand Up @@ -702,7 +702,7 @@
<key>type</key>
<string>IntegerLabeled</string>
<key>value</key>
<integer>2</integer>
<integer>1</integer>
</dict>
<dict>
<key>name</key>
Expand Down Expand Up @@ -740,8 +740,8 @@
<string>Position</string>
<key>value</key>
<array>
<real>56</real>
<real>144</real>
<real>0.0</real>
<real>107</real>
<integer>0</integer>
</array>
</dict>
Expand Down Expand Up @@ -862,6 +862,239 @@
</dict>
</array>
</dict>
<dict>
<key>baseClass</key>
<string>CCLayerColor</string>
<key>children</key>
<array>
<dict>
<key>baseClass</key>
<string>CCScrollView</string>
<key>children</key>
<array/>
<key>customClass</key>
<string></string>
<key>displayName</key>
<string>CCScrollView</string>
<key>memberVarAssignmentName</key>
<string>list</string>
<key>memberVarAssignmentType</key>
<integer>1</integer>
<key>properties</key>
<array>
<dict>
<key>name</key>
<string>contentSize</string>
<key>type</key>
<string>Size</string>
<key>value</key>
<array>
<real>120</real>
<real>240</real>
<integer>0</integer>
</array>
</dict>
<dict>
<key>name</key>
<string>anchorPoint</string>
<key>type</key>
<string>Point</string>
<key>value</key>
<array>
<real>0.5</real>
<real>0.5</real>
</array>
</dict>
<dict>
<key>name</key>
<string>scale</string>
<key>type</key>
<string>Float</string>
<key>value</key>
<real>1</real>
</dict>
<dict>
<key>name</key>
<string>ignoreAnchorPointForPosition</string>
<key>type</key>
<string>Check</string>
<key>value</key>
<true/>
</dict>
<dict>
<key>name</key>
<string>container</string>
<key>type</key>
<string>CCBFile</string>
<key>value</key>
<string>ccb/SubPanel.ccb</string>
</dict>
<dict>
<key>name</key>
<string>direction</string>
<key>type</key>
<string>IntegerLabeled</string>
<key>value</key>
<integer>0</integer>
</dict>
<dict>
<key>name</key>
<string>clipsToBounds</string>
<key>type</key>
<string>Check</string>
<key>value</key>
<false/>
</dict>
<dict>
<key>name</key>
<string>bounces</string>
<key>type</key>
<string>Check</string>
<key>value</key>
<false/>
</dict>
</array>
</dict>
</array>
<key>customClass</key>
<string></string>
<key>displayName</key>
<string>CCLayerColor</string>
<key>memberVarAssignmentName</key>
<string></string>
<key>memberVarAssignmentType</key>
<integer>0</integer>
<key>properties</key>
<array>
<dict>
<key>name</key>
<string>position</string>
<key>type</key>
<string>Position</string>
<key>value</key>
<array>
<real>180</real>
<real>58</real>
<integer>0</integer>
</array>
</dict>
<dict>
<key>name</key>
<string>contentSize</string>
<key>type</key>
<string>Size</string>
<key>value</key>
<array>
<real>120</real>
<real>240</real>
<integer>0</integer>
</array>
</dict>
<dict>
<key>name</key>
<string>anchorPoint</string>
<key>type</key>
<string>Point</string>
<key>value</key>
<array>
<real>0.5</real>
<real>0.5</real>
</array>
</dict>
<dict>
<key>name</key>
<string>scale</string>
<key>type</key>
<string>ScaleLock</string>
<key>value</key>
<array>
<real>1</real>
<real>1</real>
<false/>
<integer>0</integer>
</array>
</dict>
<dict>
<key>name</key>
<string>ignoreAnchorPointForPosition</string>
<key>type</key>
<string>Check</string>
<key>value</key>
<true/>
</dict>
<dict>
<key>name</key>
<string>touchEnabled</string>
<key>platform</key>
<string>iOS</string>
<key>type</key>
<string>Check</string>
<key>value</key>
<true/>
</dict>
<dict>
<key>name</key>
<string>accelerometerEnabled</string>
<key>platform</key>
<string>iOS</string>
<key>type</key>
<string>Check</string>
<key>value</key>
<false/>
</dict>
<dict>
<key>name</key>
<string>mouseEnabled</string>
<key>platform</key>
<string>Mac</string>
<key>type</key>
<string>Check</string>
<key>value</key>
<true/>
</dict>
<dict>
<key>name</key>
<string>keyboardEnabled</string>
<key>platform</key>
<string>Mac</string>
<key>type</key>
<string>Check</string>
<key>value</key>
<false/>
</dict>
<dict>
<key>name</key>
<string>color</string>
<key>type</key>
<string>Color3</string>
<key>value</key>
<array>
<integer>254</integer>
<integer>255</integer>
<integer>255</integer>
</array>
</dict>
<dict>
<key>name</key>
<string>opacity</string>
<key>type</key>
<string>Byte</string>
<key>value</key>
<integer>255</integer>
</dict>
<dict>
<key>name</key>
<string>blendFunc</string>
<key>type</key>
<string>Blendmode</string>
<key>value</key>
<array>
<integer>770</integer>
<integer>771</integer>
</array>
</dict>
</array>
</dict>
</array>
<key>customClass</key>
<string>PbCCScrollView</string>
Expand Down
Binary file modified samples/demo/assets/ccb/CCScrollView.ccbi
Binary file not shown.
12 changes: 0 additions & 12 deletions samples/demo/assets/ccb/SubPanel.ccb
Original file line number Diff line number Diff line change
Expand Up @@ -37,18 +37,6 @@
<integer>0</integer>
<key>properties</key>
<array>
<dict>
<key>name</key>
<string>position</string>
<key>type</key>
<string>Position</string>
<key>value</key>
<array>
<real>0.0</real>
<real>1</real>
<integer>0</integer>
</array>
</dict>
<dict>
<key>name</key>
<string>contentSize</string>
Expand Down
Binary file modified samples/demo/assets/ccb/SubPanel.ccbi
Binary file not shown.

0 comments on commit 2c5b9b6

Please sign in to comment.