|
Mac OS 9
|
Control Strip (for Powerbooks and Duos) Interfaces. More...
Go to the source code of this file.
Enumerations | |
| enum | { sdevInitModule = 0 , sdevCloseModule = 1 , sdevFeatures = 2 , sdevGetDisplayWidth = 3 , sdevPeriodicTickle = 4 , sdevDrawStatus = 5 , sdevMouseClick , sdevSaveSettings , sdevShowBalloonHelp } |
| enum | { sdevWantMouseClicks = 0 , sdevDontAutoTrack = 1 , sdevHasCustomHelp = 2 , sdevKeepModuleLocked = 3 } |
| enum | { sdevResizeDisplay = 0 , sdevNeedToSave = 1 , sdevHelpStateChange , sdevCloseNow = 3 } |
| enum | { sdevFileType = FOUR_CHAR_CODE('sdev') } |
| enum | { sdevMenuItemMark = 0xA5 } |
| enum | { BarGraphSlopeLeft = -1 , BarGraphFlatRight = 0 , BarGraphSlopeRight = 1 } |
Functions | |
| Boolean | SBIsControlStripVisible (void) |
| void | SBShowHideControlStrip (Boolean showIt) |
| Boolean | SBSafeToAccessStartupDisk (void) |
| short | SBOpenModuleResourceFile (OSType fileCreator) |
| OSErr | SBLoadPreferences (ConstStr255Param prefsResourceName, Handle *preferences) |
| OSErr | SBSavePreferences (ConstStr255Param prefsResourceName, Handle preferences) |
| void | SBGetDetachedIndString (StringPtr theString, Handle stringList, short whichString) |
| OSErr | SBGetDetachIconSuite (Handle *theIconSuite, short theResID, unsigned long selector) |
| short | SBTrackPopupMenu (const Rect *moduleRect, MenuRef theMenu) |
| short | SBTrackSlider (const Rect *moduleRect, short ticksOnSlider, short initialValue) |
| OSErr | SBShowHelpString (const Rect *moduleRect, StringPtr helpString) |
| short | SBGetBarGraphWidth (short barCount) |
| void | SBDrawBarGraph (short level, short barCount, short direction, Point barGraphTopLeft) |
| void | SBModalDialogInContext (ModalFilterUPP filterProc, short *itemHit) |
| OSErr | SBGetControlStripFontID (short *fontID) |
| OSErr | SBSetControlStripFontID (short fontID) |
| OSErr | SBGetControlStripFontSize (short *fontSize) |
| OSErr | SBSetControlStripFontSize (short fontSize) |
| OSErr | SBGetShowHideHotKey (short *modifiers, unsigned char *keyCode) |
| OSErr | SBSetShowHideHotKey (short modifiers, unsigned char keyCode) |
| OSErr | SBIsShowHideHotKeyEnabled (Boolean *enabled) |
| OSErr | SBEnableShowHideHotKey (Boolean enabled) |
| short | SBHitTrackSlider (const Rect *moduleRect, short ticksOnSlider, short initialValue, Boolean *hit) |
Control Strip (for Powerbooks and Duos) Interfaces.
For bug reports, consult the following page on the World Wide Web:
http://developer.apple.com/bugreporter/
| anonymous enum |
| anonymous enum |
| anonymous enum |
| anonymous enum |
| void SBDrawBarGraph | ( | short | level, |
| short | barCount, | ||
| short | direction, | ||
| Point | barGraphTopLeft | ||
| ) |
| OSErr SBEnableShowHideHotKey | ( | Boolean | enabled | ) |
| short SBGetBarGraphWidth | ( | short | barCount | ) |
| OSErr SBGetControlStripFontID | ( | short * | fontID | ) |
The following routines are available in Control Strip 1.2 and later. SBGetControlStripFontID()
| OSErr SBGetControlStripFontSize | ( | short * | fontSize | ) |
| void SBGetDetachedIndString | ( | StringPtr | theString, |
| Handle | stringList, | ||
| short | whichString | ||
| ) |
| OSErr SBGetDetachIconSuite | ( | Handle * | theIconSuite, |
| short | theResID, | ||
| unsigned long | selector | ||
| ) |
| OSErr SBGetShowHideHotKey | ( | short * | modifiers, |
| unsigned char * | keyCode | ||
| ) |
| short SBHitTrackSlider | ( | const Rect * | moduleRect, |
| short | ticksOnSlider, | ||
| short | initialValue, | ||
| Boolean * | hit | ||
| ) |
The following routines are available in Control Strip 1.4 and later. SBHitTrackSlider()
| Boolean SBIsControlStripVisible | ( | void | ) |
| OSErr SBIsShowHideHotKeyEnabled | ( | Boolean * | enabled | ) |
| OSErr SBLoadPreferences | ( | ConstStr255Param | prefsResourceName, |
| Handle * | preferences | ||
| ) |
| void SBModalDialogInContext | ( | ModalFilterUPP | filterProc, |
| short * | itemHit | ||
| ) |
| short SBOpenModuleResourceFile | ( | OSType | fileCreator | ) |
| Boolean SBSafeToAccessStartupDisk | ( | void | ) |
| OSErr SBSavePreferences | ( | ConstStr255Param | prefsResourceName, |
| Handle | preferences | ||
| ) |
| OSErr SBSetControlStripFontID | ( | short | fontID | ) |
| OSErr SBSetControlStripFontSize | ( | short | fontSize | ) |
| OSErr SBSetShowHideHotKey | ( | short | modifiers, |
| unsigned char | keyCode | ||
| ) |
| void SBShowHideControlStrip | ( | Boolean | showIt | ) |
| short SBTrackSlider | ( | const Rect * | moduleRect, |
| short | ticksOnSlider, | ||
| short | initialValue | ||
| ) |