git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@39 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
Nishi 2025-09-29 00:10:20 +00:00
commit cad1113643
15 changed files with 46 additions and 46 deletions

View file

@ -1,10 +1,10 @@
/* $Id$ */
#include <Mw/Mw.h>
#include <Mw/Milsko.h>
static unsigned long mask = ExposureMask | StructureNotifyMask | ButtonPressMask | ButtonReleaseMask;
MwLL MwLLCreate(MwLL parent, int x, int y, int width, int height) {
MwLL r;
MwLL r;
Window p;
Window root;
unsigned int border, depth;
@ -56,7 +56,7 @@ void MwLLPolygon(MwLL handle, MwPoint* points, int points_count, MwLLColor color
MwLLColor MwLLAllocColor(MwLL handle, int r, int g, int b) {
MwLLColor c = malloc(sizeof(*c));
XColor xc;
XColor xc;
if(r > 255) r = 255;
if(g > 255) g = 255;