Moved ui.idl TODOs to TODO.md since they're long-term.

This commit is contained in:
Pietro Gagliardi 2015-05-03 13:54:42 -04:00
parent 4e1a99c868
commit a0329ba878
2 changed files with 3 additions and 3 deletions

View File

@ -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
View File

@ -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;