From 0038caed2a4c4c54d1256722109b6362fda05453 Mon Sep 17 00:00:00 2001 From: AJ Kelly Date: Sat, 9 Jul 2011 13:12:01 -0500 Subject: [PATCH] fuck, I committed this? --- src/ScreenDebugOverlay.cpp | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) diff --git a/src/ScreenDebugOverlay.cpp b/src/ScreenDebugOverlay.cpp index e921fb98e2..dd8a50b27b 100644 --- a/src/ScreenDebugOverlay.cpp +++ b/src/ScreenDebugOverlay.cpp @@ -569,7 +569,6 @@ static LocalizedString WRITE_PREFERENCES ( "ScreenDebugOverlay", "Write Preferen static LocalizedString MENU_TIMER ( "ScreenDebugOverlay", "Menu Timer" ); static LocalizedString FLUSH_LOG ( "ScreenDebugOverlay", "Flush Log" ); static LocalizedString PULL_BACK_CAMERA ( "ScreenDebugOverlay", "Pull Back Camera" ); -static LocalizedString ZOOM_IN_CAMERA ( "ScreenDebugOverlay", "Zoom In Camera" ); static LocalizedString VISUAL_DELAY_UP ( "ScreenDebugOverlay", "Visual Delay Up" ); static LocalizedString VISUAL_DELAY_DOWN ( "ScreenDebugOverlay", "Visual Delay Down" ); static LocalizedString VOLUME_UP ( "ScreenDebugOverlay", "Volume Up" ); @@ -1102,7 +1101,7 @@ class DebugLinePullBackCamera : public IDebugLine { virtual RString GetDisplayTitle() { return PULL_BACK_CAMERA.GetValue(); } virtual RString GetDisplayValue() { return RString(); } - virtual bool IsEnabled() { return g_fImageScaleDestination < 1.0f; } + virtual bool IsEnabled() { return g_fImageScaleDestination != 1; } virtual void DoAndLog( RString &sMessageOut ) { if( g_fImageScaleDestination == 1 ) @@ -1113,21 +1112,6 @@ class DebugLinePullBackCamera : public IDebugLine } }; -class DebugLineZoomInCamera : public IDebugLine -{ - virtual RString GetDisplayTitle() { return ZOOM_IN_CAMERA.GetValue(); } - virtual RString GetDisplayValue() { return RString(); } - virtual bool IsEnabled() { return g_fImageScaleDestination > 1.0f; } - virtual void DoAndLog( RString &sMessageOut ) - { - if( g_fImageScaleDestination == 1 ) - g_fImageScaleDestination = 2.0f; - else - g_fImageScaleDestination = 1; - IDebugLine::DoAndLog( sMessageOut ); - } -}; - class DebugLineVolumeUp : public IDebugLine { virtual RString GetDisplayTitle() { return VOLUME_UP.GetValue(); } @@ -1242,7 +1226,6 @@ DECLARE_ONE( DebugLineWritePreferences ); DECLARE_ONE( DebugLineMenuTimer ); DECLARE_ONE( DebugLineFlushLog ); DECLARE_ONE( DebugLinePullBackCamera ); -DECLARE_ONE( DebugLineZoomInCamera ); DECLARE_ONE( DebugLineVolumeUp ); DECLARE_ONE( DebugLineVolumeDown ); DECLARE_ONE( DebugLineVisualDelayUp );