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

View File

@@ -1,5 +1,5 @@
/* $Id$ */
#include <Mw/Mw.h>
#include <Mw/Milsko.h>
static int hex(const char* txt, int len) {
int i;
@@ -61,9 +61,9 @@ void MwDrawRect(MwWidget handle, MwRect* rect, MwLLColor color) {
}
void MwDrawFrame(MwWidget handle, MwRect* rect, MwLLColor color, int invert) {
MwPoint p[6];
const int diff = 128;
const int border = 2;
MwPoint p[6];
const int diff = 128;
const int border = 2;
MwLLColor darker = MwLLAllocColor(handle->lowlevel, color->red - diff, color->green - diff, color->blue - diff);
MwLLColor lighter = MwLLAllocColor(handle->lowlevel, color->red + diff, color->green + diff, color->blue + diff);