Moved ui.idl TODOs to TODO.md since they're long-term.
This commit is contained in:
parent
4e1a99c868
commit
a0329ba878
3
TODO.md
3
TODO.md
|
@ -44,6 +44,9 @@
|
|||
- Windows: don't abort if a cleanup function fails?
|
||||
- should uiWindowOnClosing() really return an int?
|
||||
- if so, should the default return 0 instead of 1?
|
||||
- note that uiInitOptions should be initialized to zero
|
||||
- have a cbSize member
|
||||
- drop "Page" from uiTab method names? (uiTabAppendPage() -> uiTabAppend())
|
||||
|
||||
ultimately:
|
||||
- add some sort of runtime type checking
|
||||
|
|
3
ui.idl
3
ui.idl
|
@ -12,9 +12,7 @@ raw "#ifndef _UI_EXTERN";
|
|||
raw "#define _UI_EXTERN extern";
|
||||
raw "#endif";
|
||||
|
||||
// TODO note that should be initialized to zero
|
||||
struct InitOptions {
|
||||
// TODO cbSize
|
||||
};
|
||||
|
||||
func Init(options *InitOptions) *const char;
|
||||
|
@ -101,7 +99,6 @@ interface Label from Control {
|
|||
func NewLabel(text *const char) *Label;
|
||||
|
||||
interface Tab from Control {
|
||||
// TODO remove Page from these?
|
||||
func AppendPage(name *const char, c *Control);
|
||||
func DeletePage(index uintmax_t);
|
||||
func NumPages(void) uintmax_t;
|
||||
|
|
Loading…
Reference in New Issue