mirror of
https://gitea.nishi.boats/pyrite-dev/milsko
synced 2026-01-04 08:30:51 +00:00
thing
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@42 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
#define __MW_BUTTON_H__
|
||||
|
||||
#include <Mw/MachDep.h>
|
||||
#include <Mw/TypeDefs.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
#define __MW_DEFAULT_H__
|
||||
|
||||
#include <Mw/MachDep.h>
|
||||
#include <Mw/TypeDefs.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
||||
@@ -14,6 +14,7 @@ MWDECL MwLLColor MwParseColor(MwWidget handle, const char* text);
|
||||
|
||||
MWDECL void MwDrawRect(MwWidget handle, MwRect* rect, MwLLColor color);
|
||||
MWDECL void MwDrawFrame(MwWidget handle, MwRect* rect, MwLLColor color, int invert);
|
||||
MWDECL void MwDrawText(MwWidget handle, MwPoint* point, const char* text, MwLLColor color);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
||||
18
include/Mw/Font.h
Normal file
18
include/Mw/Font.h
Normal file
@@ -0,0 +1,18 @@
|
||||
/* $Id$ */
|
||||
#ifndef __MW_FONT_H__
|
||||
#define __MW_FONT_H__
|
||||
|
||||
#include <Mw/MachDep.h>
|
||||
#include <Mw/TypeDefs.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
MWDECL MwFont MwFontData[];
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
@@ -9,6 +9,7 @@
|
||||
#include <Mw/Core.h>
|
||||
#include <Mw/Default.h>
|
||||
#include <Mw/Draw.h>
|
||||
#include <Mw/Font.h>
|
||||
|
||||
#include <Mw/Window.h>
|
||||
#include <Mw/Button.h>
|
||||
|
||||
@@ -10,6 +10,7 @@ typedef struct _MwRect MwRect;
|
||||
typedef struct _MwIntegerKeyValue MwIntegerKeyValue;
|
||||
typedef struct _MwTextKeyValue MwTextKeyValue;
|
||||
typedef struct _MwUserHandlerKeyValue MwUserHandlerKeyValue;
|
||||
typedef struct _MwFont MwFont;
|
||||
#ifdef _MILSKO
|
||||
typedef struct _MwWidget *MwWidget, MwWidgetRec;
|
||||
#else
|
||||
@@ -75,4 +76,10 @@ struct _MwClass {
|
||||
MwHandler click;
|
||||
};
|
||||
|
||||
struct _MwFont {
|
||||
int left;
|
||||
int top;
|
||||
unsigned char data[14];
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
#define __MW_WINDOW_H__
|
||||
|
||||
#include <Mw/MachDep.h>
|
||||
#include <Mw/TypeDefs.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
||||
Reference in New Issue
Block a user