Commit 9380a280c54977b0796fe3ac1bb8166618ae8394
1 parent
f5a8e854
Change DrawMode::OVERLAY to DrawMode::OVERLAY_2D
Change-Id: If79d262a37658ab3de84e98abc399c20e135a391
Showing
5 changed files
with
7 additions
and
7 deletions
examples/item-view/item-view-example.cpp
| ... | ... | @@ -250,7 +250,7 @@ public: |
| 250 | 250 | mDeleteButton.SetParentOrigin(ParentOrigin::BOTTOM_RIGHT); |
| 251 | 251 | mDeleteButton.SetAnchorPoint(AnchorPoint::BOTTOM_RIGHT); |
| 252 | 252 | mDeleteButton.SetPosition( BUTTON_BORDER, BUTTON_BORDER ); |
| 253 | - mDeleteButton.SetDrawMode( DrawMode::OVERLAY ); | |
| 253 | + mDeleteButton.SetDrawMode( DrawMode::OVERLAY_2D ); | |
| 254 | 254 | mDeleteButton.SetButtonImage( ResourceImage::New( DELETE_IMAGE ) ); |
| 255 | 255 | mDeleteButton.SetSelectedImage( ResourceImage::New( DELETE_IMAGE_SELECTED ) ); |
| 256 | 256 | mDeleteButton.SetBackgroundImage( ResourceImage::New( TOOLBAR_IMAGE ) ); |
| ... | ... | @@ -265,7 +265,7 @@ public: |
| 265 | 265 | mInsertButton.SetParentOrigin(ParentOrigin::BOTTOM_RIGHT); |
| 266 | 266 | mInsertButton.SetAnchorPoint(AnchorPoint::BOTTOM_RIGHT); |
| 267 | 267 | mInsertButton.SetPosition( BUTTON_BORDER, BUTTON_BORDER ); |
| 268 | - mInsertButton.SetDrawMode( DrawMode::OVERLAY ); | |
| 268 | + mInsertButton.SetDrawMode( DrawMode::OVERLAY_2D ); | |
| 269 | 269 | mInsertButton.SetButtonImage( ResourceImage::New( INSERT_IMAGE ) ); |
| 270 | 270 | mInsertButton.SetSelectedImage( ResourceImage::New( INSERT_IMAGE_SELECTED ) ); |
| 271 | 271 | mInsertButton.SetBackgroundImage( ResourceImage::New( TOOLBAR_IMAGE ) ); |
| ... | ... | @@ -280,7 +280,7 @@ public: |
| 280 | 280 | mReplaceButton.SetParentOrigin(ParentOrigin::BOTTOM_RIGHT); |
| 281 | 281 | mReplaceButton.SetAnchorPoint(AnchorPoint::BOTTOM_RIGHT); |
| 282 | 282 | mReplaceButton.SetPosition( BUTTON_BORDER, BUTTON_BORDER ); |
| 283 | - mReplaceButton.SetDrawMode( DrawMode::OVERLAY ); | |
| 283 | + mReplaceButton.SetDrawMode( DrawMode::OVERLAY_2D ); | |
| 284 | 284 | mReplaceButton.SetButtonImage( ResourceImage::New( REPLACE_IMAGE ) ); |
| 285 | 285 | mReplaceButton.SetSelectedImage( ResourceImage::New( REPLACE_IMAGE_SELECTED ) ); |
| 286 | 286 | mReplaceButton.SetBackgroundImage( ResourceImage::New( TOOLBAR_IMAGE ) ); | ... | ... |
examples/text-label/text-label-example.cpp
| ... | ... | @@ -107,7 +107,7 @@ public: |
| 107 | 107 | mContainer.SetParentOrigin( ParentOrigin::CENTER ); |
| 108 | 108 | mLayoutSize = Vector2(stageSize.width*0.6f, stageSize.width*0.6f); |
| 109 | 109 | mContainer.SetSize( mLayoutSize ); |
| 110 | - mContainer.SetDrawMode( DrawMode::OVERLAY ); | |
| 110 | + mContainer.SetDrawMode( DrawMode::OVERLAY_2D ); | |
| 111 | 111 | stage.Add( mContainer ); |
| 112 | 112 | |
| 113 | 113 | // Resize the center layout when the corner is grabbed | ... | ... |
resources/scripts/animated-colors.json
resources/scripts/background-color.json
resources/scripts/table-view.json