Ruler View for WASTE 2.x Running
Under OSX Jaguar
This is the HIViewRef version of the former
RulerCDEF custom control. The Ruler View is therefore an ongoing
project, subject to continual improvement. The code may be freely
used in freeware and shareware. Features include the
following:
- Left, right, first line and tandem left/first line paragraph
indent adjustment
- Tab support, including a tab detail dialog when a tab is
double-clicked
- Contextual menu support
- Help Manager help tags
- Live indent settings tags during indicator/tab drags
- Ruler scalable in inches, centimeters, points and picas
- The ruler requires very little interaction with the client application.
Simply register the ruler object subclass with your application at
startup and create a ruler object for each document. The ruler is
self-updating.
CLICK HERE to
download the entire package (512 KB)
The package contains PB projects for a small demo, the RulerView library
and the WASTE scrolling view library. All source code is included. As always,
use the code at your own risk.
If you'd like the old Custom Control Definition version
(RulerCDEF) for Mac OS 9, it can be downloaded by clicking HERE
(about 300 KB). The package includes a modified WEDemo application,
CodeWarrior project files for the demo and the ruler library, and all
source code files.
RichardLaws@eudoramail.com
This page last updated August 26, 2003