git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@164 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
NishiOwO
2025-10-04 17:28:33 +00:00
parent 4452531d90
commit f57a402e6e
6 changed files with 246 additions and 23 deletions

19
include/Mw/Constants.h Normal file
View File

@@ -0,0 +1,19 @@
/* $Id$ */
/*!
* %file Mw/Constants.h
* %brief Constants
*/
#ifndef __MW_CONSTANTS_H__
#define __MW_CONSTANTS_H__
/*!
* %brief Direction enumeration
*/
enum MwDIRECTION {
MwNORTH = 0,
MwSOUTH,
MwEAST,
MwWEST
};
#endif

View File

@@ -57,7 +57,6 @@ MWDECL void MwDrawFrame(MwWidget handle, MwRect* rect, MwLLColor color, int inve
* %param rect Rectangle area
* %param color Color
* %param invert Invert the 3D border color or not
* %warning `rect` gets changed to the area of rectangle inside
*/
MWDECL void MwDrawTriangle(MwWidget handle, MwRect* rect, MwLLColor color, int invert, int direction);

View File

@@ -13,6 +13,7 @@
#include <setjmp.h>
#include <sys/types.h>
#include <assert.h>
#include <math.h>
#ifndef _WIN32
#include <unistd.h>
#include <sys/ipc.h>