Mercurial > dwindows
comparison dw.h @ 2506:fa976a5bc7bd
Add DW_FEATURE_WINDOW_PLACEMENT for platforms supporting arbitrary window placement.
Several of the new platforms supported do not allow arbitrary window placement.
GTK3/4 with Wayland does not allow you to specify the location, just the size.
iOS and Android by default the window is the full screen, or fraction of it.
GTK2/3/4 with X11, Windows, OS/2 and MacOS support arbitrary window placement.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Thu, 06 May 2021 23:19:46 +0000 |
parents | 16d195d46f2a |
children | 4b45e888eb10 |
comparison
equal
deleted
inserted
replaced
2505:a149dabf6a1f | 2506:fa976a5bc7bd |
---|---|
1761 DW_FEATURE_NOTIFICATION, /* Supports sending system notifications */ | 1761 DW_FEATURE_NOTIFICATION, /* Supports sending system notifications */ |
1762 DW_FEATURE_UTF8_UNICODE, /* Supports UTF8 encoded Unicode text */ | 1762 DW_FEATURE_UTF8_UNICODE, /* Supports UTF8 encoded Unicode text */ |
1763 DW_FEATURE_MLE_RICH_EDIT, /* Supports Rich Edit based MLE control (Windows) */ | 1763 DW_FEATURE_MLE_RICH_EDIT, /* Supports Rich Edit based MLE control (Windows) */ |
1764 DW_FEATURE_TASK_BAR, /* Supports icons in the taskbar or similar system widget */ | 1764 DW_FEATURE_TASK_BAR, /* Supports icons in the taskbar or similar system widget */ |
1765 DW_FEATURE_TREE, /* Supports the Tree Widget */ | 1765 DW_FEATURE_TREE, /* Supports the Tree Widget */ |
1766 DW_FEATURE_WINDOW_PLACEMENT /* Supports arbitrary window placement */ | |
1766 DW_FEATURE_MAX | 1767 DW_FEATURE_MAX |
1767 } DWFEATURE; | 1768 } DWFEATURE; |
1768 | 1769 |
1769 /* Macro for casting resource IDs to HICN */ | 1770 /* Macro for casting resource IDs to HICN */ |
1770 #define DW_RESOURCE(a) (a < 65536 ? (HICN)a : (HICN)0) | 1771 #define DW_RESOURCE(a) (a < 65536 ? (HICN)a : (HICN)0) |