comparison dw.h @ 203:e0beea487e8f

Added the basics for scrollbar thumb size on OS/2, and dw_main_iteration() which runs a message loop until it handles one message and returns. So other languages can run message loops and call this function internally.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Sat, 01 Feb 2003 07:05:12 +0000
parents b955228477b3
children 098ed34d41fb
comparison
equal deleted inserted replaced
202:9f87ad1572eb 203:e0beea487e8f
630 #else 630 #else
631 int API dw_init(int newthread, int argc, char *argv[]); 631 int API dw_init(int newthread, int argc, char *argv[]);
632 #endif 632 #endif
633 void API dw_main(void); 633 void API dw_main(void);
634 void API dw_main_sleep(int seconds); 634 void API dw_main_sleep(int seconds);
635 void API dw_main_iteration(void);
635 void API dw_free(void *ptr); 636 void API dw_free(void *ptr);
636 int API dw_window_show(HWND handle); 637 int API dw_window_show(HWND handle);
637 int API dw_window_hide(HWND handle); 638 int API dw_window_hide(HWND handle);
638 int API dw_window_minimize(HWND handle); 639 int API dw_window_minimize(HWND handle);
639 int API dw_window_raise(HWND handle); 640 int API dw_window_raise(HWND handle);
678 void API dw_percent_set_pos(HWND handle, unsigned int position); 679 void API dw_percent_set_pos(HWND handle, unsigned int position);
679 unsigned int API dw_slider_query_pos(HWND handle); 680 unsigned int API dw_slider_query_pos(HWND handle);
680 void API dw_slider_set_pos(HWND handle, unsigned int position); 681 void API dw_slider_set_pos(HWND handle, unsigned int position);
681 unsigned int API dw_scrollbar_query_pos(HWND handle); 682 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_pos(HWND handle, unsigned int position);
683 void API dw_scrollbar_set_range(HWND handle, unsigned int range); 684 void API dw_scrollbar_set_range(HWND handle, unsigned int range, unsigned int visible);
684 void API dw_window_set_pos(HWND handle, unsigned long x, unsigned long y); 685 void API dw_window_set_pos(HWND handle, unsigned long x, unsigned long y);
685 void API dw_window_set_usize(HWND handle, unsigned long width, unsigned long height); 686 void API dw_window_set_usize(HWND handle, 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); 687 void API dw_window_set_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); 688 void API dw_window_get_pos_size(HWND handle, unsigned long *x, unsigned long *y, unsigned long *width, unsigned long *height);
688 void API dw_window_set_style(HWND handle, unsigned long style, unsigned long mask); 689 void API dw_window_set_style(HWND handle, unsigned long style, unsigned long mask);