Migrated child.c. Ugh...
This commit is contained in:
parent
805e5f9811
commit
f829a06a7c
|
@ -1,5 +1,5 @@
|
||||||
// 28 august 2015
|
// 28 august 2015
|
||||||
#include "uipriv_windows.h"
|
#include "uipriv_windows.hpp"
|
||||||
|
|
||||||
// This file contains helpers for managing child controls.
|
// This file contains helpers for managing child controls.
|
||||||
|
|
|
@ -71,3 +71,27 @@ extern BOOL handleParentMessages(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lPa
|
||||||
|
|
||||||
// resize.cpp
|
// resize.cpp
|
||||||
extern void doResizes(void);
|
extern void doResizes(void);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
// TODO
|
||||||
|
// child.cpp
|
||||||
|
extern struct child *newChild(uiControl *child, uiControl *parent, HWND parentHWND);
|
||||||
|
extern struct child *newChildWithTabPage(uiControl *child, uiControl *parent, HWND parentHWND);
|
||||||
|
extern void childRemove(struct child *c);
|
||||||
|
extern void childDestroy(struct child *c);
|
||||||
|
extern HWND childHWND(struct child *c);
|
||||||
|
extern void childMinimumSize(struct child *c, uiWindowsSizing *d, intmax_t *width, intmax_t *height);
|
||||||
|
extern void childRelayout(struct child *c, intmax_t x, intmax_t y, intmax_t width, intmax_t height);
|
||||||
|
extern void childQueueRelayout(struct child *c);
|
||||||
|
extern int childVisible(struct child *c);
|
||||||
|
extern void childUpdateState(struct child *c);
|
||||||
|
extern void childAssignControlIDZOrder(struct child *c, LONG_PTR *controlID, HWND *insertAfter);
|
||||||
|
extern void childSetSoleControlID(struct child *c);
|
||||||
|
extern HWND childTabPage(struct child *c);
|
||||||
|
extern int childMargined(struct child *c);
|
||||||
|
extern void childSetMargined(struct child *c, int margined);
|
||||||
|
extern int childFlag(struct child *c);
|
||||||
|
extern void childSetFlag(struct child *c, int flag);
|
||||||
|
extern intmax_t childIntmax(struct child *c, int n);
|
||||||
|
extern void childSetIntmax(struct child *c, int n, intmax_t to);
|
||||||
|
|
Loading…
Reference in New Issue