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

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

header improvements : type of parameters and keywords, default values, spell checking + idldoc assistant (IDL online_help)

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