mirror of
https://gitea.nishi.boats/pyrite-dev/milsko
synced 2026-01-03 08:00:50 +00:00
h
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@27 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
@@ -16,6 +16,7 @@ MILSKODECL void MilskoSetInteger(MilskoWidget handle, const char* key, in
|
||||
MILSKODECL void MilskoSetText(MilskoWidget handle, const char* key, const char* value);
|
||||
MILSKODECL int MilskoGetInteger(MilskoWidget handle, const char* key);
|
||||
MILSKODECL const char* MilskoGetText(MilskoWidget handle, const char* key);
|
||||
MILSKODECL void MilskoSetDefault(MilskoWidget handle);
|
||||
MILSKODECL void MilskoApply(MilskoWidget handle, ...);
|
||||
|
||||
#endif
|
||||
|
||||
@@ -27,6 +27,9 @@ typedef struct _MilskoLowLevel {
|
||||
|
||||
typedef struct _MilskoColor {
|
||||
unsigned long pixel;
|
||||
int red;
|
||||
int green;
|
||||
int blue;
|
||||
}* MilskoLLColor;
|
||||
|
||||
#endif
|
||||
|
||||
@@ -2,9 +2,11 @@
|
||||
#include <Milsko/Milsko.h>
|
||||
|
||||
static void create(MilskoWidget handle) {
|
||||
MilskoSetDefault(handle);
|
||||
}
|
||||
|
||||
static void draw(MilskoWidget handle) {
|
||||
MilskoPoint p[6];
|
||||
}
|
||||
|
||||
MilskoClassRec MilskoButtonClassRec = {
|
||||
|
||||
@@ -162,3 +162,7 @@ void MilskoApply(MilskoWidget handle, ...) {
|
||||
}
|
||||
va_end(va);
|
||||
}
|
||||
|
||||
void MilskoSetDefault(MilskoWidget handle) {
|
||||
MilskoSetText(handle, MilskoNbackground, MilskoDefaultBackground);
|
||||
}
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
#include <Milsko/Milsko.h>
|
||||
|
||||
static void create(MilskoWidget handle) {
|
||||
MilskoSetText(handle, MilskoNbackground, MilskoDefaultBackground);
|
||||
MilskoSetDefault(handle);
|
||||
}
|
||||
|
||||
static void draw(MilskoWidget handle) {
|
||||
|
||||
Reference in New Issue
Block a user