mirror of
https://gitea.nishi.boats/pyrite-dev/milsko
synced 2026-01-05 00:50:53 +00:00
propset
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@389 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
/* $Id$ */
|
||||
|
||||
#include <Mw/Milsko.h>
|
||||
#include <stdint.h>
|
||||
MwWidget vp;
|
||||
@@ -138,8 +139,8 @@ static void color_wheel_click(MwWidget handle, void* user, void* call) {
|
||||
|
||||
(void)a;
|
||||
|
||||
hexColor = malloc(8);
|
||||
char* fgColor = malloc(8);
|
||||
hexColor = malloc(8);
|
||||
char* fgColor = malloc(8);
|
||||
snprintf(hexColor, 8, "#%02X%02X%02X", r, g, b);
|
||||
|
||||
int fr = r > 128 ? 0 : 255;
|
||||
|
||||
Reference in New Issue
Block a user