Mercurial > dwindows
diff 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 |
line wrap: on
line diff
--- a/dw.h Mon Jan 20 20:31:52 2003 +0000 +++ b/dw.h Sat Feb 01 07:05:12 2003 +0000 @@ -632,6 +632,7 @@ #endif void API dw_main(void); void API dw_main_sleep(int seconds); +void API dw_main_iteration(void); void API dw_free(void *ptr); int API dw_window_show(HWND handle); int API dw_window_hide(HWND handle); @@ -680,7 +681,7 @@ void API dw_slider_set_pos(HWND handle, unsigned int position); unsigned int API dw_scrollbar_query_pos(HWND handle); void API dw_scrollbar_set_pos(HWND handle, unsigned int position); -void API dw_scrollbar_set_range(HWND handle, unsigned int range); +void API dw_scrollbar_set_range(HWND handle, unsigned int range, unsigned int visible); void API dw_window_set_pos(HWND handle, unsigned long x, unsigned long y); void API dw_window_set_usize(HWND handle, unsigned long width, unsigned long height); void API dw_window_set_pos_size(HWND handle, unsigned long x, unsigned long y, unsigned long width, unsigned long height);