vlc | branch: master | Marvin Scholz <epira...@gmail.com> | Tue Oct 9 08:35:21 2018 +0200| [e15768713172b71a599cedf66412c3de86ccb324] | committer: Marvin Scholz
macosx: Remove unused VLCThreePartImageView class > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e15768713172b71a599cedf66412c3de86ccb324 --- modules/gui/macosx/misc.h | 10 ---------- modules/gui/macosx/misc.m | 29 ----------------------------- 2 files changed, 39 deletions(-) diff --git a/modules/gui/macosx/misc.h b/modules/gui/macosx/misc.h index 796e4680e5..5361895e6a 100644 --- a/modules/gui/macosx/misc.h +++ b/modules/gui/macosx/misc.h @@ -58,16 +58,6 @@ @end /***************************************************************************** - * VLCThreePartImageView interface - *****************************************************************************/ -@interface VLCThreePartImageView : NSView - -- (void)setImagesLeft:(NSImage *)left middle: (NSImage *)middle right:(NSImage *)right; - -@end - - -/***************************************************************************** * PositionFormatter interface * * Formats a text field to only accept decimals and : diff --git a/modules/gui/macosx/misc.m b/modules/gui/macosx/misc.m index ac80878619..84eec2e7d1 100644 --- a/modules/gui/macosx/misc.m +++ b/modules/gui/macosx/misc.m @@ -168,35 +168,6 @@ @end -/***************************************************************************** - * VLCThreePartImageView interface - *****************************************************************************/ - -@interface VLCThreePartImageView() -{ - NSImage *_left_img; - NSImage *_middle_img; - NSImage *_right_img; -} -@end - -@implementation VLCThreePartImageView - -- (void)setImagesLeft:(NSImage *)left middle: (NSImage *)middle right:(NSImage *)right -{ - _left_img = left; - _middle_img = middle; - _right_img = right; -} - -- (void)drawRect:(NSRect)rect -{ - NSRect bnds = [self bounds]; - NSDrawThreePartImage( bnds, _left_img, _middle_img, _right_img, NO, NSCompositeSourceOver, 1, NO ); -} - -@end - @interface PositionFormatter() { NSCharacterSet *o_forbidden_characters; _______________________________________________ vlc-commits mailing list vlc-commits@videolan.org https://mailman.videolan.org/listinfo/vlc-commits