OSDN Git Service

MacGui: Add the Disc icon for the toolbar that I forgot in the last commit :(
authordynaflash <dynaflash@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Fri, 27 Jul 2007 16:01:33 +0000 (16:01 +0000)
committerdynaflash <dynaflash@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Fri, 27 Jul 2007 16:01:33 +0000 (16:01 +0000)
- changed the NSTimer for UpdateUI from .2 to .5 which should alleviate a bit of the gui's overhead and HB can use all of the cpu cycles it can get.

git-svn-id: svn://localhost/HandBrake/trunk@751 b64f7644-9d1e-0410-96f1-a4d463321fa5

macosx/Controller.mm
macosx/icons/Disc.tiff [new file with mode: 0644]

index e811797..39b1f11 100644 (file)
@@ -851,7 +851,7 @@ list = hb_get_titles( fHandle );
        }
        
     [[NSRunLoop currentRunLoop] addTimer: [NSTimer
-        scheduledTimerWithTimeInterval: 0.2 target: self
+        scheduledTimerWithTimeInterval: 0.5 target: self
                                                          selector: @selector( UpdateUI: ) userInfo: NULL repeats: FALSE]
                                                                 forMode: NSModalPanelRunLoopMode];
 }
diff --git a/macosx/icons/Disc.tiff b/macosx/icons/Disc.tiff
new file mode 100644 (file)
index 0000000..ec5d0a3
Binary files /dev/null and b/macosx/icons/Disc.tiff differ