~ubuntu-branches/ubuntu/oneiric/kig/oneiric

« back to all changes in this revision

Viewing changes to filters/kgeo-resource.h

  • Committer: Bazaar Package Importer
  • Author(s): Harald Sitter
  • Date: 2011-07-10 11:57:38 UTC
  • Revision ID: james.westby@ubuntu.com-20110710115738-gdjnn1kctr49lmy9
Tags: upstream-4.6.90+repack
ImportĀ upstreamĀ versionĀ 4.6.90+repack

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/**
 
2
   This file is part of Kig, a KDE program for Interactive Geometry...
 
3
   Copyright (C) 2002  Dominique Devriese <devriese@kde.org>
 
4
 
 
5
   This program is free software; you can redistribute it and/or modify
 
6
   it under the terms of the GNU General Public License as published by
 
7
   the Free Software Foundation; either version 2 of the License, or
 
8
   (at your option) any later version.
 
9
 
 
10
   This program is distributed in the hope that it will be useful,
 
11
   but WITHOUT ANY WARRANTY; without even the implied warranty of
 
12
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
13
   GNU General Public License for more details.
 
14
 
 
15
   You should have received a copy of the GNU General Public License
 
16
   along with this program; if not, write to the Free Software
 
17
   Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301
 
18
   USA
 
19
**/
 
20
 
 
21
 
 
22
/// note: this code comes from KGeo by Marc Bartsch..
 
23
 
 
24
 
 
25
/***************************************************************************
 
26
                          resource.h  -  description
 
27
                             -------------------
 
28
    begin                : Die Okt  3 09:00:59 CEST 2000
 
29
    copyright            : (C) 2000 by Marc Bartsch
 
30
    email                : marc.bartsch@topmail.de
 
31
  ***************************************************************************/
 
32
 
 
33
/***************************************************************************
 
34
 *                                                                         *
 
35
 *   This program is free software; you can redistribute it and/or modify  *
 
36
 *   it under the terms of the GNU General Public License as published by  *
 
37
 *   the Free Software Foundation; either version 2 of the License, or     *
 
38
 *   (at your option) any later version.                                   *
 
39
 *                                                                         *
 
40
 ***************************************************************************/
 
41
 
 
42
#ifndef RESOURCE_H
 
43
#define RESOURCE_H
 
44
 
 
45
#include <iostream>
 
46
#include <qstring.h>
 
47
#include <klocale.h>
 
48
 
 
49
///////////////////////////////////////////////////////////////////
 
50
// resource.h  -- contains macros used for commands
 
51
 
 
52
 
 
53
///////////////////////////////////////////////////////////////////
 
54
// COMMAND VALUES FOR MENUBAR AND TOOLBAR ENTRIES
 
55
 
 
56
 
 
57
///////////////////////////////////////////////////////////////////
 
58
// File-menu entries
 
59
#define ID_FILE_NEW_WINDOW 10010
 
60
#define ID_FILE_NEW 10020
 
61
#define ID_FILE_OPEN 10030
 
62
#define ID_FILE_OPEN_RECENT 10040
 
63
#define ID_FILE_CLOSE 10050
 
64
 
 
65
#define ID_FILE_SAVE 10060
 
66
#define ID_FILE_SAVE_AS 10070
 
67
 
 
68
#define ID_FILE_PRINT 10080
 
69
 
 
70
#define ID_FILE_QUIT 10090
 
71
 
 
72
///////////////////////////////////////////////////////////////////
 
73
// Edit-menu entries
 
74
#define ID_EDIT_COPY 11010
 
75
#define ID_EDIT_CUT 11020
 
76
#define ID_EDIT_PASTE 11030
 
77
// domi: disabled, breaks --enable-final, and is not used anyway.
 
78
//#define ID_EDIT_PREFERENCES 11040
 
79
#define ID_EDIT_FULLSCREEN 11050
 
80
 
 
81
///////////////////////////////////////////////////////////////////
 
82
// View-menu entries
 
83
#define ID_VIEW_TOOLBAR 12010
 
84
#define ID_VIEW_STATUSBAR 12020
 
85
#define ID_VIEW_FULLSCREEN 12030
 
86
 
 
87
///////////////////////////////////////////////////////////////////
 
88
// Help-menu entries
 
89
#define ID_HELP_CONTENTS 1002
 
