view readme @ 1483:73f2ad84d4ec

Fixed OS/2 windows being shown when setting position/size. Moved the OS/2 specific DW_OS2_NEW_WINDOW flag into os2/dw.c. Deprecated and essentially removed DW_FCF_SHELLPOSITION and DW_FCF_NOBYTEALIGN. These were OS/2 specific and are set automatically now... FCF_SHELLPOSITION was causing the positioning problems that necessitated the window being shown to set the size and position. Right now SHELLPOSITION isn't used at all... causing shell positioning to not work. I hope to have a way to allow shell positioning to work again soon but the idea I had to do this did not work.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Fri, 23 Dec 2011 15:58:13 +0000
parents e0212278f794
children 8b84b752a363
line wrap: on
line source

This is a preview release of Dynamic Windows version 2.3.

The current Dynamic Windows source base is considered stable on:
OS/2, Mac, Windows, Linux, FreeBSD and Solaris.

Known problems:

Boxes with no expandable items will have their contents centered on 
    GTK2 instead of top or left justified on the other platforms.
GTK3 due to changes in the core architecture does not support
    widgets that are smaller than what is contained within them
    unless they use scrolled windows. GTK2 and other platforms do.

Known limitations:

It is not safe on all platforms to operate on widgets before they
are packed.  For portability pack widgets before operating on them.

On Mac if performing Dynamic Windows operations on secondary 
threads which do not terminate, it may be required to call
a Mac specific DW function _dw_pool_drain() at the end of the
thread's loop to prevent memory leaks.

Future features:

OS/2 is currently missing the HTML widget because the system does 
not support it by default. Looking into importing functionality 
from available libraries (Firefox, Webkit, Qt, etc).

Changes from version 2.2:
Added dw_menu_delete_item() for removing menu items.
    Now you can use dw_window_destroy() on menu items handles also.
Added dw_app_dir() which attempts to locate private application data
    for the current platform.
Added dw_window_set_tooltip() for adding tooltips to most widgets.
Added dw_window_get_preferred_size() for getting the size the system
    thinks the widget should be, to aid in creating layouts.
Added support for -1 size parameter to the dw_box_pack*() functions to 
    automatically figure out a suggested size for many controls.
Added automatic window redraw support for OS/2, Windows and Mac.
Added dw_window_set_gravity() for enhanced window placement.
Added automatic window border detection on GTK.
   This eliminates the need for the DW_BORDER_* environment variables.
Added Open Watcom compiler support for OS/2.
Added pseudo transparent background widget support on Windows and OS/2.
   If you set the background color of a widget to DW_RGB_TRANSPARENT...
   it will attempt to use the background color of the parent.
   Several types of widgets have this set by default now.
Added faster and less buggy layout engine 2.0 for OS/2, Windows and Mac.
Fixed auto-sizing top-level windows on Windows; added on OS/2 and Mac.
Fixed bubble help not being displayed on Windows.
Fixed menu bar items remaining highlighted on Mac.
Fixed OS/2 and Windows showing windows during dw_window_set_pos/size().
Deprecated DW_FCF_NOBYTEALIGN and DW_FCF_SHELLPOSITION flags.

Dynamic Windows Documentation is available at:

http://dbsoft.org/dw_help.php

If you have any questions or suggestions feel free to email me at:

brian@dbsoft.org

Thanks!

Brian Smith