|
Version: 2.0.1 Posted: 2005-08-10 Build Requirements: N/A Runtime Requirements: Mac OS X Mac OS X 10.3 and later Download Sample (TypeServicesForUnicode.zip, 1.14M) |
||||||||
DescriptionThis is a sample program that demonstrates how to use the Apple Text Services For Unicode Imaging (ATSUI) technology in a Carbon Events based HIView architectured application. This sample code has been updated to include a project that produces a universal binary. No code changes were required for it to run correctly on the Developer Transition Systems. It contains a ready-to-use HIATSUIView which is a custom HIView The HIATSUIView handles: - getting and setting the text content - getting and setting the styles - getting and setting the selection - various features like colors, wrapping, framing, justification, and transparency - copying and dragging - scrolling and auto-scrolling - handling of double-clicks, triple-clicks, quadruple=clicks, click-and-drag, shift-clicking The TypeForServices code handles: - showing how to set the text - showing how to set the text and styles - showing how to rotate - showing how to handle font variants - showing how to handle font selection through the standard Font menu - showing how to handle font selection through the standard Font panel - showing how to instantiate the HIATSUIView from a nib - showing how to read a text file and set the HIATSUIView content - showing how to handle the clipboard - showing how to handle background pictures Document Revision History
|
|