Mercurial > dwindows
comparison dw.h @ 2036:48b91f535f82
GTK: More const changes... a few more commits to finish.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Sun, 17 Nov 2019 05:16:04 +0000 |
parents | ea303d356419 |
children | 2c2530f8cbef |
comparison
equal
deleted
inserted
replaced
2035:ea303d356419 | 2036:48b91f535f82 |
---|---|
1597 HWND API dw_container_new(unsigned long id, int multi); | 1597 HWND API dw_container_new(unsigned long id, int multi); |
1598 HWND API dw_tree_new(unsigned long id); | 1598 HWND API dw_tree_new(unsigned long id); |
1599 HWND API dw_text_new(const char *text, unsigned long id); | 1599 HWND API dw_text_new(const char *text, unsigned long id); |
1600 HWND API dw_status_text_new(const char *text, unsigned long id); | 1600 HWND API dw_status_text_new(const char *text, unsigned long id); |
1601 HWND API dw_mle_new(unsigned long id); | 1601 HWND API dw_mle_new(unsigned long id); |
1602 HWND API dw_entryfield_new(char *text, unsigned long id); | 1602 HWND API dw_entryfield_new(const char *text, unsigned long id); |
1603 HWND API dw_entryfield_password_new(const char *text, ULONG id); | 1603 HWND API dw_entryfield_password_new(const char *text, ULONG id); |
1604 HWND API dw_combobox_new(char *text, unsigned long id); | 1604 HWND API dw_combobox_new(const char *text, unsigned long id); |
1605 HWND API dw_button_new(char *text, unsigned long id); | 1605 HWND API dw_button_new(const char *text, unsigned long id); |
1606 HWND API dw_spinbutton_new(char const *text, unsigned long id); | 1606 HWND API dw_spinbutton_new(const char *text, unsigned long id); |
1607 HWND API dw_radiobutton_new(char *text, ULONG id); | 1607 HWND API dw_radiobutton_new(const char *text, ULONG id); |
1608 HWND API dw_percent_new(unsigned long id); | 1608 HWND API dw_percent_new(unsigned long id); |
1609 HWND API dw_slider_new(int vertical, int increments, ULONG id); | 1609 HWND API dw_slider_new(int vertical, int increments, ULONG id); |
1610 HWND API dw_scrollbar_new(int vertical, ULONG id); | 1610 HWND API dw_scrollbar_new(int vertical, ULONG id); |
1611 HWND API dw_checkbox_new(char *text, unsigned long id); | 1611 HWND API dw_checkbox_new(const char *text, unsigned long id); |
1612 HWND API dw_listbox_new(unsigned long id, int multi); | 1612 HWND API dw_listbox_new(unsigned long id, int multi); |
1613 void API dw_listbox_append(HWND handle, const char *text); | 1613 void API dw_listbox_append(HWND handle, const char *text); |
1614 void API dw_listbox_insert(HWND handle, char *text, int pos); | 1614 void API dw_listbox_insert(HWND handle, const char *text, int pos); |
1615 void API dw_listbox_list_append(HWND handle, char **text, int count); | 1615 void API dw_listbox_list_append(HWND handle, char **text, int count); |
1616 void API dw_listbox_clear(HWND handle); | 1616 void API dw_listbox_clear(HWND handle); |
1617 int API dw_listbox_count(HWND handle); | 1617 int API dw_listbox_count(HWND handle); |
1618 void API dw_listbox_set_top(HWND handle, int top); | 1618 void API dw_listbox_set_top(HWND handle, int top); |
1619 void API dw_listbox_select(HWND handle, int index, int state); | 1619 void API dw_listbox_select(HWND handle, int index, int state); |
1649 void API dw_window_reparent(HWND handle, HWND newparent); | 1649 void API dw_window_reparent(HWND handle, HWND newparent); |
1650 void API dw_window_set_pointer(HWND handle, int pointertype); | 1650 void API dw_window_set_pointer(HWND handle, int pointertype); |
1651 void API dw_window_set_focus(HWND handle); | 1651 void API dw_window_set_focus(HWND handle); |
1652 void API dw_window_default(HWND window, HWND defaultitem); | 1652 void API dw_window_default(HWND window, HWND defaultitem); |
1653 void API dw_window_click_default(HWND window, HWND next); | 1653 void API dw_window_click_default(HWND window, HWND next); |
1654 unsigned int API dw_mle_import(HWND handle, char *buffer, int startpoint); | 1654 unsigned int API dw_mle_import(HWND handle, const char *buffer, int startpoint); |
1655 void API dw_mle_export(HWND handle, char *buffer, int startpoint, int length); | 1655 void API dw_mle_export(HWND handle, char *buffer, int startpoint, int length); |
1656 void API dw_mle_get_size(HWND handle, unsigned long *bytes, unsigned long *lines); | 1656 void API dw_mle_get_size(HWND handle, unsigned long *bytes, unsigned long *lines); |
1657 void API dw_mle_delete(HWND handle, int startpoint, int length); | 1657 void API dw_mle_delete(HWND handle, int startpoint, int length); |
1658 void API dw_mle_clear(HWND handle); | 1658 void API dw_mle_clear(HWND handle); |
1659 void API dw_mle_freeze(HWND handle); | 1659 void API dw_mle_freeze(HWND handle); |
1661 void API dw_mle_set_cursor(HWND handle, int point); | 1661 void API dw_mle_set_cursor(HWND handle, int point); |
1662 void API dw_mle_set_visible(HWND handle, int line); | 1662 void API dw_mle_set_visible(HWND handle, int line); |
1663 void API dw_mle_set_editable(HWND handle, int state); | 1663 void API dw_mle_set_editable(HWND handle, int state); |
1664 void API dw_mle_set_word_wrap(HWND handle, int state); | 1664 void API dw_mle_set_word_wrap(HWND handle, int state); |
1665 void API dw_mle_set_auto_complete(HWND handle, int state); | 1665 void API dw_mle_set_auto_complete(HWND handle, int state); |
1666 int API dw_mle_search(HWND handle, char *text, int point, unsigned long flags); | 1666 int API dw_mle_search(HWND handle, const char *text, int point, unsigned long flags); |
1667 void API dw_spinbutton_set_pos(HWND handle, long position); | 1667 void API dw_spinbutton_set_pos(HWND handle, long position); |
1668 void API dw_spinbutton_set_limits(HWND handle, long upper, long lower); | 1668 void API dw_spinbutton_set_limits(HWND handle, long upper, long lower); |
1669 void API dw_entryfield_set_limit(HWND handle, ULONG limit); | 1669 void API dw_entryfield_set_limit(HWND handle, ULONG limit); |
1670 long API dw_spinbutton_get_pos(HWND handle); | 1670 long API dw_spinbutton_get_pos(HWND handle); |
1671 int API dw_checkbox_get(HWND handle); | 1671 int API dw_checkbox_get(HWND handle); |
1731 HWND API dw_splitbar_new(int type, HWND topleft, HWND bottomright, unsigned long id); | 1731 HWND API dw_splitbar_new(int type, HWND topleft, HWND bottomright, unsigned long id); |
1732 void API dw_splitbar_set(HWND handle, float percent); | 1732 void API dw_splitbar_set(HWND handle, float percent); |
1733 float API dw_splitbar_get(HWND handle); | 1733 float API dw_splitbar_get(HWND handle); |
1734 HMENUI API dw_menu_new(unsigned long id); | 1734 HMENUI API dw_menu_new(unsigned long id); |
1735 HMENUI API dw_menubar_new(HWND location); | 1735 HMENUI API dw_menubar_new(HWND location); |
1736 HWND API dw_menu_append_item(HMENUI menu, char *title, unsigned long id, unsigned long flags, int end, int check, HMENUI submenu); | 1736 HWND API dw_menu_append_item(HMENUI menu, const char *title, unsigned long id, unsigned long flags, int end, int check, HMENUI submenu); |
1737 int API dw_menu_delete_item(HMENUI menu, unsigned long id); | 1737 int API dw_menu_delete_item(HMENUI menu, unsigned long id); |
1738 DW_DEPRECATED(void API dw_menu_item_set_check(HMENUI menu, unsigned long id, int check), "Use dw_menu_item_set_state() for new code."); | 1738 DW_DEPRECATED(void API dw_menu_item_set_check(HMENUI menu, unsigned long id, int check), "Use dw_menu_item_set_state() for new code."); |
1739 void API dw_menu_item_set_state( HMENUI menux, unsigned long id, unsigned long state); | 1739 void API dw_menu_item_set_state( HMENUI menux, unsigned long id, unsigned long state); |
1740 void API dw_menu_popup(HMENUI *menu, HWND parent, int x, int y); | 1740 void API dw_menu_popup(HMENUI *menu, HWND parent, int x, int y); |
1741 void API dw_menu_destroy(HMENUI *menu); | 1741 void API dw_menu_destroy(HMENUI *menu); |
1784 void API dw_beep(int freq, int dur); | 1784 void API dw_beep(int freq, int dur); |
1785 void API dw_debug(const char *format, ...); | 1785 void API dw_debug(const char *format, ...); |
1786 int API dw_messagebox(const char *title, int flags, const char *format, ...); | 1786 int API dw_messagebox(const char *title, int flags, const char *format, ...); |
1787 void API dw_environment_query(DWEnv *env); | 1787 void API dw_environment_query(DWEnv *env); |
1788 int API dw_exec(const char *program, int type, char **params); | 1788 int API dw_exec(const char *program, int type, char **params); |
1789 int API dw_browse(char *url); | 1789 int API dw_browse(const char *url); |
1790 char * API dw_file_browse(const char *title, const char *defpath, const char *ext, int flags); | 1790 char * API dw_file_browse(const char *title, const char *defpath, const char *ext, int flags); |
1791 char * API dw_user_dir(void); | 1791 char * API dw_user_dir(void); |
1792 char * API dw_app_dir(void); | 1792 char * API dw_app_dir(void); |
1793 DWDialog * API dw_dialog_new(void *data); | 1793 DWDialog * API dw_dialog_new(void *data); |
1794 int API dw_dialog_dismiss(DWDialog *dialog, void *result); | 1794 int API dw_dialog_dismiss(DWDialog *dialog, void *result); |
1795 void * API dw_dialog_wait(DWDialog *dialog); | 1795 void * API dw_dialog_wait(DWDialog *dialog); |
1796 void API dw_window_set_data(HWND window, const char *dataname, void *data); | 1796 void API dw_window_set_data(HWND window, const char *dataname, void *data); |
1797 void * API dw_window_get_data(HWND window, const char *dataname); | 1797 void * API dw_window_get_data(HWND window, const char *dataname); |
1798 int API dw_module_load(char *name, HMOD *handle); | 1798 int API dw_module_load(const char *name, HMOD *handle); |
1799 int API dw_module_symbol(HMOD handle, const char *name, void**func); | 1799 int API dw_module_symbol(HMOD handle, const char *name, void**func); |
1800 int API dw_module_close(HMOD handle); | 1800 int API dw_module_close(HMOD handle); |
1801 int API dw_timer_connect(int interval, void *sigfunc, void *data); | 1801 int API dw_timer_connect(int interval, void *sigfunc, void *data); |
1802 void API dw_timer_disconnect(int id); | 1802 void API dw_timer_disconnect(int id); |
1803 void API dw_signal_connect(HWND window, const char *signame, void *sigfunc, void *data); | 1803 void API dw_signal_connect(HWND window, const char *signame, void *sigfunc, void *data); |
1822 char * API dw_clipboard_get_text(void); | 1822 char * API dw_clipboard_get_text(void); |
1823 void API dw_clipboard_set_text(const char *str, int len); | 1823 void API dw_clipboard_set_text(const char *str, int len); |
1824 HWND API dw_calendar_new(unsigned long id); | 1824 HWND API dw_calendar_new(unsigned long id); |
1825 void API dw_calendar_set_date(HWND window, unsigned int year, unsigned int month, unsigned int day); | 1825 void API dw_calendar_set_date(HWND window, unsigned int year, unsigned int month, unsigned int day); |
1826 void API dw_calendar_get_date(HWND window, unsigned int *year, unsigned int *month, unsigned int *day); | 1826 void API dw_calendar_get_date(HWND window, unsigned int *year, unsigned int *month, unsigned int *day); |
1827 HPRINT API dw_print_new(char *jobname, unsigned long flags, unsigned int pages, void *drawfunc, void *drawdata); | 1827 HPRINT API dw_print_new(const char *jobname, unsigned long flags, unsigned int pages, void *drawfunc, void *drawdata); |
1828 int API dw_print_run(HPRINT print, unsigned long flags); | 1828 int API dw_print_run(HPRINT print, unsigned long flags); |
1829 void API dw_print_cancel(HPRINT print); | 1829 void API dw_print_cancel(HPRINT print); |
1830 wchar_t * API dw_utf8_to_wchar(const char *utf8string); | 1830 wchar_t * API dw_utf8_to_wchar(const char *utf8string); |
1831 char * API dw_wchar_to_utf8(const wchar_t *wstring); | 1831 char * API dw_wchar_to_utf8(const wchar_t *wstring); |
1832 /* Exported for language bindings */ | 1832 /* Exported for language bindings */ |