REALbasic plugins
! Important Note About These Plugins !
Keep in mind, that these plugins are very, very old, and I've gotten reports that they don't quite work with the newest versions of REALbasic. I don't have any plans to update them, but I could conceivably be convinced.
REALbasic Plugins
REALbasic plugins are bits of code that extend the capabilities of the REALbasic development environment.
Useage Restrictions
All these plugins are copyright Paul Mitchum, and are free for your own use. The only restriction is that you acknowledge Paul Mitchum's copyright in, for instance, an about box in your software. Say something like: 'Portions of this program are copyright Paul Mitchum, used with permission.'
Each downloadable package contains a more detailed license agreement, but that's the gist of it.
Users of this software are also strongly encouraged to enjoy themselves as they move through this maze we call life, but this restriction is difficult to put into legally-binding language.
GrandUnifiedWindowExtension Plugin
Latest Version: 1.1.0. Updated: 10/27/02
GrandUnifiedWindowExtension Plugin adds extra functionality to the REALbasic Window class.
The focus of GrandUnifiedWindowExtension (GUWE) is to add commonly-used user interface elements to Window, in a quick and simple way. Elements such as:
- Mac OS X toolbar button support
- Mac OS X dock icon update
- Proxy icons (Mac OS)
- Window collapse/minimize (Mac and Win32)
- Outside dimensions and locations of windows, and window frame thickness on all sides (Mac and Win32)
Future releases will include other UI elements.
GUWE will work with all Macs supported by REALbasic new and old, including 68k. Win32 support for most functions.
New in v.1.1.0: Added proxy icon support. Properties/functions not prefixed with 'Mac-' work under Win32. 'Mac-' properties/functions have Win32 stub support (properties return useful defaults, functions have no effect).
Download - GrandUnifiedWindowExtension Plugin v.1.1.0
MacInternetConfig Plugin
Updated: 5/18/02
MacInternetConfig gives REALbasic programmers access to the InternetConfig API, including read/write access and mappings.
MacInternetConfig really does a lot, so check out the documentation link below, download it, and give it a try. It's free.
New in v.1.0.2: ShowURL() method with support for 68k platform.
MacInternetConfig 1.0.1 works with more Macs than REALbasic currently supports: 68k, PPC, Carbon.
Download - MacInternetConfig Plugin v.1.0.2
PictureDrawInto Plugin
PictureDrawInto extends REALbasic's Picture class with a single overloaded method: MacDrawIntoCGrafPtr()
MacDrawIntoCGrafPtr allows you to draw a Picture object into any Macintosh CGrafPtr context. Overloading allows you to either scale the image to fill the context, or give destination coordinates within the context. Images can also be drawn with white as transparent.
PictureDrawInto 1.0 works with more Macs than REALbasic currently supports: 68k, PPC, Carbon.
Download - PictureDrawInto Plugin v.1.0
MacAppProcess Plugin v.1.0.2
Updated: 4/20/02
MacAppProcess extends the Application class with some useful properties and methods:
- App.CarbonParentBundle: Get a reference to your app's containing bundle.
- App.CarbonBundleResource: Easy access to any file in the bundle's Resources folder.
- App.CarbonBundleResourcesFolder: Get a reference to the bundle's Resources folder.
- App.CarbonRegisterHelp: Register your bundle's HelpBook with the system.
- App.MacRunningUnderClassic: Determine if your app is running under Classic.
- App.MacRunningUnderMacOSX: Determine if your app is running under Mac OS X.
- App.MacCreator: The creator code of your app, as reported by the Process Manager.
- App.MacFolderItem: The FolderItem used to launch your app.
- App.MacName: Your app's name, as reported by the Process Manager.
- App.MacSendToFront: Makes your app the frontmost.
MacAppProcess 1.0.2 works with more Macs than REALbasic currently supports: 68k, PPC, Carbon. Vestigial Win32 support is provided, so you won't have to make a separate project for Windows.
Download - MacAppProcess Plugin v.1.0.2
AquaPrefMenuEnable Plugin
This plugin lets REALbasic programmers enable and disable the Application -> Preferences menu item under Mac OS X. It also lets you set that menu item's keyboard shortcut.
AquaPrefMenuEnable 1.0 is compiled for Carbon and works with Macs running Mac OS X.
Included is v.1.1 of AquaAwareMenuItem, a set of REALbasic classes that make using this plugin that much easier.
Download - AquaPrefMenuEnable Plugin v.1.0
MacMenuBarHeight Plugin
The MacMenuBarHeight plugin provides a single global method: MacMenuBarHeight as Integer. Guess what this method does. Yes, that's right, it returns the height of the Mac's menu bar in pixels. :-)
The MacMenuBarHeight plugin works for Macintosh platforms supported by REALbasic 3.5, including 68k, PPC, and Carbon.
The MacMenuBarHeight plugin replaces these Declare statements:
Declare Function GetMBarHeight Lib "InterfaceLib" () as Short Inline68K("3EB80BAA")
Declare Function GetMBarHeight Lib "CarbonLib" () as Short
Whether you'd like to keep track of this plugin or a few lines of code is up to you.
Download - MacMenuBarHeight Plugin v.1.0
- Login to post comments
