[vlc-commits] macosx: Remove unused VLCThreePartImageView class
Marvin Scholz
git at videolan.org
Tue Oct 9 10:58:21 CEST 2018
vlc | branch: master | Marvin Scholz <epirat07 at 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
- *****************************************************************************/
- at interface VLCThreePartImageView : NSView
-
-- (void)setImagesLeft:(NSImage *)left middle: (NSImage *)middle right:(NSImage *)right;
-
- at 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
- *****************************************************************************/
-
- at interface VLCThreePartImageView()
-{
- NSImage *_left_img;
- NSImage *_middle_img;
- NSImage *_right_img;
-}
- at end
-
- at 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 );
-}
-
- at end
-
@interface PositionFormatter()
{
NSCharacterSet *o_forbidden_characters;
More information about the vlc-commits
mailing list