comparison os2/dw.c @ 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 ef7959aae8da
children 035bc006afbe
comparison
equal deleted inserted replaced
1555:5b5da6d21f08 1556:4a9c574d5c17
1 /* 1 /*
2 * Dynamic Windows: 2 * Dynamic Windows:
3 * A GTK like implementation of the PM GUI 3 * A GTK like implementation of the PM GUI
4 * 4 *
5 * (C) 2000-2011 Brian Smith <brian@dbsoft.org> 5 * (C) 2000-2012 Brian Smith <brian@dbsoft.org>
6 * (C) 2003-2011 Mark Hessling <mark@rexx.org> 6 * (C) 2003-2011 Mark Hessling <mark@rexx.org>
7 * (C) 2000 Achim Hasenmueller <achimha@innotek.de> 7 * (C) 2000 Achim Hasenmueller <achimha@innotek.de>
8 * (C) 2000 Peter Nielsen <peter@pmview.com> 8 * (C) 2000 Peter Nielsen <peter@pmview.com>
9 * (C) 1998 Sergey I. Yevtushenko (some code borrowed from cell toolkit) 9 * (C) 1998 Sergey I. Yevtushenko (some code borrowed from cell toolkit)
10 * 10 *
4633 4633
4634 /* Internal function to calculate the widget's required size.. 4634 /* Internal function to calculate the widget's required size..
4635 * These are the general rules for widget sizes: 4635 * These are the general rules for widget sizes:
4636 * 4636 *
4637 * Render/Unspecified: 1x1 4637 * Render/Unspecified: 1x1
4638 * Scrolled(Container,Tree,MLE): 500x200 4638 * Scrolled(Container,Tree,MLE): Guessed size clamped to min and max in dw.h
4639 * Entryfield/Combobox/Spinbutton: 150x(maxfontheight) 4639 * Entryfield/Combobox/Spinbutton: 150x(maxfontheight)
4640 * Spinbutton: 50x(maxfontheight) 4640 * Spinbutton: 50x(maxfontheight)
4641 * Text/Status: (textwidth)x(textheight) 4641 * Text/Status: (textwidth)x(textheight)
4642 * Ranged: 100x14 or 14x100 for vertical. 4642 * Ranged: 100x14 or 14x100 for vertical.
4643 * Buttons/Bitmaps: Size of text or image and border. 4643 * Buttons/Bitmaps: Size of text or image and border.