90
 
 
91
///////////////////////////////////////////////////////////////////
 
92
// General application values
 
93
#define ID_STATUS_MSG 1001
 
94
 
 
95
#define IDS_STATUS_DEFAULT "Ready."
 
96
 
 
97
#define ID_infinite -1
 
98
 
 
99
#define ID_point 1
 
100
#define ID_pointxy 14
 
101
#define ID_pointOnLine 15
 
102
#define ID_pointOfConc 7
 
103
#define ID_bisection 5
 
104
#define ID_mirrorPoint 9
 
105
 
 
106
#define ID_segment 2
 
107
#define ID_circle 3
 
108
#define ID_line 4
 
109
#define ID_fixedCircle 6
 
110
#define ID_arc 8
 
111
#define ID_eraser 10
 
112
#define ID_attacher 11
 
113
#define ID_tracer 12
 
114
#define ID_triangle 13
 
115
#define ID_colorizer 16
 
116
#define ID_thicker 17
 
117
#define ID_geoPoint 18
 
118
#define ID_geoTool 19
 
119
#define ID_geoObject 20
 
120
#define ID_geoMeasure 21
 
121
#define ID_distance 22
 
122
#define ID_angle 23
 
123
#define ID_area 24
 
124
#define ID_slope 25
 
125
#define ID_circumference 26
 
126
#define ID_vector 27
 
127
#define ID_geoLine 28
 
128
#define ID_ray 29
 
129
#define ID_parallel 30
 
130
#define ID_perpendicular 31
 
131
#define ID_move 32
 
132
#define ID_rotation 33
 
133
#define ID_text 34
 
134
 
 
135
#define ID_buttonFileNew 100
 
136
#define ID_buttonKiosk 101
 
137
 
 
138
#define ID_buttonPoint 110
 
139
#define ID_buttonPointxy 111
 
140
#define ID_buttonPointOnLine 112
 
141
#define ID_buttonPointOfConc 113
 
142
#define ID_buttonBisection 114
 
143
#define ID_buttonMirrorPoint 115
 
144
#define ID_buttonMove 116
 
145
#define ID_buttonRotation 117
 
146
 
 
147
#define ID_buttonSegment 120
 
148
#define ID_buttonLine 121
 
149
#define ID_buttonVector 122
 
150
#define ID_buttonRay 123
 
151
#define ID_buttonParallel 124
 
152
#define ID_buttonPerpendicular 125
 
153
#define ID_buttonTriangle 126
 
154
 
 
155
#define ID_buttonBaseCircle 130
 
156
#define ID_buttonCircle 131
 
157
#define ID_buttonArc 132
 
158
 
 
159
#define ID_buttonDistance 140
 
160
#define ID_buttonAngle 141
 
161
#define ID_buttonArea 142
 
162
#define ID_buttonSlope 143
 
163
#define ID_buttonCircumference 144
 
164
 
 
165
#define ID_buttonBlack 150
 
166
#define ID_buttonDarkGray 151
 
167
#define ID_buttonLightGray 152
 
168
#define ID_buttonWhite 153
 
169
#define ID_buttonBlue 154
 
170
#define ID_buttonRed 155
 
171
#define ID_buttonGreen 156
 
172
 
 
173
#define ID_buttonThinLine 160
 
174
#define ID_buttonMiddleLine 161
 
175
#define ID_buttonThickLine 162
 
176
 
 
177
#define ID_buttonEraser 170
 
178
#define ID_buttonAttacher 171
 
179
#define ID_buttonTracer 172
 
180
#define ID_buttonText 173
 
181
#define ID_buttonMoveGrid 174
 
182
#define ID_buttonPointer 175
 
183
#define ID_buttonDrawColor 176
 
184
#define ID_buttonSizer 177
 
185
 
 
186
#define ID_drawingModeNoMode 0
 
187
#define ID_drawingModeMovingGrid 1
 
188
#define ID_drawingModeMovingObjects 2
 
189
#define ID_drawingModeConstructing 3
 
190
 
 
191
#define MinimumPointSize 3
 
192
 
 
193
#define Str_AppName "KGeo"
 
194
 
 
195
 
 
196
#define ID_overlayRectSize 24
 
197
 
 
198
#define PI 3.1415926535
 
199
 
 
200
#endif // RESOURCE_H