diff 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
line wrap: on
line diff
--- a/dw.h	Thu May 06 22:02:49 2021 +0000
+++ b/dw.h	Thu May 06 23:19:46 2021 +0000
@@ -1763,6 +1763,7 @@
     DW_FEATURE_MLE_RICH_EDIT,           /* Supports Rich Edit based MLE control (Windows) */
     DW_FEATURE_TASK_BAR,                /* Supports icons in the taskbar or similar system widget */
     DW_FEATURE_TREE,                    /* Supports the Tree Widget */
+    DW_FEATURE_WINDOW_PLACEMENT         /* Supports arbitrary window placement */
     DW_FEATURE_MAX
 } DWFEATURE;