More OS X control stuff.

This commit is contained in:
Pietro Gagliardi 2015-07-11 17:02:01 -04:00
parent dc9bf84256
commit 71c8bfc539
14 changed files with 28 additions and 25 deletions

View File

@ -1,9 +1,9 @@
// 10 june 2015
#include "uipriv_OSHERE.h"
#include "uipriv_darwin.h"
struct button {
uiButton b;
OSTYPE OSHANDLE;
OSTYPE *OSHANDLE;
void (*onClicked)(uiButton *, void *);
void *onClickedData;
};

View File

@ -1,9 +1,9 @@
// 10 june 2015
#include "uipriv_OSHERE.h"
#include "uipriv_darwin.h"
struct checkbox {
uiCheckbox c;
OSTYPE OSHANDLE;
OSTYPE *OSHANDLE;
void (*onToggled)(uiCheckbox *, void *);
void *onToggledData;
};

View File

@ -1,9 +1,9 @@
// 11 june 2015
#include "uipriv_OSHERE.h"
#include "uipriv_darwin.h"
struct combobox {
uiCombobox c;
OSTYPE OSHANDLE;
OSTYPE *OSHANDLE;
};
uiDefineControlType(uiCombobox, uiTypeCombobox, struct combobox)

View File

@ -1,9 +1,9 @@
// 11 june 2015
#include "uipriv_OSHERE.h"
#include "uipriv_darwin.h"
struct datetimepicker {
uiDateTimePicker d;
OSTYPE OSHANDLE;
OSTYPE *OSHANDLE;
};
uiDefineControlType(uiDateTimePicker, uiTypeDateTimePicker, struct datetimepicker)

View File

@ -1,9 +1,9 @@
// 11 june 2015
#include "uipriv_OSHERE.h"
#include "uipriv_darwin.h"
struct entry {
uiEntry e;
OSTYPE OSHANDLE;
OSTYPE *OSHANDLE;
void (*onChanged)(uiEntry *, void *);
void *onChangedData;
};

View File

@ -1,9 +1,9 @@
// 11 june 2015
#include "uipriv_OSHERE.h"
#include "uipriv_darwin.h"
struct group {
uiGroup g;
OSTYPE OSHANDLE;
OSTYPE *OSHANDLE;
uiControl *child;
int margined;
};

View File

@ -1,9 +1,9 @@
// 11 june 2015
#include "uipriv_OSHERE.h"
#include "uipriv_darwin.h"
struct label {
uiLabel l;
OSTYPE OSHANDLE;
OSTYPE *OSHANDLE;
};
uiDefineControlType(uiLabel, uiTypeLabel, struct label)

View File

@ -1,9 +1,9 @@
// 11 june 2015
#include "uipriv_OSHERE.h"
#include "uipriv_darwin.h"
struct progressbar {
uiProgressBar p;
OSTYPE OSHANDLE;
OSTYPE *OSHANDLE;
};
uiDefineControlType(uiProgressBar, uiTypeProgressBar, struct progressbar)

View File

@ -1,5 +1,5 @@
// 11 june 2015
#include "uipriv_OSHERE.h"
#include "uipriv_darwin.h"
struct radiobuttons {
uiRadioButtons r;

View File

@ -1,9 +1,9 @@
// 11 june 2015
#include "uipriv_OSHERE.h"
#include "uipriv_darwin.h"
struct separator {
uiSeparator s;
OSTYPE OSHANDLE;
OSTYPE *OSHANDLE;
};
uiDefineControlType(uiSeparator, uiTypeSeparator, struct separator)

View File

@ -1,9 +1,9 @@
// 11 june 2015
#include "uipriv_OSHERE.h"
#include "uipriv_darwin.h"
struct slider {
uiSlider s;
OSTYPE OSHANDLE;
OSTYPE *OSHANDLE;
void (*onChanged)(uiSlider *, void *);
void *onChangedData;
};

View File

@ -1,9 +1,9 @@
// 11 june 2015
#include "uipriv_OSHERE.h"
#include "uipriv_darwin.h"
struct spinbox {
uiSpinbox s;
OSTYPE OSHANDLE;
OSTYPE *OSHANDLE;
void (*onChanged)(uiSpinbox *, void *);
void *onChangedData;
};

View File

@ -1,9 +1,9 @@
// 11 june 2015
#include "uipriv_OSHERE.h"
#include "uipriv_darwin.h"
struct tab {
uiTab t;
OSTYPE OSHANDLE;
OSTYPE *OSHANDLE;
};
uiDefineControlType(uiTab, uiTypeTab, struct tab)

View File

@ -55,3 +55,6 @@ extern uiWindow *windowFromNSWindow(NSWindow *);
// alloc.m
extern void initAlloc(void);
extern void uninitAlloc(void);
// TODO
#define PUT_CODE_HERE 0