somewhat functional
Some checks failed
pyrite-dev/milsko/pipeline/head There was a failure building this commit
Some checks failed
pyrite-dev/milsko/pipeline/head There was a failure building this commit
This commit is contained in:
parent
fdbdc83527
commit
097e11244c
6 changed files with 490 additions and 17 deletions
|
|
@ -121,6 +121,16 @@ enum MwCHART {
|
|||
MwCHART_LINE
|
||||
};
|
||||
|
||||
enum MwDOCUMENT_LAYOUT {
|
||||
MwDOCUMENT_TEXT = 0,
|
||||
MwDOCUMENT_NEWLINE,
|
||||
MwDOCUMENT_HEADER,
|
||||
MwDOCUMENT_BOLD,
|
||||
MwDOCUMENT_MONOSPACE,
|
||||
MwDOCUMENT_STRIKETHROUGH,
|
||||
MwDOCUMENT_UNDERLINE,
|
||||
};
|
||||
|
||||
enum MwMOUSE {
|
||||
MwMOUSE_LEFT = 1,
|
||||
MwMOUSE_MIDDLE,
|
||||
|
|
|
|||
|
|
@ -58,7 +58,6 @@
|
|||
#define MwNminute "Iminute"
|
||||
#define MwNsecond "Isecond"
|
||||
#define MwNtype "Itype"
|
||||
#define MwNautoResize "IautoResize"
|
||||
|
||||
#define MwNtitle "Stitle"
|
||||
#define MwNtext "Stext"
|
||||
|
|
@ -105,5 +104,6 @@
|
|||
#define MwNclipboardHandler "Cclipboard"
|
||||
#define MwNdarkThemeHandler "CdarkTheme"
|
||||
#define MwNdragAndDropHandler "CdragAndDrop"
|
||||
#define MwNlayoutHandler "Clayout"
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -32,6 +32,8 @@ typedef struct _MwTab* MwTab;
|
|||
typedef struct _MwTable* MwTable;
|
||||
typedef struct _MwChartEntry MwChartEntry;
|
||||
typedef struct _MwChart* MwChart;
|
||||
typedef struct _MwDocumentLayout MwDocumentLayout;
|
||||
typedef struct _MwDocument* MwDocument;
|
||||
typedef struct _MwMouse MwMouse;
|
||||
typedef struct _MwTTFInfo* MwTTFInfo;
|
||||
#ifdef _MILSKO
|
||||
|
|
@ -264,6 +266,23 @@ struct _MwMouse {
|
|||
int button;
|
||||
};
|
||||
|
||||
struct _MwDocumentLayout {
|
||||
int type;
|
||||
|
||||
int x;
|
||||
int y;
|
||||
|
||||
char* text;
|
||||
int integer;
|
||||
|
||||
MwFLFont font;
|
||||
};
|
||||
|
||||
struct _MwDocument {
|
||||
MwDocumentLayout* layouts;
|
||||
MwFLFont headers[6];
|
||||
};
|
||||
|
||||
struct _MwTTFInfo {
|
||||
char* family;
|
||||
int weight;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue