git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@26 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
NishiOwO
2025-09-28 13:46:18 +00:00
parent 5a318e6160
commit c684c75526
10 changed files with 112 additions and 61 deletions

9
include/Milsko/Button.h Normal file
View File

@@ -0,0 +1,9 @@
/* $Id$ */
#ifndef __MILSKO_BUTTON_H__
#define __MILSKO_BUTTON_H__
#include <Milsko/MachDep.h>
MILSKODECL MilskoClass MilskoButtonClass;
#endif

View File

@@ -4,7 +4,6 @@
#include <Milsko/MachDep.h>
#include <Milsko/TypeDefs.h>
#include <Milsko/LowLevel.h>
MILSKODECL MilskoWidget MilskoCreateWidget(MilskoClass class, const char* name, MilskoWidget parent, int x, int y, unsigned int width, unsigned int height);
MILSKODECL void MilskoDestroyWidget(MilskoWidget handle);
@@ -13,8 +12,6 @@ MILSKODECL void MilskoLoop(MilskoWidget handle);
MILSKODECL void MilskoStep(MilskoWidget handle);
MILSKODECL int MilskoPending(MilskoWidget handle);
MILSKODECL MilskoLLColor MilskoParseColor(MilskoWidget handle, const char* text);
MILSKODECL void MilskoSetInteger(MilskoWidget handle, const char* key, int n);
MILSKODECL void MilskoSetText(MilskoWidget handle, const char* key, const char* value);
MILSKODECL int MilskoGetInteger(MilskoWidget handle, const char* key);

13
include/Milsko/Draw.h Normal file
View File

@@ -0,0 +1,13 @@
/* $Id$ */
#ifndef __MILSKO_DRAW_H__
#define __MILSKO_DRAW_H__
#include <Milsko/MachDep.h>
#include <Milsko/TypeDefs.h>
#include <Milsko/LowLevel.h>
MILSKODECL MilskoLLColor MilskoParseColor(MilskoWidget handle, const char* text);
MILSKODECL void MilskoDrawRect(MilskoWidget handle, MilskoRect* rect, MilskoLLColor color);
#endif

View File

@@ -8,7 +8,9 @@
#include <Milsko/TypeDefs.h>
#include <Milsko/Core.h>
#include <Milsko/Default.h>
#include <Milsko/Draw.h>
#include <Milsko/Window.h>
#include <Milsko/Button.h>
#endif