Mercurial > dwindows
comparison dw.h @ 2670:e3a95940c18f
Android: Implement DW_FCF_CLOSEBUTTON and DW_FCF_TITLEBAR flags.
Move the window destroy logic into the C code event handler...
That way handling the DW_SIGNAL_DELETE can prevent the window closure.
The application still can't be stopped from closing, but windows can.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Mon, 18 Oct 2021 00:09:57 +0000 |
parents | 2362cb4b7ef9 |
children | 3a7dcc0ae08b |
comparison
equal
deleted
inserted
replaced
2669:2ad924c6493d | 2670:e3a95940c18f |
---|---|
810 #define DW_DT_HALFTONE 0 | 810 #define DW_DT_HALFTONE 0 |
811 #define DW_DT_MNEMONIC 0 | 811 #define DW_DT_MNEMONIC 0 |
812 #define DW_DT_WORDBREAK 0 | 812 #define DW_DT_WORDBREAK 0 |
813 #define DW_DT_ERASERECT 0 | 813 #define DW_DT_ERASERECT 0 |
814 | 814 |
815 #define DW_FCF_CLOSEBUTTON 0 | 815 #define DW_FCF_CLOSEBUTTON 1 |
816 #define DW_FCF_TITLEBAR 0 | 816 #define DW_FCF_TITLEBAR (1 << 1) |
817 #define DW_FCF_SYSMENU 0 | 817 #define DW_FCF_SYSMENU 0 |
818 #define DW_FCF_MENU 0 | 818 #define DW_FCF_MENU 0 |
819 #define DW_FCF_SIZEBORDER 0 | 819 #define DW_FCF_SIZEBORDER 0 |
820 #define DW_FCF_MINBUTTON 0 | 820 #define DW_FCF_MINBUTTON 0 |
821 #define DW_FCF_MAXBUTTON 0 | 821 #define DW_FCF_MAXBUTTON 0 |