comparison dw.h @ 2741:0b1030337dd3

Add dw_window_reparent() to the list of deprecated functions. The only sanctioned use of this function was to move windows in and out of MDI (Multiple Document Interface). Due to no support on Mac, iOS and Android MDI is deprecated and only supported for legacy applications.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Sun, 19 Dec 2021 15:48:41 +0000
parents 9be24001d288
children a31c2e3a781e
comparison
equal deleted inserted replaced
2740:9be24001d288 2741:0b1030337dd3
1962 HWND API dw_box_new(int type, int pad); 1962 HWND API dw_box_new(int type, int pad);
1963 HWND API dw_scrollbox_new(int type, int pad); 1963 HWND API dw_scrollbox_new(int type, int pad);
1964 int API dw_scrollbox_get_pos( HWND handle, int orient ); 1964 int API dw_scrollbox_get_pos( HWND handle, int orient );
1965 int API dw_scrollbox_get_range( HWND handle, int orient ); 1965 int API dw_scrollbox_get_range( HWND handle, int orient );
1966 HWND API dw_groupbox_new(int type, int pad, const char *title); 1966 HWND API dw_groupbox_new(int type, int pad, const char *title);
1967 DW_DEPRECATED(HWND API dw_mdi_new(unsigned long id), "Due to lack of full Mac support consider avoiding this function."); 1967 DW_DEPRECATED(HWND API dw_mdi_new(unsigned long id), "Due to lack of Mac, iOS and Android support consider avoiding this function.");
1968 HWND API dw_bitmap_new(unsigned long id); 1968 HWND API dw_bitmap_new(unsigned long id);
1969 HWND API dw_bitmapbutton_new(const char *text, unsigned long id); 1969 HWND API dw_bitmapbutton_new(const char *text, unsigned long id);
1970 HWND API dw_bitmapbutton_new_from_file(const char *text, unsigned long id, const char *filename); 1970 HWND API dw_bitmapbutton_new_from_file(const char *text, unsigned long id, const char *filename);
1971 HWND API dw_bitmapbutton_new_from_data(const char *text, unsigned long id, const char *str, int len); 1971 HWND API dw_bitmapbutton_new_from_data(const char *text, unsigned long id, const char *str, int len);
1972 HWND API dw_container_new(unsigned long id, int multi); 1972 HWND API dw_container_new(unsigned long id, int multi);
2019 int API dw_window_set_border(HWND handle, int border); 2019 int API dw_window_set_border(HWND handle, int border);
2020 void API dw_window_disable(HWND handle); 2020 void API dw_window_disable(HWND handle);
2021 void API dw_window_enable(HWND handle); 2021 void API dw_window_enable(HWND handle);
2022 void API dw_window_capture(HWND handle); 2022 void API dw_window_capture(HWND handle);
2023 void API dw_window_release(void); 2023 void API dw_window_release(void);
2024 void API dw_window_reparent(HWND handle, HWND newparent); 2024 DW_DEPRECATED(void API dw_window_reparent(HWND handle, HWND newparent), "Due to the deprecation of MDI, the only approved use of this function.");
2025 void API dw_window_set_pointer(HWND handle, int pointertype); 2025 void API dw_window_set_pointer(HWND handle, int pointertype);
2026 void API dw_window_set_focus(HWND handle); 2026 void API dw_window_set_focus(HWND handle);
2027 void API dw_window_default(HWND window, HWND defaultitem); 2027 void API dw_window_default(HWND window, HWND defaultitem);
2028 void API dw_window_click_default(HWND window, HWND next); 2028 void API dw_window_click_default(HWND window, HWND next);
2029 unsigned int API dw_mle_import(HWND handle, const char *buffer, int startpoint); 2029 unsigned int API dw_mle_import(HWND handle, const char *buffer, int startpoint);