source: trunk/SRC/Documentation/idldoc_html_output/ToBeReviewed/COULEURS/xpal.html @ 157

Last change on this file since 157 was 157, checked in by navarro, 18 years ago

header improvements + xxx doc

File size: 29.9 KB
Line 
1
2<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
3 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
4
5<!-- Generated by IDLdoc 2.0 -->
6
7<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
8  <head>
9    <title>xpal.pro (SAXO Documentation)</title>
10
11   
12    <style type="text/css" media="all">
13     
14/* CSS for all files which appear in the "main" viewing area: overview,
15   directory overviews, warnings, index, search, pro files, source
16   code, help, and etc files. */
17
18/* Link styles --------------------------------------------------------------- */
19
20a { text-decoration: none; }
21
22a:link, a:visited { 
23  color: #660000; 
24  border-bottom: 1px dotted #C0C0F0;   
25}
26
27a:hover, a:focus { 
28  color: #993333; 
29  background: #FFFFCC; 
30  border-bottom: 1px dotted #303099; 
31}
32
33
34/* Main styles --------------------------------------------------------------- */
35p.preformat {
36  font-family: Courier;
37}
38p.preformat {
39  font-family: Courier;
40}
41p.preformat {
42  font-family: Courier;
43}
44p.preformat {
45  font-family: Courier;
46}
47p.preformat {
48  font-family: Courier;
49}
50p.preformat {
51  font-family: Courier;
52}
53p.preformat {
54  font-family: Courier;
55}
56p.preformat {
57  font-family: Courier;
58}
59p.preformat {
60  font-family: Courier;
61}
62p.preformat {
63  font-family: Courier;
64}
65p.preformat {
66  font-family: Courier;
67}
68p.preformat {
69  font-family: Courier;
70}
71p.preformat {
72  font-family: Courier;
73}
74p.preformat {
75  font-family: Courier;
76}
77p.preformat {
78  font-family: Courier;
79}
80p.preformat {
81  font-family: Courier;
82}
83p.preformat {
84  font-family: Courier;
85}
86p.preformat {
87  font-family: Courier;
88}
89p.preformat {
90  font-family: Courier;
91}
92p.preformat {
93  font-family: Courier;
94}
95p.preformat {
96  font-family: Courier;
97}
98p.preformat {
99  font-family: Courier;
100}
101
102body {
103  margin: 0;
104  padding: 0;
105  font-size: 10pt;
106  font-family: Verdana, Helvetica, Arial, sans-serif;
107  background-color: #FFFFFF;
108}
109
110p {
111  margin-top: 0.5em;
112  margin-bottom: 0;
113}
114
115#container { margin: 1em; }
116
117code.section { white-space: pre; }
118
119pre.snippet {
120  margin-left: 5%;
121  background: #F0F0F0;
122  border: 1px dashed #999999;
123  width: 43em;
124  padding: 0.5em 0.5em 0.5em 0.5em;
125  white-space: pre;
126}
127
128/* Navbar styles ------------------------------------------------------------- */
129
130#navbar_title {
131  color: #000033;
132  background-color: #F0F0FF;
133  font-family: Arial, Helvetica, sans-serif;
134  padding: 20px 30px;
135  border-bottom: 1px solid #000033;
136}
137
138#navbar_title * {
139  margin: 0;
140  padding: 0;
141}
142
143#navbar_title h1 {
144  letter-spacing: 0.1em;
145  font-variant: small-caps;
146  font-size: 250%;
147  text-indent: -1em;
148  padding-left: 1em; 
149}
150
151#navbar_title h2 {
152  font-size: 110%;
153  font-weight: normal;
154  color: #333399;
155}
156
157#main_navbar table {
158  width: 100%;
159  border-bottom: 1px solid #666699;
160}
161
162#main_navbar td {
163  background: #CCCCFF;
164  font-size: 80%;
165  font-weight: bold;
166  font-family: Arial, Helvetica, sans-serif;
167  border-top: 3px solid #CCCCFF;
168  border-bottom: 3px solid #CCCCFF;
169  padding-left: 6px;
170  padding-right: 6px;
171  margin: 0;
172}
173
174#main_navbar td#selected {
175  background: #CCCCFF;
176  font-size: 80%;
177  font-weight: bold;
178  font-family: Arial, Helvetica, sans-serif;
179  border-top: 3px solid #333399;
180  border-bottom: 3px solid #CCCCFF;
181  padding-left: 6px;
182  padding-right: 6px;
183  margin: 0;
184}
185
186#main_navbar td#flexible {
187  width: 100%;
188  text-align: right;
189  padding-right: 1em;
190  background: #CCCCFF;
191  font-size: 70%;
192  font-weight: normal;
193  font-family: Arial, Helvetica, sans-serif;
194  text-transform: uppercase;
195  border-top: 3px solid #CCCCFF;
196  border-bottom: 3px solid #CCCCFF;
197}
198
199#main_navbar a:link, #main_navbar a:visited { color: #660000; border: 0; }
200
201#main_navbar a:hover, #main_navbar a:focus {
202  color: #FFFF66;
203  background: #CCCCFF;
204  border-bottom: 1px none #606099; 
205  border: 0;
206}
207
208#secondary_navbar {
209  font-size: 80%;
210  font-weight: normal;
211  font-family: Arial, Helvetica, sans-serif;
212  margin-top: 4px;
213  margin-left: 20px;
214  white-space: nowrap;
215}
216
217
218/* Tagline and footer styles ------------------------------------------------- */
219
220div#tagline {
221  margin-top: 6px;
222  border-top: 1px dotted lightsteelblue;
223  padding-top: 6px;
224  font-size: 66%;
225  font-style: italic;
226}
227
228div#footer {
229  margin-top: 6px;
230  border-top: 1px dotted lightsteelblue;
231  padding-top: 6px;
232  font-size: 66%;
233  font-style: italic;
234}
235
236/* Basic data presenation styles -------------------------------------------- */
237
238.index_letter { 
239  font-size: 300%;
240  font-weight: bold;
241  color: #000066; 
242  margin: 0.5em 0 0 -0.1em;
243}
244
245h1, h2, h3, h4 {
246  font-weight: normal;
247  color: #3333CC;
248}
249
250h1 {
251  padding-top: 0.75em;
252  font-size: 160%;
253}
254
255h2 {
256  padding-top: 1em;
257  font-size: 120%;
258  }
259
260h3 {
261  padding-top: 0.75em;
262  margin-bottom: 0.25em;
263  font-size: 100%;
264}
265
266h4 {
267  padding: 0;
268  margin: 0.5em 0 0 0;
269  font-size: 80%;
270}
271
272table.basic {
273  empty-cells: show;
274  margin: 1.5em 1em 0 1em;
275  border: 1px dotted #CFCFFF;
276  font-size: 80%;
277}
278
279table.basic th {
280  background-color: #F0F0FF;
281  font-weight: bold;
282  text-align: left;
283  padding: 4px 1em 4px 4px;
284  border-bottom: 1px dotted #666699;
285}
286
287table.basic td {
288  vertical-align: top;
289  padding: 4px 1em 4px 4px;
290}
291
292dd {
293  margin-bottom: 0.25em;
294  font-size: 80%;
295}
296
297
298/* Warnings styles ----------------------------------------------------------- */
299
300
301#todo dl, #bugs dl { 
302  margin: 0 0 0 1.5em;
303  font-size: 80%;
304}
305
306#todo dd, #bugs dd { 
307  margin-left: 3em; 
308  font-size: 100%;
309}
310
311#undoc table, #obsolete table, #statistics table {
312  width: 80%;
313  margin-left: 2em;
314}
315
316#undoc td, #obsolete td, #statistics td { 
317  padding: 0 0 0 0;
318  font-size: 80%;
319  white-space: nowrap;
320}
321
322#undoc td.docroutine, #obsolete td.obsroutine, #statistics td.statroutine { width: 50%; }
323
324#undoc td.docstat, #statistics td.stat { 
325  width: 50%;
326  text-align: right;
327}
328
329#undoc td.partialdoc, #statistics td.caution { color: #CC6600; }
330
331#undoc td.notdoc, #statistics td.warning { color: #993333; }
332
333/* File + routine styles ----------------------------------------------------- */
334
335h1.directory { 
336  padding: 1em 0 0 0;
337  margin: 0;
338  font-size: 66%;
339}
340
341h1.directory a { border-bottom: 0; }
342
343h2.pro_file { 
344  padding: 0;
345  margin: 0;
346  font-size: 140%;
347}
348
349div#file_attr {
350  padding: 0 1em 0 1em;
351  margin: 1em;
352  background: #F6F6F6;
353  border: 1px dotted #999999;
354}
355
356div#file_attr dt {
357  font-size: 80%;
358  font-weight: bold;
359}
360
361div#file_attr dd {
362  font-size: 80%;
363}
364
365div#class_diagram { 
366  padding: 1em 0 1em 0; 
367  white-space: pre;
368  font-family: 'Courier New';
369}
370
371table#sav_attr { 
372  font-size: 90%; 
373  margin: 1em; 
374  padding: 1em 1em 1em 1em;
375  background: #F6F6F6;
376  border: 1px dotted #999999;
377}
378
379table#sav_attr th { text-align: left; }
380
381table#sav_attr td { vertical-align: top; padding-right: 2em; }
382
383table#sav_attr td.value { width: 20em; padding-right: 0em; font-style: italic; }
384
385p.sav_warning { margin-left: 4em; font-family: 80%; }
386
387table.variables { 
388  font-family: 'Courier New', monospace; 
389  font-size: 80%; 
390  text-indent: -2em; 
391  padding-left: 2em; 
392}
393
394table.variables td.image { width: 64px; }
395
396div#file_comments { white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; 
397  margin: 2em;
398  font-size: 80%;
399}
400
401
402div.field_summary {
403  padding: 0 1em 0 1em;
404  margin: 1em;
405  background: #FFFFF0;
406  border: 1px dotted #C0C000;
407}
408
409div#routine_summary { 
410  padding: 0 1em 0 1em;
411  margin: 1em;
412  background: #F0F0FF;
413  border: 1px dotted #9999FF;
414}
415
416div.field_summary h2, div#routine_summary h2 { 
417  padding: 0.5em 0 0 0;
418  margin: 0;
419}
420
421div.field_summary table, div.field_summary p { 
422  margin: 1em 1em;
423}
424
425div.field_summary td.name { 
426  vertical-align: top;
427  padding-bottom: 0.25em;
428  color: #3333CC;
429}
430
431div.field_summary span.field_type { 
432  font-weight: normal;
433  font-size: 80%;
434  color: black;
435}
436
437div.field_summary td.comments { 
438  vertical-align: top;
439  padding-left: 2em;
440  font-size: 80%;
441}
442
443p.commaList { 
444  margin: 1em 1em 1em 1em;
445}
446
447span.warning { 
448  color: #CC6633;
449  font-weight: bold;
450  font-size: 66%;
451  text-transform: uppercase;
452}
453
454span.categories { 
455  color: #006633;
456  font-weight: bold;
457  font-size: 66%;
458  text-transform: uppercase;
459}
460
461span.undoc { 
462  color: #FF6633;
463  font-weight: bold;
464  font-size: 80%;
465  text-transform: uppercase;
466}
467
468span.attr { 
469  color: #006633;
470  font-weight: bold;
471  font-size: 80%;
472  text-transform: uppercase;
473}
474
475span.value { 
476  color: #006633;
477  font-weight: normal;
478  text-transform: none;
479}
480
481a.top { 
482  font-weight: bold;
483  font-size: 66%;
484  text-transform: uppercase;
485  float: right;
486}
487
488span.result { 
489  font-family: Verdana, Arial, Helvetica, sans-serif;
490  font-style: italic;
491  font-size: 80%;
492}
493
494div#routine_summary p, div.routine_details p.header { 
495  padding-top: 0.5em;
496  margin-left: 1.5em;
497  text-indent: -1.5em;
498  font-family: 'Courier New', monospace;
499}
500
501div.routine_details { 
502  padding: 0.5em 1em 0.5em 1em;
503  margin: 1em;
504  border: 1px dotted #CCCCCC;
505}
506
507div.routine_details h2 { 
508  padding-top: 0;
509  margin-top: 0;
510}
511
512div.routine_details div.value { 
513  margin: 0 1em 0 1em;
514  font-size: 80%;
515}
516
517div.routine_details div.comments { 
518  font-size: 80%;
519  margin: 0.75em 1em 1em 1em;
520}
521
522div.routine_details div.preformat { 
523  white-space: pre;
524}
525
526table.statistics { 
527  font-size: 80%;
528  margin-left: 1em;
529}
530
531table.statistics td { 
532  padding: 0 2em 0 0;
533}
534
535/* Overview styles ----------------------------------------------------------- */
536
537div.overview { 
538  width: 100%;
539  margin-top: 1em;
540  clear: both;
541}
542
543div.overview table {
544  empty-cells: show;
545  font-size: 90%;
546  margin: 1em 1em 1em 1em;
547  padding: 1em 0.5em 1em 0.5em;
548  background: #F6F6F6;
549  border: 1px dotted #999999;
550}
551
552div.overview td {
553  padding: 3px 1em 3px 1em;
554}
555
556div.overview td.dir {
557  width: 1%;
558  vertical-align: top;
559  text-align: right;
560  padding-right: 1em;
561}
562
563
564/* Navigation list styles for tree structures -------------------------------- */
565
566#tree {
567  text-align: left;
568  font-size: 90%;
569  margin: 0.75em 0 0.75em 0;
570  padding: 0;
571}
572
573#tree ul {
574  text-align: left;
575  margin: 0;
576  padding: 0;
577}
578
579#tree li {
580  margin: 0 0 0 15px;
581  padding: 0;
582  list-style-type: none;
583}
584
585#tree .symbols {
586  float: left;
587  width: 12px;
588  height: 1em;
589  padding-left: 4px;
590  background-position: 0 100%;
591  background-repeat: no-repeat;
592}
593
594/* Search styles ------------------------------------------------------------- */
595
596input.writein { 
597  padding-left: 0.5em;
598  border: 1px solid #CCCCCC;
599  font-family: 'Courier New';
600  background: #FFFFF3;
601}
602
603#search form { 
604  margin-left: 2em;
605}
606
607#search table { 
608  margin: 1em 1em 0 2em;
609  padding: 1em 2em 1em 2em;
610  background: #F6F6F6;
611  border: 1px dotted #999999;
612}
613
614#search tr { 
615  text-align: center;
616}
617
618#search td { 
619  font-size: 80%; 
620  text-align: left;
621}
622
623#search td * { 
624  vertical-align: middle;
625}
626
627#search p { 
628  font-size: 66%;
629  margin: 0 3em 2em 3em;
630}
631
632/* Help styles --------------------------------------------------------------- */
633
634div.toc { 
635  padding: 0 1em 0 1em;
636  margin: 1em;
637  background: #F0F0FF;
638  border: 1px dotted #9999FF; 
639  width: 19em;
640}
641
642div.right { 
643  float: right;
644  width: 22em;
645}
646
647ol.toc { 
648  list-style-type: upper-roman;
649}
650
651ol.toc ol { 
652  padding-left: 3em;
653  margin-left: 0;
654  list-style-type: lower-alpha;
655}
656
657dl.variables dt { font-size: 80%; }
658dl.variables dd { margin-bottom: 0.5em; }
659
660    </style>
661    <style type="text/css" media="print">
662      #navbar_title { 
663  background-color: #FFFFFF; 
664}
665
666#main_navbar td {
667  background: #FFFFFF;
668  border-top: 0.25em solid #FFFFFF;
669  border-bottom: 0.25em solid #FFFFFF;
670}
671
672#main_navbar td#selected {
673  background: #FFFFFF;
674  border-top: 0.25em solid #333399;
675  border-bottom: 0.25em solid #FFFFFF;
676}
677
678#main_navbar td#flexible {
679  background: #FFFFFF;
680  border-top: 0.25em solid #FFFFFF;
681  border-bottom: 0.25em solid #FFFFFF;
682}
683
684#secondary_navbar {
685  display: none;
686}
687
688    </style>
689   
690
691    <script type="text/javascript">
692      function setTitle() {
693        parent.document.title="xpal.pro (SAXO Documentation)";
694      }
695    </script>
696  </head>
697
698  <body onload="setTitle();">
699
700    <div id="navbar_title">
701  <h1>SAXO Documentation</h1>
702</div>
703
704
705<div id="main_navbar">
706
707  <table cellspacing="0">
708    <tr>
709     
710      <td><a href="./../../overview.html?format=raw" title="Overview of library">Overview</a></td>
711     
712
713     
714      <td >Directory</td>
715     
716
717     
718      <td><a href="./../../idldoc-categories.html?format=raw" title="Browse library by category">Categories</a></td>
719     
720
721     
722      <td><a href="./../../idldoc-index.html?format=raw" title="Index of files, routines, and parameters">Index</a></td>
723     
724
725     
726      <td><a href="./../../search-page.html?format=raw" title="Search library">Search</a></td>
727     
728
729      <td id="selected">File</td>
730
731     
732      <td >Source</td>
733     
734
735     
736      <td><a href="./../../idldoc-help.html?format=raw" title="Help on IDLdoc">Help</a></td>
737     
738
739      <td >Etc</td>
740
741      <td id="flexible">Developer&nbsp;documentation</td>
742    </tr>
743  </table>
744
745</div>
746
747<div id="secondary_navbar">
748
749<a href="xlct.html?format=raw">&lt;&lt;prev file</a> | next file &gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;<a href="xpal.html?format=raw" target="_TOP">view single page</a> | <a href="./../../index.html?format=raw" target="_TOP">view frames</a>&nbsp;&nbsp;&nbsp;&nbsp;summary: fields | <a href="#routine_summary">routine</a>&nbsp;&nbsp;&nbsp;&nbsp;details: <a href="#routine_details">routine</a>
750
751</div>
752
753
754    <div id="container">
755
756      <h1 class="directory"><a href="directory-overview.html?format=raw">ToBeReviewed/COULEURS/</a></h1>
757      <h2 class="pro_file">xpal.pro</h2>
758
759      <div id="file_attr">
760        <dl>
761        </dl>
762      </div>
763
764      <div id="file_comments"></div>
765
766     
767
768     
769
770     
771
772     
773      <div id="routine_summary">               
774        <h2>Routine summary</h2>
775       
776        <dl>
777         
778          <dt><p><a href="#_XP_NEW_COLORS"><span class="result">result = </span>XP_NEW_COLORS()</a></p><dt>
779          <dd>  NAME:        XPAL   PURPOSE:        comme xpalette mais plus court a ecrire et possede en plus        une touche save qui (grace a la routine newpalette) permet de        sauver la routine que l''on vient de faire.</dd>     
780         
781          <dt><p><a href="#_XP_ALERT_CALLER">XP_ALERT_CALLER</a></p><dt>
782          <dd></dd>     
783         
784          <dt><p><a href="#_XP_XLCTCALLBACK">XP_XLCTCALLBACK</a></p><dt>
785          <dd></dd>     
786         
787          <dt><p><a href="#_XP_REDRAW">XP_REDRAW</a></p><dt>
788          <dd></dd>     
789         
790          <dt><p><a href="#_XP_REPLOT">XP_REPLOT<span class="result">, color_index, type</span></a></p><dt>
791          <dd></dd>     
792         
793          <dt><p><a href="#_XP_CHANGE_COLOR">XP_CHANGE_COLOR<span class="result">, type, value</span></a></p><dt>
794          <dd></dd>     
795         
796          <dt><p><a href="#_XP_BUTTON_EVENT">XP_BUTTON_EVENT<span class="result">, event</span></a></p><dt>
797          <dd></dd>     
798         
799          <dt><p><a href="#_xp_button_event_event">xp_button_event_event<span class="result">, ev</span></a></p><dt>
800          <dd></dd>     
801         
802          <dt><p><a href="#_XP_EVENT">XP_EVENT<span class="result">, event</span></a></p><dt>
803          <dd></dd>     
804         
805          <dt><p><a href="#_XPAL">XPAL, group=<span class="result">group</span>, BLOCK=<span class="result">BLOCK</span>, UPDATECALLBACK=<span class="result">UPDATECALLBACK</span>, UPDATECBDATA=<span class="result">UPDATECBDATA</span></a></p><dt>
806          <dd></dd>     
807               
808        </dl>
809      </div>
810     
811
812      <div id="routine_details">
813       
814
815        <div class="routine_details" id="_XP_NEW_COLORS">
816
817          <h2><a class="top" href="#container">top</a>XP_NEW_COLORS </h2>
818       
819          <p class="header">
820            <span class="result">result = </span>XP_NEW_COLORS()</p>
821       
822          <div class="comments">
823 NAME:
824       XPAL
825
826 PURPOSE:
827       comme xpalette mais plus court a ecrire et possede en plus
828       une touche save qui (grace a la routine newpalette) permet de
829       sauver la routine que l''on vient de faire. Rq qd on appuie
830       sur la touche predefined appelle xlct plutot que xloadct
831
832 CATEGORY:
833       Color tables, widgets.
834
835 CALLING SEQUENCE:
836       XPAL
837
838 INPUTS:
839       No explicit inputs.  The current color table is used as a starting
840       point.
841
842 KEYWORD PARAMETERS:
843        BLOCK:  Set this keyword to have XMANAGER block when this
844                application is registered.  By default the Xmanager
845               keyword NO_BLOCK is set to 1 to provide access to the
846               command line if active command   line processing is available.
847               Note that setting BLOCK for this application will cause
848                all widget applications to block, not only this
849                application.  For more information see the NO_BLOCK keyword
850                to XMANAGER.
851       UPDATECALLBACK: Set this keyword to a string containing the name of
852               a user-supplied procedure that will be called when the color
853               table is updated by XLOADCT.  The procedure may optionally
854               accept a keyword called DATA, which will be automatically
855               set to the value specified by the optional UPDATECBDATA
856               keyword.
857       UPDATECBDATA: Set this keyword to a value of any type. It will be
858               passed via the DATA keyword to the user-supplied procedure
859               specified via the UPDATECALLBACK keyword, if any. If the
860               UPDATECBDATA keyword is not set the value accepted by the
861               DATA keyword to the procedure specified by UPDATECALLBACK
862               will be undefined.
863
864 OUTPUTS:
865       None.
866
867 COMMON BLOCKS:
868       COLORS: Contains the current RGB color tables.
869       XP_COM: Private to this module.
870
871 SIDE EFFECTS:
872       XPAL uses two colors from the current color table as
873       drawing foreground and background colors. These are used
874       for the RGB plots on the left, and the current index marker on
875       the right. This means that if the user set these two colors
876       to the same value, the XPAL display could become unreadable
877       (like writing on black paper with black ink). XPAL minimizes
878       this possibility by noting changes to the color map and always
879       using the brightest available color for the foreground color
880       and the darkest for the background. Thus, the only way
881       to make XPAL's display unreadable is to set the entire color
882       map to a single color, which is highly unlikely. The only side
883       effect of this policy is that you may notice XPAL redrawing
884       the entire display after you've modified the current color.
885       This simply means that the change has made XPAL pick new
886       drawing colors.
887
888       The new color tables are saved in the COLORS common and loaded
889       to the display.
890
891 PROCEDURE:
892       The XPAL widget has the following controls:
893
894       Left:   Three plots showing the current Red, Green, and Blue vectors.
895
896       Center: A status region containing:
897               1) The total number of colors.
898               2) The current color. XPAL allows changing
899                  one color at a time. This color is known as
900                  the "current color" and is indicated in the
901                  color spectrum display with a special marker.
902               3) The current mark index. The mark is used to
903                  remember a color index. It is established by
904                  pressing the "Set Mark Button" while the current
905                  color index is the desired mark index.
906               4) The current color. The special marker used in
907                  color spectrum display prevents the user from seeing
908                  the color of the current index, but it is visible
909                  here.
910
911               A panel of control buttons, which do the following when
912               pressed:
913
914               Done:   Exits XPAL.
915
916         Predefined:   Starts XLOADCT to allow selection of one of the
917                       predefined color tables.
918
919               Help:   Supplies help information similar to this header.
920
921               Redraw: Completely redraws the display using the current
922                       state of the color map.
923
924             Set Mark: Set the value of the mark index to the
925                       current index.
926
927          Switch Mark: Exchange the mark and the current index.
928
929         Copy Current: Every color lying between the current
930                       index and the mark index (inclusive) is given
931                       the current color.
932
933          Interpolate: The colors lying between the current
934                       index and the mark index are interpolated linearly
935                       to lie between the colors of two endpoints.
936                 save: permet de sauver la palette qui est
937                       actuellement a l''ecran. Qd on appuie sur ce
938                       bouton, un widget apparait qui demande:
939                        1) le nom a donner a la palette que l''on veut sauver
940                        2) le numero de la palette que l''on veut
941                        eventuellement ecrase par la nouvelle
942                        palette.Si aucun numero n''est specifie la
943                        nouvelle palette estajoutee aux anciennes.
944                        3) le nom du fichier qui contient les
945                        palettes. Rq: suivre eventuellement les
946                        indications fournis au prompteur.
947               
948
949       Three sliders (R, G, and B) that allow the user to modify the
950       current color.
951
952       Right:  A display which shows the current color map as a series of
953               squares. Color index 0 is at the upper left. The color index
954               increases monotonically by rows going left to right and top
955               to bottom.  The current color index is indicated by a special
956               marker symbol. There are 4 ways to change the current color:
957                       1) Press any mouse button while the mouse
958                          pointer is over the color map display.
959                       2) Use the "By Index" slider to move to
960                          the desired color index.
961                       3) Use the "Row" Slider to move the marker
962                          vertically.
963                       4) Use the "Column" Slider to move the marker
964                          horizontally.
965
966 MODIFICATION HISTORY:
967          addaptation de xpalette pour ajouter un bouton save par</div>
968
969         
970
971         
972
973         
974
975         
976         
977         
978         
979         
980         
981         
982         
983         
984         
985         
986         
987       
988          <h3>Other attributes</h3>
989         
990         
991         
992         
993         
994          <h4>Common blocks used</h4><div class="preformat">xp_com</div>
995       
996         
997       
998        </div>
999       
1000
1001        <div class="routine_details" id="_XP_ALERT_CALLER">
1002
1003          <h2><a class="top" href="#container">top</a>XP_ALERT_CALLER </h2>
1004       
1005          <p class="header">
1006            XP_ALERT_CALLER</p>
1007       
1008          <div class="comments"></div>
1009
1010         
1011
1012         
1013
1014         
1015
1016         
1017         
1018         
1019         
1020         
1021         
1022         
1023         
1024         
1025         
1026         
1027         
1028       
1029          <h3>Other attributes</h3>
1030         
1031         
1032         
1033         
1034         
1035          <h4>Common blocks used</h4><div class="preformat">xp_com</div>
1036       
1037         
1038       
1039        </div>
1040       
1041
1042        <div class="routine_details" id="_XP_XLCTCALLBACK">
1043
1044          <h2><a class="top" href="#container">top</a>XP_XLCTCALLBACK </h2>
1045       
1046          <p class="header">
1047            XP_XLCTCALLBACK</p>
1048       
1049          <div class="comments"></div>
1050
1051         
1052
1053         
1054
1055         
1056
1057         
1058         
1059         
1060         
1061         
1062         
1063         
1064         
1065         
1066         
1067         
1068         
1069       
1070         
1071         
1072         
1073         
1074         
1075         
1076         
1077       
1078         
1079       
1080        </div>
1081       
1082
1083        <div class="routine_details" id="_XP_REDRAW">
1084
1085          <h2><a class="top" href="#container">top</a>XP_REDRAW </h2>
1086       
1087          <p class="header">
1088            XP_REDRAW</p>
1089       
1090          <div class="comments"></div>
1091
1092         
1093
1094         
1095
1096         
1097
1098         
1099         
1100         
1101         
1102         
1103         
1104         
1105         
1106         
1107         
1108         
1109         
1110       
1111          <h3>Other attributes</h3>
1112         
1113         
1114         
1115         
1116         
1117          <h4>Common blocks used</h4><div class="preformat">xp_com</div>
1118       
1119         
1120       
1121        </div>
1122       
1123
1124        <div class="routine_details" id="_XP_REPLOT">
1125
1126          <h2><a class="top" href="#container">top</a>XP_REPLOT </h2>
1127       
1128          <p class="header">
1129            XP_REPLOT<span class="result">, <a href="#_XP_REPLOT_param_color_index">color_index</a>, <a href="#_XP_REPLOT_param_type">type</a></span></p>
1130       
1131          <div class="comments"></div>
1132
1133         
1134
1135         
1136            <h3>Parameters</h3>
1137       
1138           
1139            <h4 id="_XP_REPLOT_param_color_index">color_index&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
1140             
1141             
1142             
1143             
1144             
1145             
1146             
1147             
1148            </h4>
1149       
1150          <div class="comments"></div>
1151           
1152            <h4 id="_XP_REPLOT_param_type">type&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
1153             
1154             
1155             
1156             
1157             
1158             
1159             
1160             
1161            </h4>
1162       
1163          <div class="comments"></div>
1164           
1165
1166         
1167
1168         
1169
1170         
1171         
1172         
1173         
1174         
1175         
1176         
1177         
1178         
1179         
1180         
1181         
1182       
1183          <h3>Other attributes</h3>
1184         
1185         
1186         
1187         
1188         
1189          <h4>Common blocks used</h4><div class="preformat">xp_com
1190colors
1191pscale</div>
1192       
1193         
1194       
1195        </div>
1196       
1197
1198        <div class="routine_details" id="_XP_CHANGE_COLOR">
1199
1200          <h2><a class="top" href="#container">top</a>XP_CHANGE_COLOR </h2>
1201       
1202          <p class="header">
1203            XP_CHANGE_COLOR<span class="result">, <a href="#_XP_CHANGE_COLOR_param_type">type</a>, <a href="#_XP_CHANGE_COLOR_param_value">value</a></span></p>
1204       
1205          <div class="comments"></div>
1206
1207         
1208
1209         
1210            <h3>Parameters</h3>
1211       
1212           
1213            <h4 id="_XP_CHANGE_COLOR_param_type">type&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
1214             
1215             
1216             
1217             
1218             
1219             
1220             
1221             
1222            </h4>
1223       
1224          <div class="comments"></div>
1225           
1226            <h4 id="_XP_CHANGE_COLOR_param_value">value&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
1227             
1228             
1229             
1230             
1231             
1232             
1233             
1234             
1235            </h4>
1236       
1237          <div class="comments"></div>
1238           
1239
1240         
1241
1242         
1243
1244         
1245         
1246         
1247         
1248         
1249         
1250         
1251         
1252         
1253         
1254         
1255         
1256       
1257          <h3>Other attributes</h3>
1258         
1259         
1260         
1261         
1262         
1263          <h4>Common blocks used</h4><div class="preformat">xp_com
1264colors</div>
1265       
1266         
1267       
1268        </div>
1269       
1270
1271        <div class="routine_details" id="_XP_BUTTON_EVENT">
1272
1273          <h2><a class="top" href="#container">top</a>XP_BUTTON_EVENT </h2>
1274       
1275          <p class="header">
1276            XP_BUTTON_EVENT<span class="result">, <a href="#_XP_BUTTON_EVENT_param_event">event</a></span></p>
1277       
1278          <div class="comments"></div>
1279
1280         
1281
1282         
1283            <h3>Parameters</h3>
1284       
1285           
1286            <h4 id="_XP_BUTTON_EVENT_param_event">event&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
1287             
1288             
1289             
1290             
1291             
1292             
1293             
1294             
1295            </h4>
1296       
1297          <div class="comments"></div>
1298           
1299
1300         
1301
1302         
1303
1304         
1305         
1306         
1307         
1308         
1309         
1310         
1311         
1312         
1313         
1314         
1315         
1316       
1317          <h3>Other attributes</h3>
1318         
1319         
1320         
1321         
1322         
1323          <h4>Common blocks used</h4><div class="preformat">xp_com
1324colors
1325basecommon</div>
1326       
1327         
1328       
1329        </div>
1330       
1331
1332        <div class="routine_details" id="_xp_button_event_event">
1333
1334          <h2><a class="top" href="#container">top</a>xp_button_event_event </h2>
1335       
1336          <p class="header">
1337            xp_button_event_event<span class="result">, <a href="#_xp_button_event_event_param_ev">ev</a></span></p>
1338       
1339          <div class="comments"></div>
1340
1341         
1342
1343         
1344            <h3>Parameters</h3>
1345       
1346           
1347            <h4 id="_xp_button_event_event_param_ev">ev&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
1348             
1349             
1350             
1351             
1352             
1353             
1354             
1355             
1356            </h4>
1357       
1358          <div class="comments"></div>
1359           
1360
1361         
1362
1363         
1364
1365         
1366         
1367         
1368         
1369         
1370         
1371         
1372         
1373         
1374         
1375         
1376         
1377       
1378          <h3>Other attributes</h3>
1379         
1380         
1381         
1382         
1383         
1384          <h4>Common blocks used</h4><div class="preformat">basecommon</div>
1385       
1386         
1387       
1388        </div>
1389       
1390
1391        <div class="routine_details" id="_XP_EVENT">
1392
1393          <h2><a class="top" href="#container">top</a>XP_EVENT </h2>
1394       
1395          <p class="header">
1396            XP_EVENT<span class="result">, <a href="#_XP_EVENT_param_event">event</a></span></p>
1397       
1398          <div class="comments"></div>
1399
1400         
1401
1402         
1403            <h3>Parameters</h3>
1404       
1405           
1406            <h4 id="_XP_EVENT_param_event">event&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
1407             
1408             
1409             
1410             
1411             
1412             
1413             
1414             
1415            </h4>
1416       
1417          <div class="comments"></div>
1418           
1419
1420         
1421
1422         
1423
1424         
1425         
1426         
1427         
1428         
1429         
1430         
1431         
1432         
1433         
1434         
1435         
1436       
1437          <h3>Other attributes</h3>
1438         
1439         
1440         
1441         
1442         
1443          <h4>Common blocks used</h4><div class="preformat">xp_com
1444colors</div>
1445       
1446         
1447       
1448        </div>
1449       
1450
1451        <div class="routine_details" id="_XPAL">
1452
1453          <h2><a class="top" href="#container">top</a>XPAL </h2>
1454       
1455          <p class="header">
1456            XPAL, <a href="#_XPAL_keyword_group">group</a>=<span class="result">group</span>, <a href="#_XPAL_keyword_BLOCK">BLOCK</a>=<span class="result">BLOCK</span>, <a href="#_XPAL_keyword_UPDATECALLBACK">UPDATECALLBACK</a>=<span class="result">UPDATECALLBACK</span>, <a href="#_XPAL_keyword_UPDATECBDATA">UPDATECBDATA</a>=<span class="result">UPDATECBDATA</span></p>
1457       
1458          <div class="comments"></div>
1459
1460         
1461
1462         
1463
1464         
1465
1466            <h3>Keywords</h3>
1467           
1468            <h4 id="_XPAL_keyword_group">group&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
1469             
1470             
1471             
1472             
1473             
1474             
1475             
1476             
1477            </h4>
1478       
1479            <div class="comments"></div>
1480           
1481            <h4 id="_XPAL_keyword_BLOCK">BLOCK&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
1482             
1483             
1484             
1485             
1486             
1487             
1488             
1489             
1490            </h4>
1491       
1492            <div class="comments"></div>
1493           
1494            <h4 id="_XPAL_keyword_UPDATECALLBACK">UPDATECALLBACK&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
1495             
1496             
1497             
1498             
1499             
1500             
1501             
1502             
1503            </h4>
1504       
1505            <div class="comments"></div>
1506           
1507            <h4 id="_XPAL_keyword_UPDATECBDATA">UPDATECBDATA&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
1508             
1509             
1510             
1511             
1512             
1513             
1514             
1515             
1516            </h4>
1517       
1518            <div class="comments"></div>
1519           
1520         
1521
1522         
1523         
1524         
1525         
1526         
1527         
1528         
1529         
1530         
1531         
1532         
1533         
1534       
1535          <h3>Other attributes</h3>
1536         
1537         
1538         
1539         
1540         
1541          <h4>Common blocks used</h4><div class="preformat">xp_com
1542colors</div>
1543       
1544         
1545       
1546        </div>
1547       
1548      </div>
1549
1550     
1551
1552      <div id="tagline">Produced by IDLdoc 2.0.</div>
1553
1554    </div>
1555
1556  </body>
1557</html>
Note: See TracBrowser for help on using the repository browser.