Mercurial > dwindows
comparison win/dw.c @ 926:4519a1d2525e
Reverting that last change... it makes resizing really nice but all sorts of other things screw up.
Commentary: Why does windows suck so much for developing? Every other platform I am able to draw things nicely without jumping through hoops. Windows has all sorts of features that look like they should work but every single one of them has huge issues that make them non-starters. The only way I can make Windows work well is to draw everything myself. Unbelievable.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Sat, 23 Apr 2011 00:37:36 +0000 |
parents | 24b19b905f04 |
children | 841b66d2d1b9 |
comparison
equal
deleted
inserted
replaced
925:24b19b905f04 | 926:4519a1d2525e |
---|---|
4455 */ | 4455 */ |
4456 HWND API dw_window_new(HWND hwndOwner, char *title, ULONG flStyle) | 4456 HWND API dw_window_new(HWND hwndOwner, char *title, ULONG flStyle) |
4457 { | 4457 { |
4458 HWND hwndframe; | 4458 HWND hwndframe; |
4459 Box *newbox = calloc(sizeof(Box), 1); | 4459 Box *newbox = calloc(sizeof(Box), 1); |
4460 ULONG flStyleEx = IS_XPPLUS ? WS_EX_COMPOSITED : 0; | 4460 ULONG flStyleEx = 0; |
4461 | 4461 |
4462 newbox->pad = 0; | 4462 newbox->pad = 0; |
4463 newbox->type = DW_VERT; | 4463 newbox->type = DW_VERT; |
4464 newbox->count = 0; | 4464 newbox->count = 0; |
4465 newbox->cinfo.fore = newbox->cinfo.back = -1; | 4465 newbox->cinfo.fore = newbox->cinfo.back = -1; |