Index: widgets.html =================================================================== --- widgets.html (revision 22608) +++ widgets.html (revision 22609) @@ -24,6 +24,7 @@ PCB_DAD_PREVIEW drawing area PCB_DAD_PICTURE static bitmap image PCB_DAD_PICBUTTON static bitmap button +PCB_DAD_COLOR color button and selector @@ -149,6 +150,13 @@ is displayed in a button tat behaves exaclty as a normal BUTTON in all other regards. +

PCB_DAD_COLOR(table)

+

+A button that has a solid region of the color specified in value. Unless +read-only (PCB_HATF_CLR_STATIC), when the user clicks the button a +HID-specific color selector dialog is popped up where the user can +specify a new color. +

Layout widgets