diff options
author | Ptyl Dragon <ptyl@cloudon.com> | 2013-10-31 15:20:13 +0200 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2013-11-15 16:51:58 +0100 |
commit | 2a7ccf0c0a89438891bbe067e1772d5c093868b6 (patch) | |
tree | b803a897e61634d2f743f8964b97e199fa909e6d /ios | |
parent | 50db10cac34203040abf7d04eae2f9f8dc0d3ed7 (diff) |
added units MLODpxes and MLORips
Change-Id: Ica09fbd0f6a822f464df302dba4cf40d1d089697
Diffstat (limited to 'ios')
-rw-r--r-- | ios/shared/ios_sharedlo/objective_c/view_controllers/testing_tiles/MLOTestingTile.m | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/ios/shared/ios_sharedlo/objective_c/view_controllers/testing_tiles/MLOTestingTile.m b/ios/shared/ios_sharedlo/objective_c/view_controllers/testing_tiles/MLOTestingTile.m index 14428ceba00b..f0661169e1cf 100644 --- a/ios/shared/ios_sharedlo/objective_c/view_controllers/testing_tiles/MLOTestingTile.m +++ b/ios/shared/ios_sharedlo/objective_c/view_controllers/testing_tiles/MLOTestingTile.m @@ -53,14 +53,12 @@ touch_lo_draw_tile(context, self.tester.params.contextWidth, self.tester.params.contextHeight, - self.tester.params.tilePosX, - self.tester.params.tilePosY, - self.tester.params.tileWidth, - self.tester.params.tileHeight); + MLODpxPointByDpxes(self.tester.params.tilePosX,self.tester.params.tilePosY), + MLODpxSizeByDpxes(self.tester.params.tileWidth,self.tester.params.tileHeight)); CGContextRestoreGState(context); - CGSize size = touch_lo_get_content_size(); + MLODpxSize size = touch_lo_get_content_size(); NSLog(@"touch_lo_get_content_size: width=%f, height=%f",size.width, size.height); } |