1
0
mirror of https://github.com/gryf/wmaker.git synced 2026-01-29 19:55:49 +01:00

Updated/fixed version of colorpanel

This commit is contained in:
kojima
1999-03-18 19:48:19 +00:00
parent 1ba54a5199
commit f214ef92d2
3 changed files with 2749 additions and 2686 deletions

View File

@@ -955,7 +955,7 @@ void WMShowColorPanel(WMColorPanel *panel);
void WMCloseColorPanel(WMColorPanel *panel); void WMCloseColorPanel(WMColorPanel *panel);
void WMSetColorPanelColor(WMColorPanel *panel, RColor color); void WMSetColorPanelColor(WMColorPanel *panel, WMColor *color);
RColor WMGetColorPanelColor(WMColorPanel *panel); RColor WMGetColorPanelColor(WMColorPanel *panel);

File diff suppressed because it is too large Load Diff

View File

@@ -424,13 +424,11 @@ handleActionEvents(XEvent *event, void *data)
if (cPtr->flags.active) { if (cPtr->flags.active) {
WMPostNotificationName(_ColorWellActivatedNotification, cPtr, NULL); WMPostNotificationName(_ColorWellActivatedNotification, cPtr, NULL);
} }
/*
cpanel = WMGetColorPanel(scr); cpanel = WMGetColorPanel(scr);
if (cPtr->color) if (cPtr->color)
WMSetColorPanelColor(cpanel, cPtr->color); WMSetColorPanelColor(cpanel, cPtr->color);
WMShowColorPanel(cpanel); WMShowColorPanel(cpanel);
* /*
*/
{ {
char *t; char *t;
WMColor *color; WMColor *color;
@@ -451,6 +449,7 @@ handleActionEvents(XEvent *event, void *data)
} }
} }
*/
} }