mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-13 01:29:11 +01:00
d14efe561b
long become wxWidgets 2.9.2, which in turn is expected to be the last 2.9 release before the 3.0 stable release. Since the full wxWidgets distribution is rather large, I have imported only the parts that we use, on a subdirectory basis: art include/wx/*.* include/wx/aui include/wx/cocoa include/wx/generic include/wx/gtk include/wx/meta include/wx/msw include/wx/osx include/wx/persist include/wx/private include/wx/protocol include/wx/unix src/aui src/common src/generic src/gtk src/msw src/osx src/unix git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7380 8ced0084-cf51-0410-be5f-012b33b47a6e
48 lines
1.5 KiB
C++
48 lines
1.5 KiB
C++
/////////////////////////////////////////////////////////////////////////////
|
|
// Name: wx/cocoa/NSSlider.h
|
|
// Purpose: wxCocoaNSSlider class
|
|
// Author: Mark Oxenham
|
|
// Modified by: David Elliott
|
|
// Created: 2007/08/10
|
|
// RCS-ID: $Id: NSSlider.h 64940 2010-07-13 13:29:13Z VZ $
|
|
// Copyright: (c) 2007 Software 2000 Ltd. All rights reserved.
|
|
// Licence: wxWindows licence
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
#ifndef _WXNSSLIDER_H_
|
|
#define _WXNSSLIDER_H_
|
|
|
|
#include "wx/hashmap.h"
|
|
#include "wx/cocoa/ObjcAssociate.h"
|
|
#include "wx/cocoa/ObjcRef.h"
|
|
|
|
DECLARE_WXCOCOA_OBJC_CLASS(NSSlider);
|
|
|
|
WX_DECLARE_OBJC_HASHMAP(NSSlider);
|
|
|
|
// For when we're not in Objective-C mode:
|
|
typedef struct objc_selector *SEL;
|
|
|
|
class wxCocoaNSSliderLastSelectorChanger;
|
|
|
|
class wxCocoaNSSlider
|
|
{
|
|
friend class wxCocoaNSSliderLastSelectorChanger;
|
|
WX_DECLARE_OBJC_INTERFACE_HASHMAP(NSSlider);
|
|
public:
|
|
void AssociateNSSlider(WX_NSSlider cocoaNSSlider);
|
|
void DisassociateNSSlider(WX_NSSlider cocoaNSSlider);
|
|
|
|
virtual void CocoaNotification_startTracking(WX_NSNotification notification) = 0;
|
|
virtual void CocoaNotification_continueTracking(WX_NSNotification notification) = 0;
|
|
virtual void CocoaNotification_stopTracking(WX_NSNotification notification) = 0;
|
|
|
|
static SEL GetLastResponderSelector()
|
|
{ return sm_lastResponderSelector; }
|
|
protected:
|
|
virtual ~wxCocoaNSSlider() { }
|
|
static SEL sm_lastResponderSelector;
|
|
};
|
|
|
|
#endif
|