home *** CD-ROM | disk | FTP | other *** search
Text File | 1996-03-19 | 1.3 KB | 58 lines | [TEXT/CWIE] |
- // CSliders.h -- window class
- // Created 3/19/96 12:49 PM by AppMaker
-
- #pragma once
-
- #include <LWindow.h>
- #include <LListener.h>
-
- class CGadgetsData;
- class LStream;
-
- class LStdControl;
-
- //----------
- class CSliders : public LWindow,
- public LListener {
- public:
- static CSliders* CreateSliders (LCommander *inSuperCommander,
- CGadgetsData *inData);
-
- static CSliders* CreateSlidersStream (LStream *inStream);
-
- CSliders();
- CSliders (LStream *inStream);
- virtual ~CSliders();
-
- virtual void ListenToMessage (MessageT inMessage,
- void *ioParam);
-
- virtual Boolean ObeyCommand (CommandT inCommand,
- void *ioParam = nil);
- virtual void FindCommandStatus (CommandT inCommand,
- Boolean &outEnabled,
- Boolean &outUsesMark,
- Char16 &outMark,
- Str255 outName);
- virtual Boolean FocusDraw();
-
- protected:
- static void RegisterClass();
- virtual void FinishCreateSelf();
- virtual void ConnectToData (CGadgetsData *inData);
-
- protected:
-
- protected:
- static Boolean sIsRegistered;
-
- CGadgetsData *mData;
-
- // Panes in this window:
- LStdControl* mVerticalScroll;
- LStdControl* mSliderScroll;
- LStdControl* mSpinnerScroll;
- LStdControl* mHorizontalScroll;
- LStdControl* mPictSliderScroll;
- };
-