Mercurial > dwindows
comparison mac/dw.m @ 1556:4a9c574d5c17
Fixed on Windows showing themed static text on colored boxes when the window is glass.
Fixed off by one in scrollbox scroller bars on Windows.
Moved class name defines out of the main header and into the Windows source file.
Updated copyright dates to 2012.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Sun, 15 Jan 2012 22:36:41 +0000 |
parents | 46a2123ff570 |
children | 030e9bddc1c9 |
comparison
equal
deleted
inserted
replaced
1555:5b5da6d21f08 | 1556:4a9c574d5c17 |
---|---|
1 /* | 1 /* |
2 * Dynamic Windows: | 2 * Dynamic Windows: |
3 * A GTK like implementation of the MacOS GUI using Cocoa | 3 * A GTK like implementation of the MacOS GUI using Cocoa |
4 * | 4 * |
5 * (C) 2011 Brian Smith <brian@dbsoft.org> | 5 * (C) 2012 Brian Smith <brian@dbsoft.org> |
6 * (C) 2011 Mark Hessling <mark@rexx.org> | 6 * (C) 2011 Mark Hessling <mark@rexx.org> |
7 * | 7 * |
8 * Requires 10.5 or later. | 8 * Requires 10.5 or later. |
9 * clang -std=c99 -g -o dwtest -D__MAC__ -I. dwtest.c mac/dw.m -framework Cocoa -framework WebKit | 9 * clang -std=c99 -g -o dwtest -D__MAC__ -I. dwtest.c mac/dw.m -framework Cocoa -framework WebKit |
10 */ | 10 */ |
3407 | 3407 |
3408 /* Internal function to calculate the widget's required size.. | 3408 /* Internal function to calculate the widget's required size.. |
3409 * These are the general rules for widget sizes: | 3409 * These are the general rules for widget sizes: |
3410 * | 3410 * |
3411 * Render/Unspecified: 1x1 | 3411 * Render/Unspecified: 1x1 |
3412 * Scrolled(Container,Tree,MLE): 500x200 | 3412 * Scrolled(Container,Tree,MLE): Guessed size clamped to min and max in dw.h |
3413 * Entryfield/Combobox/Spinbutton: 150x(maxfontheight) | 3413 * Entryfield/Combobox/Spinbutton: 150x(maxfontheight) |
3414 * Spinbutton: 50x(maxfontheight) | 3414 * Spinbutton: 50x(maxfontheight) |
3415 * Text/Status: (textwidth)x(textheight) | 3415 * Text/Status: (textwidth)x(textheight) |
3416 * Ranged: 100x14 or 14x100 for vertical. | 3416 * Ranged: 100x14 or 14x100 for vertical. |
3417 * Buttons/Bitmaps: Size of text or image and border. | 3417 * Buttons/Bitmaps: Size of text or image and border. |