More OS X control stuff.
This commit is contained in:
parent
dc9bf84256
commit
71c8bfc539
|
@ -1,9 +1,9 @@
|
||||||
// 10 june 2015
|
// 10 june 2015
|
||||||
#include "uipriv_OSHERE.h"
|
#include "uipriv_darwin.h"
|
||||||
|
|
||||||
struct button {
|
struct button {
|
||||||
uiButton b;
|
uiButton b;
|
||||||
OSTYPE OSHANDLE;
|
OSTYPE *OSHANDLE;
|
||||||
void (*onClicked)(uiButton *, void *);
|
void (*onClicked)(uiButton *, void *);
|
||||||
void *onClickedData;
|
void *onClickedData;
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
// 10 june 2015
|
// 10 june 2015
|
||||||
#include "uipriv_OSHERE.h"
|
#include "uipriv_darwin.h"
|
||||||
|
|
||||||
struct checkbox {
|
struct checkbox {
|
||||||
uiCheckbox c;
|
uiCheckbox c;
|
||||||
OSTYPE OSHANDLE;
|
OSTYPE *OSHANDLE;
|
||||||
void (*onToggled)(uiCheckbox *, void *);
|
void (*onToggled)(uiCheckbox *, void *);
|
||||||
void *onToggledData;
|
void *onToggledData;
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
// 11 june 2015
|
// 11 june 2015
|
||||||
#include "uipriv_OSHERE.h"
|
#include "uipriv_darwin.h"
|
||||||
|
|
||||||
struct combobox {
|
struct combobox {
|
||||||
uiCombobox c;
|
uiCombobox c;
|
||||||
OSTYPE OSHANDLE;
|
OSTYPE *OSHANDLE;
|
||||||
};
|
};
|
||||||
|
|
||||||
uiDefineControlType(uiCombobox, uiTypeCombobox, struct combobox)
|
uiDefineControlType(uiCombobox, uiTypeCombobox, struct combobox)
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
// 11 june 2015
|
// 11 june 2015
|
||||||
#include "uipriv_OSHERE.h"
|
#include "uipriv_darwin.h"
|
||||||
|
|
||||||
struct datetimepicker {
|
struct datetimepicker {
|
||||||
uiDateTimePicker d;
|
uiDateTimePicker d;
|
||||||
OSTYPE OSHANDLE;
|
OSTYPE *OSHANDLE;
|
||||||
};
|
};
|
||||||
|
|
||||||
uiDefineControlType(uiDateTimePicker, uiTypeDateTimePicker, struct datetimepicker)
|
uiDefineControlType(uiDateTimePicker, uiTypeDateTimePicker, struct datetimepicker)
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
// 11 june 2015
|
// 11 june 2015
|
||||||
#include "uipriv_OSHERE.h"
|
#include "uipriv_darwin.h"
|
||||||
|
|
||||||
struct entry {
|
struct entry {
|
||||||
uiEntry e;
|
uiEntry e;
|
||||||
OSTYPE OSHANDLE;
|
OSTYPE *OSHANDLE;
|
||||||
void (*onChanged)(uiEntry *, void *);
|
void (*onChanged)(uiEntry *, void *);
|
||||||
void *onChangedData;
|
void *onChangedData;
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
// 11 june 2015
|
// 11 june 2015
|
||||||
#include "uipriv_OSHERE.h"
|
#include "uipriv_darwin.h"
|
||||||
|
|
||||||
struct group {
|
struct group {
|
||||||
uiGroup g;
|
uiGroup g;
|
||||||
OSTYPE OSHANDLE;
|
OSTYPE *OSHANDLE;
|
||||||
uiControl *child;
|
uiControl *child;
|
||||||
int margined;
|
int margined;
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
// 11 june 2015
|
// 11 june 2015
|
||||||
#include "uipriv_OSHERE.h"
|
#include "uipriv_darwin.h"
|
||||||
|
|
||||||
struct label {
|
struct label {
|
||||||
uiLabel l;
|
uiLabel l;
|
||||||
OSTYPE OSHANDLE;
|
OSTYPE *OSHANDLE;
|
||||||
};
|
};
|
||||||
|
|
||||||
uiDefineControlType(uiLabel, uiTypeLabel, struct label)
|
uiDefineControlType(uiLabel, uiTypeLabel, struct label)
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
// 11 june 2015
|
// 11 june 2015
|
||||||
#include "uipriv_OSHERE.h"
|
#include "uipriv_darwin.h"
|
||||||
|
|
||||||
struct progressbar {
|
struct progressbar {
|
||||||
uiProgressBar p;
|
uiProgressBar p;
|
||||||
OSTYPE OSHANDLE;
|
OSTYPE *OSHANDLE;
|
||||||
};
|
};
|
||||||
|
|
||||||
uiDefineControlType(uiProgressBar, uiTypeProgressBar, struct progressbar)
|
uiDefineControlType(uiProgressBar, uiTypeProgressBar, struct progressbar)
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// 11 june 2015
|
// 11 june 2015
|
||||||
#include "uipriv_OSHERE.h"
|
#include "uipriv_darwin.h"
|
||||||
|
|
||||||
struct radiobuttons {
|
struct radiobuttons {
|
||||||
uiRadioButtons r;
|
uiRadioButtons r;
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
// 11 june 2015
|
// 11 june 2015
|
||||||
#include "uipriv_OSHERE.h"
|
#include "uipriv_darwin.h"
|
||||||
|
|
||||||
struct separator {
|
struct separator {
|
||||||
uiSeparator s;
|
uiSeparator s;
|
||||||
OSTYPE OSHANDLE;
|
OSTYPE *OSHANDLE;
|
||||||
};
|
};
|
||||||
|
|
||||||
uiDefineControlType(uiSeparator, uiTypeSeparator, struct separator)
|
uiDefineControlType(uiSeparator, uiTypeSeparator, struct separator)
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
// 11 june 2015
|
// 11 june 2015
|
||||||
#include "uipriv_OSHERE.h"
|
#include "uipriv_darwin.h"
|
||||||
|
|
||||||
struct slider {
|
struct slider {
|
||||||
uiSlider s;
|
uiSlider s;
|
||||||
OSTYPE OSHANDLE;
|
OSTYPE *OSHANDLE;
|
||||||
void (*onChanged)(uiSlider *, void *);
|
void (*onChanged)(uiSlider *, void *);
|
||||||
void *onChangedData;
|
void *onChangedData;
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
// 11 june 2015
|
// 11 june 2015
|
||||||
#include "uipriv_OSHERE.h"
|
#include "uipriv_darwin.h"
|
||||||
|
|
||||||
struct spinbox {
|
struct spinbox {
|
||||||
uiSpinbox s;
|
uiSpinbox s;
|
||||||
OSTYPE OSHANDLE;
|
OSTYPE *OSHANDLE;
|
||||||
void (*onChanged)(uiSpinbox *, void *);
|
void (*onChanged)(uiSpinbox *, void *);
|
||||||
void *onChangedData;
|
void *onChangedData;
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
// 11 june 2015
|
// 11 june 2015
|
||||||
#include "uipriv_OSHERE.h"
|
#include "uipriv_darwin.h"
|
||||||
|
|
||||||
struct tab {
|
struct tab {
|
||||||
uiTab t;
|
uiTab t;
|
||||||
OSTYPE OSHANDLE;
|
OSTYPE *OSHANDLE;
|
||||||
};
|
};
|
||||||
|
|
||||||
uiDefineControlType(uiTab, uiTypeTab, struct tab)
|
uiDefineControlType(uiTab, uiTypeTab, struct tab)
|
||||||
|
|
|
@ -55,3 +55,6 @@ extern uiWindow *windowFromNSWindow(NSWindow *);
|
||||||
// alloc.m
|
// alloc.m
|
||||||
extern void initAlloc(void);
|
extern void initAlloc(void);
|
||||||
extern void uninitAlloc(void);
|
extern void uninitAlloc(void);
|
||||||
|
|
||||||
|
// TODO
|
||||||
|
#define PUT_CODE_HERE 0
|
||||||
|
|
Loading…
Reference in New Issue