Mercurial > dwindows
comparison dw.h @ 195:b023d363fc09
Added scrollbar and timer support on OS/2 and GTK.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Mon, 20 Jan 2003 08:49:11 +0000 |
parents | f55677513954 |
children | b955228477b3 |
comparison
equal
deleted
inserted
replaced
194:37bee5b50bcb | 195:b023d363fc09 |
---|---|
659 HWND API dw_button_new(char *text, unsigned long id); | 659 HWND API dw_button_new(char *text, unsigned long id); |
660 HWND API dw_spinbutton_new(char *text, unsigned long id); | 660 HWND API dw_spinbutton_new(char *text, unsigned long id); |
661 HWND API dw_radiobutton_new(char *text, ULONG id); | 661 HWND API dw_radiobutton_new(char *text, ULONG id); |
662 HWND API dw_percent_new(unsigned long id); | 662 HWND API dw_percent_new(unsigned long id); |
663 HWND API dw_slider_new(int vertical, int increments, ULONG id); | 663 HWND API dw_slider_new(int vertical, int increments, ULONG id); |
664 HWND API dw_scrollbar_new(int vertical, int increments, ULONG id); | |
664 HWND API dw_checkbox_new(char *text, unsigned long id); | 665 HWND API dw_checkbox_new(char *text, unsigned long id); |
665 HWND API dw_listbox_new(unsigned long id, int multi); | 666 HWND API dw_listbox_new(unsigned long id, int multi); |
666 void API dw_listbox_append(HWND handle, char *text); | 667 void API dw_listbox_append(HWND handle, char *text); |
667 void API dw_listbox_clear(HWND handle); | 668 void API dw_listbox_clear(HWND handle); |
668 int API dw_listbox_count(HWND handle); | 669 int API dw_listbox_count(HWND handle); |
675 int API dw_listbox_selected_multi(HWND handle, int where); | 676 int API dw_listbox_selected_multi(HWND handle, int where); |
676 unsigned int API dw_percent_query_range(HWND handle); | 677 unsigned int API dw_percent_query_range(HWND handle); |
677 void API dw_percent_set_pos(HWND handle, unsigned int position); | 678 void API dw_percent_set_pos(HWND handle, unsigned int position); |
678 unsigned int API dw_slider_query_pos(HWND handle); | 679 unsigned int API dw_slider_query_pos(HWND handle); |
679 void API dw_slider_set_pos(HWND handle, unsigned int position); | 680 void API dw_slider_set_pos(HWND handle, unsigned int position); |
681 unsigned int API dw_scrollbar_query_pos(HWND handle); | |
682 void API dw_scrollbar_set_pos(HWND handle, unsigned int position); | |
683 void API dw_scrollbar_set_range(HWND handle, unsigned int range); | |
680 void API dw_window_set_pos(HWND handle, unsigned long x, unsigned long y); | 684 void API dw_window_set_pos(HWND handle, unsigned long x, unsigned long y); |
681 void API dw_window_set_usize(HWND handle, unsigned long width, unsigned long height); | 685 void API dw_window_set_usize(HWND handle, unsigned long width, unsigned long height); |
682 void API dw_window_set_pos_size(HWND handle, unsigned long x, unsigned long y, unsigned long width, unsigned long height); | 686 void API dw_window_set_pos_size(HWND handle, unsigned long x, unsigned long y, unsigned long width, unsigned long height); |
683 void API dw_window_get_pos_size(HWND handle, unsigned long *x, unsigned long *y, unsigned long *width, unsigned long *height); | 687 void API dw_window_get_pos_size(HWND handle, unsigned long *x, unsigned long *y, unsigned long *width, unsigned long *height); |
684 void API dw_window_set_style(HWND handle, unsigned long style, unsigned long mask); | 688 void API dw_window_set_style(HWND handle, unsigned long style, unsigned long mask); |
807 void API dw_window_set_data(HWND window, char *dataname, void *data); | 811 void API dw_window_set_data(HWND window, char *dataname, void *data); |
808 void * API dw_window_get_data(HWND window, char *dataname); | 812 void * API dw_window_get_data(HWND window, char *dataname); |
809 int API dw_module_load(char *name, HMOD *handle); | 813 int API dw_module_load(char *name, HMOD *handle); |
810 int API dw_module_symbol(HMOD handle, char *name, void**func); | 814 int API dw_module_symbol(HMOD handle, char *name, void**func); |
811 int API dw_module_close(HMOD handle); | 815 int API dw_module_close(HMOD handle); |
812 #ifndef NO_SIGNALS | 816 int API dw_timer_connect(HWND window, int interval, void *sigfunc, void *data); |
817 void API dw_timer_disconnect(int id); | |
813 void API dw_signal_connect(HWND window, char *signame, void *sigfunc, void *data); | 818 void API dw_signal_connect(HWND window, char *signame, void *sigfunc, void *data); |
814 void API dw_signal_disconnect_by_window(HWND window); | 819 void API dw_signal_disconnect_by_window(HWND window); |
815 void API dw_signal_disconnect_by_data(HWND window, void *data); | 820 void API dw_signal_disconnect_by_data(HWND window, void *data); |
816 void API dw_signal_disconnect_by_name(HWND window, char *signame); | 821 void API dw_signal_disconnect_by_name(HWND window, char *signame); |
817 #endif | 822 |
818 | 823 #endif |
819 #endif |