// Pseudo-button mask definition for Deluxe Paint 4.5 // by Marco Zandonadi // Version 1.0, 25 September 1994 // // This file is meant to be used together with a printed mask on the tablet. The mask is // found in the distribution of GTDriver and is given in PageStream 2 // format. Note that the buttons that implement two functions (b0 and b1) are printed in // bold, so that they are easily recognizable. // // The p-button functions have been chosen in accordance with the following factors: // - keyboard shorcut presence (if a function has no hotkey it cannot be called via // p-buttons); // - complex functions first (functions that, i.e., open a panel or that require further // mouse activity are more useful to implement as p-buttons than functions that require a // mere key pressure: these functions are quicker to use via keyboard than via p-buttons); // - importance and usage-frequence of the function; // // This file is also intended as an example, showing how to implement GTDriver p-button // masks. If you write masks for other software, please, let us know by writing to // // Roberto Attias: // e-mail: attias@ghost.sm.dsi.unimi.it // UUCP: roby@utopia.adsp.sub.org // mail: Roberto Attias // Via Lissoni, 5 // 20162-I Milano // ITALY // // or to // Marco Zandonadi: // e-mail: zandonad@ghost.sm.dsi.unimi.it // UUCP: marcoz@utopia.adsp.sub.org // mail: Marco Zandonadi // Via Deledda, 23 // 20052-I Monza (MI) // ITALY // // Enjoy! // Metric definition Metric CM // Clip region definition Clip 0 0 -6 0 // First column of p-buttons Button -6 0 -4 2 b0 RCommand l // b0 = Load Picture requester Button -6 2 -4 4 b0 p // b0 = Palette Mixer b1 P // b1 = Arrange Palette requester Button -6 4 -4 6 b0 Control r // b0 = Range requester Button -6 6 -4 8 b0 , // b0 = Pick color Button -6 8 -4 10 b0 ` // b0 = Stencil on-off b1 ~ // b1 = Stencil make Button -6 10 -4 12 b0 LAlt z // b0 = Place brush handle Button -6 12 -4 14 b0 x // b0 = Brush flip horizontal b1 y // b1 = Brush flip vertical Button -6 14 -4 16 b0 LAlt a // b0 = Anim Control Panel on-off Button -6 16 -4 18 b0 LShift RAW \x37 // b0 = Move Requester Button -6 18 -4 20 b0 4 // b0 = Play animation continuously b1 6 // b1 = Play animation in ping-pong mode // Second column of p-buttons Button -4 0 -2 2 b0 RCommand s // b0 = Save Picture requester Button -4 2 -2 4 b0 Help // b0 = Selects Freehand tool and single pixel brush Button -4 4 -2 6 b0 s // b0 = Sketch button Button -4 6 -2 8 b0 v // b0 = Vector button b1 V // b1 = Spacing requester Button -4 8 -2 10 b0 f // b0 = Fill button b1 F // b1 = Fill Type requester Button -4 10 -3 12 b0 r // b0 = Unfilled Rectangle button b1 F // b1 = Fill Type requester Button -3 10 -2 12 b0 R // b0 = Filled Rectangle button b1 F // b1 = Fill Type requester Button -4 12 -2 14 b0 b // b0 = Brush selector button b1 B // b1 = Previous brush Button -4 14 -2 16 b0 g // b0 = Grid Switch button Button -4 16 -2 18 b0 RAW \x37 // b0 = Magnify button Button -4 18 -2 20 b0 u // b0 = Undo button // Third column of p-buttons Button -2 0 0 2 b0 RCommand p // b0 = Print Picture requester Button -2 2 0 4 b0 F10 // b0 = Toolbox & Menu Bar on/off b1 F9 // b1 = Menu Bar on/off Button -2 4 -1 6 b0 d // b0 = Draw button b1 F // b1 = Fill Type requester Button -1 4 0 6 b0 D // b0 = Filled Draw button b1 F // b1 = Fill Type requester Button -2 6 0 8 b0 q // b0 = Curve button b1 V // b1 = Spacing requester Button -2 8 -1 10 b0 e // b0 = Ellipse button b1 F // b1 = Fill Type requester Button -1 8 0 10 b0 E // b0 = Filled Ellipse button b1 F // b1 = Fill Type requester Button -2 10 -1 12 b0 c // b0 = Circle button b1 F // b1 = Fill Type requester Button -1 10 0 12 b0 C // b0 = Filled Circle button b1 F // b1 = Fill Type requester Button -2 12 0 14 b0 t // b0 = Text button b1 T // b1 = Text requester Button -2 14 0 16 b0 / // b0 = Simmetry button Button -2 16 0 18 b0 LShift RAW \x39 // b0 = Increase magnification b1 LShift RAW \x38 // b1 = Decrease magnification Button -2 18 0 20 b0 K // b0 = Clear button