Started removing intmax_ts, first with uipriv_windows.hpp.
This commit is contained in:
parent
cb3f10f243
commit
8c974e7b77
|
@ -117,7 +117,7 @@ void tabPageDestroy(struct tabPage *tp)
|
||||||
uiFree(tp);
|
uiFree(tp);
|
||||||
}
|
}
|
||||||
|
|
||||||
void tabPageMinimumSize(struct tabPage *tp, intmax_t *width, intmax_t *height)
|
void tabPageMinimumSize(struct tabPage *tp, int *width, int *height)
|
||||||
{
|
{
|
||||||
int mx, my;
|
int mx, my;
|
||||||
|
|
||||||
|
|
|
@ -38,7 +38,7 @@ extern WCHAR *vstrf(const WCHAR *format, va_list ap);
|
||||||
extern char *LFtoCRLF(const char *lfonly);
|
extern char *LFtoCRLF(const char *lfonly);
|
||||||
extern void CRLFtoLF(char *s);
|
extern void CRLFtoLF(char *s);
|
||||||
extern WCHAR *ftoutf16(double d);
|
extern WCHAR *ftoutf16(double d);
|
||||||
extern WCHAR *itoutf16(intmax_t i);
|
extern WCHAR *itoutf16(int i);
|
||||||
|
|
||||||
// debug.cpp
|
// debug.cpp
|
||||||
// see http://stackoverflow.com/questions/14421656/is-there-widely-available-wide-character-variant-of-file
|
// see http://stackoverflow.com/questions/14421656/is-there-widely-available-wide-character-variant-of-file
|
||||||
|
@ -69,7 +69,7 @@ extern DWORD getStyle(HWND hwnd);
|
||||||
extern void setStyle(HWND hwnd, DWORD style);
|
extern void setStyle(HWND hwnd, DWORD style);
|
||||||
extern DWORD getExStyle(HWND hwnd);
|
extern DWORD getExStyle(HWND hwnd);
|
||||||
extern void setExStyle(HWND hwnd, DWORD exstyle);
|
extern void setExStyle(HWND hwnd, DWORD exstyle);
|
||||||
extern void clientSizeToWindowSize(HWND hwnd, intmax_t *width, intmax_t *height, BOOL hasMenubar);
|
extern void clientSizeToWindowSize(HWND hwnd, int *width, int *height, BOOL hasMenubar);
|
||||||
extern HWND parentOf(HWND child);
|
extern HWND parentOf(HWND child);
|
||||||
extern HWND parentToplevel(HWND child);
|
extern HWND parentToplevel(HWND child);
|
||||||
extern void setWindowInsertAfter(HWND hwnd, HWND insertAfter);
|
extern void setWindowInsertAfter(HWND hwnd, HWND insertAfter);
|
||||||
|
@ -134,7 +134,7 @@ struct tabPage {
|
||||||
};
|
};
|
||||||
extern struct tabPage *newTabPage(uiControl *child);
|
extern struct tabPage *newTabPage(uiControl *child);
|
||||||
extern void tabPageDestroy(struct tabPage *tp);
|
extern void tabPageDestroy(struct tabPage *tp);
|
||||||
extern void tabPageMinimumSize(struct tabPage *tp, intmax_t *width, intmax_t *height);
|
extern void tabPageMinimumSize(struct tabPage *tp, int *width, int *height);
|
||||||
|
|
||||||
// colordialog.cpp
|
// colordialog.cpp
|
||||||
struct colorDialogRGBA {
|
struct colorDialogRGBA {
|
||||||
|
|
|
@ -142,7 +142,7 @@ WCHAR *ftoutf16(double d)
|
||||||
}
|
}
|
||||||
|
|
||||||
// to complement the above
|
// to complement the above
|
||||||
WCHAR *itoutf16(intmax_t i)
|
WCHAR *itoutf16(int i)
|
||||||
{
|
{
|
||||||
std::wostringstream ss;
|
std::wostringstream ss;
|
||||||
std::wstring s;
|
std::wstring s;
|
||||||
|
|
|
@ -77,7 +77,7 @@ void setExStyle(HWND hwnd, DWORD exstyle)
|
||||||
}
|
}
|
||||||
|
|
||||||
// see http://blogs.msdn.com/b/oldnewthing/archive/2003/09/11/54885.aspx and http://blogs.msdn.com/b/oldnewthing/archive/2003/09/13/54917.aspx
|
// see http://blogs.msdn.com/b/oldnewthing/archive/2003/09/11/54885.aspx and http://blogs.msdn.com/b/oldnewthing/archive/2003/09/13/54917.aspx
|
||||||
void clientSizeToWindowSize(HWND hwnd, intmax_t *width, intmax_t *height, BOOL hasMenubar)
|
void clientSizeToWindowSize(HWND hwnd, int *width, int *height, BOOL hasMenubar)
|
||||||
{
|
{
|
||||||
RECT window;
|
RECT window;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue