home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
VSCPPv8.zip
/
VACPP
/
IBMCPP
/
samples
/
VISBUILD
/
DOODLE
/
DAREA
/
DAREA.H
< prev
next >
Wrap
Text File
|
1995-05-10
|
3KB
|
91 lines
#ifndef DAREA_H
#define DAREA_H
/******************************************************************************/
/* Doodle Sample Porgram - Version 1: Symbolic Definitions (DAREA.H) */
/* */
/* COPYRIGHT: Copyright (C) International Business Machines Corp., 1992,1993. */
/* */
/* DISCLAIMER OF WARRANTIES: */
/* The following [enclosed] code is sample code created by IBM */
/* Corporation. This sample code is not part of any standard IBM product */
/* and is provided to you solely for the purpose of assisting you in the */
/* development of your applications. The code is provided "AS IS", */
/* without warranty of any kind. IBM shall not be liable for any damages */
/* arising out of your use of the sample code, even if they have been */
/* advised of the possibility of such damages. */
/******************************************************************************/
//**************************************************************************
// window ids - used by IWindow constructors *
//**************************************************************************
// Tools Palette
#define BITMAP_ARROW 1
#define BITMAP_STYLECAN 2
#define BITMAP_ERASER 3
#define BITMAP_RECTANGLE 4
#define BITMAP_ELLIPSE 5
#define BITMAP_POLYGON 6
#define BITMAP_LINE 7
#define BITMAP_POLYLINE 8
#define BITMAP_FREEHAND 9
// Tools which are present in the DrawingArea
// But do not yet have Toolbar buttons
#define BITMAP_ARC 20
#define BITMAP_BITMAP 21
#define BITMAP_CHORD 22
#define BITMAP_PIE 23
#define BITMAP_TEXT 24
// Color Palette
#define BITMAP_PENCOLOR 40
#define BITMAP_FILCOLOR 41
#define BITMAP_REDFIL 42
#define BITMAP_GREENFIL 43
#define BITMAP_BLUEFIL 44
// Pen Width Palette
#define BITMAP_WIDTH 50
// Style Palette
#define BITMAP_STYLE 60
#define BITMAP_FRAMFILL 61
#define BITMAP_FRAMONLY 62
#define BITMAP_FILLONLY 63
// Title Palette
#define BITMAP_TTLTEXT 70
// Sample Bitmaps
#define BITMAP_SAMPLE1 80
#define BITMAP_SAMPLE2 81
#define BITMAP_SAMPLE3 82
#define BITMAP_SAMPLE4 83
// Sample Text Strings
#define STRING_SAMPLE1 1
#define STRING_SAMPLE2 2
#define STRING_SAMPLE3 3
#define STRING_SAMPLE4 4
// Defines for pointers
#define POINTER_MOVE 0x3001
#define POINTER_LINE 0x3002
#define POINTER_FREEHAND 0x3003
#define POINTER_RECTANGLE 0x3004
#define POINTER_ELLIPSE 0x3005
#define POINTER_POLYLINE 0x3006
#define POINTER_POLYGON 0x3007
#define POINTER_ARC 0x3008
#define POINTER_PIE 0x3009
#define POINTER_CHORD 0x300A
#define POINTER_TEXT 0x300B
#define POINTER_BITMAP 0x300C
#define POINTER_STYLECAN 0x300D
#define POINTER_ERASER 0x300E
#define LONG_OFFSET 100
#define FLYOVERTEXT_BLANK 0x3050
#endif