~ubuntu-branches/ubuntu/karmic/grace/karmic

« back to all changes in this revision

Viewing changes to src/regionwin.c

  • Committer: Bazaar Package Importer
  • Author(s): Torsten Werner
  • Date: 2005-01-07 19:11:41 UTC
  • mto: This revision was merged to the branch mainline in revision 3.
  • Revision ID: james.westby@ubuntu.com-20050107191141-p4rxq11q31ptqgib
ImportĀ upstreamĀ versionĀ 5.1.18

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
 * Copyright (c) 1991-1995 Paul J Turner, Portland, OR
7
7
 * Copyright (c) 1996-2000 Grace Development Team
8
8
 * 
9
 
 * Maintained by Evgeny Stambulchik <fnevgeny@plasma-gate.weizmann.ac.il>
 
9
 * Maintained by Evgeny Stambulchik
10
10
 * 
11
11
 * 
12
12
 *                           All Rights Reserved
97
97
                                               "Define region:",
98
98
                                               6,
99
99
                                               "0", "1", "2", "3", "4",
100
 
                                               NULL, 0);
 
100
                                               NULL);
101
101
 
102
102
        define_type_item = CreatePanelChoice(dialog,
103
103
                                             "Region type:",
112
112
                                             "In Vert. Range",
113
113
                                             "Out of Horiz. Range",
114
114
                                             "Out of Vert. Range",
115
 
                                             NULL, 0);
 
115
                                             NULL);
116
116
 
117
117
        CreateSeparator(dialog);
118
118
 
161
161
                                              "Clear region:",
162
162
                                              7,
163
163
                                              "0", "1", "2", "3", "4", "All",
164
 
                                              NULL, 0);
 
164
                                              NULL);
165
165
 
166
166
        CreateSeparator(dialog);
167
167
 
245
245
                                                   "Report on sets in region:",
246
246
                                                   8,
247
247
                   "0", "1", "2", "3", "4", "Inside world", "Outside world",
248
 
                                                   NULL, 0);
 
248
                                                   NULL);
249
249
 
250
250
        reporton_type_item = CreatePanelChoice(dialog,
251
251
                                                   "Report type:",
252
252
                                                   3,
253
253
                                                "Sets", "Points",
254
 
                                                   NULL, 0);
 
254
                                                   NULL);
255
255
 
256
256
        CreateSeparator(dialog);
257
257
 
375
375
void define_region(int nr, int rtype)
376
376
{
377
377
    kill_region(nr);
 
378
    xdrawgraph();
378
379
    switch (rtype) {
379
380
    case 0:
380
381
        regiontype = REGION_POLYI;