Warning: main(/www/www/htdocs/style/globals.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/widget_ref/ptcolorpanel.html on line 1
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/globals.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/widget_ref/ptcolorpanel.html on line 1
Warning: main(/www/www/htdocs/style/header.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/widget_ref/ptcolorpanel.html on line 8
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/header.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/widget_ref/ptcolorpanel.html on line 8
A color panel
PtWidget →
PtBasic →
PtContainer →
PtCompound →
PtColorSel →
PtColorPanel
For more information, see the
diagram of the widget hierarchy.
<photon/PtColorPanel.h>
A composite color selector that provides color selection via a combination of
the following optional mechanisms:
- A PtColorWell
widget
- textual entry fields that let you type values for the individual channels.
- A “dropper” button that lets you pick a color from
anywhere on the screen by clicking on it (press Esc to abort
the operation).
A PtColorPanel widget.
Resource
|
C type
|
Pt type
|
Default |
Pt_ARG_CPANEL_FLAGS
|
uint16_t
|
Flag
|
Pt_CPANEL_SHOW_FIELDS |
Pt_CPANEL_SHOW_WELL |
Pt_CPANEL_SHOW_DROPPER |
C type
|
Pt type
|
Default |
uint16_t
|
Flag
|
Pt_CPANEL_SHOW_FIELDS |
Pt_CPANEL_SHOW_WELL |
Pt_CPANEL_SHOW_DROPPER |
Flags that affect the appearance and behavior of the color panel.
Bits include:
- Pt_CPANEL_SHOW_DROPPER
- Display the dropper button.
- Pt_CPANEL_SHOW_FIELDS
- Display the textual entry fields.
- Pt_CPANEL_SHOW_WELL
- Display the color well.
If the widget modifies an inherited resource, the “Default
override” column indicates the new value. This modification
affects any subclasses of the widget.
Warning: main(/www/www/htdocs/style/footer.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/widget_ref/ptcolorpanel.html on line 782
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/footer.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/widget_ref/ptcolorpanel.html on line 782