forked from pyrite-dev/milsko
adding dummy files
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@29 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
parent
c9c8bf5163
commit
c2b08729ef
6 changed files with 40 additions and 3 deletions
|
|
@ -14,6 +14,7 @@ static void draw(MilskoWidget handle) {
|
|||
r.height = MilskoGetInteger(handle, MilskoNheight);
|
||||
|
||||
MilskoDrawFrame(handle, &r, MilskoParseColor(handle, MilskoGetText(handle, MilskoNbackground)), 0);
|
||||
|
||||
MilskoDrawRect(handle, &r, MilskoParseColor(handle, MilskoGetText(handle, MilskoNbackground)));
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -63,7 +63,7 @@ void MilskoDrawRect(MilskoWidget handle, MilskoRect* rect, MilskoLLColor color)
|
|||
void MilskoDrawFrame(MilskoWidget handle, MilskoRect* rect, MilskoLLColor color, int invert) {
|
||||
MilskoPoint p[6];
|
||||
const int diff = 128;
|
||||
const int border = 4;
|
||||
const int border = 2;
|
||||
MilskoLLColor darker = MilskoLLAllocColor(handle->lowlevel, color->red - diff, color->green - diff, color->blue - diff);
|
||||
MilskoLLColor lighter = MilskoLLAllocColor(handle->lowlevel, color->red + diff, color->green + diff, color->blue + diff);
|
||||
|
||||
|
|
|
|||
2
src/gdi.c
Normal file
2
src/gdi.c
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
/* $Id$ */
|
||||
#include <Milsko/Milsko.h>
|
||||
Loading…
Add table
Add a link
Reference in a new issue