summaryrefslogtreecommitdiff
path: root/src/xtoq/XtoqController.m
diff options
context:
space:
mode:
authorJess VanDerwalker <washu@sonic.net>2012-03-13 20:59:13 -0700
committerJess VanDerwalker <washu@sonic.net>2012-03-13 20:59:13 -0700
commit4134e98b15ffcc2463b6c197b5fbc2dca9d53c4b (patch)
tree3cc1fcb0a388db8c62a7faee1c9100bbaa02889e /src/xtoq/XtoqController.m
parented5b88f64ecec95d967a42babc86a12a35d77fea (diff)
More code cleanup.
Diffstat (limited to 'src/xtoq/XtoqController.m')
-rw-r--r--src/xtoq/XtoqController.m9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/xtoq/XtoqController.m b/src/xtoq/XtoqController.m
index 9990355..3671dc1 100644
--- a/src/xtoq/XtoqController.m
+++ b/src/xtoq/XtoqController.m
@@ -431,9 +431,6 @@
newView = [[XtoqView alloc] initWithFrame:imgRec];
[newView setContext:windowContext];
- // set the initial image in the window
- // [newView setImage:imageRep];
-
// add view to its window
[newWindow setContentView: newView ];
@@ -475,13 +472,7 @@
float y_transformed;
NSRect newDamageRect;
-// libImageT = test_xtoq_get_image(windowContext);
-
y_transformed =( windowContext->height - windowContext->damaged_y - windowContext->damaged_height)/1.0;
-// imageNew = [[XtoqImageRep alloc] initWithData:libImageT
-// x:((windowContext->damaged_x))
-// y:y_transformed];
-
newDamageRect = NSMakeRect(windowContext->damaged_x,
y_transformed,
windowContext->damaged_width,