home *** CD-ROM | disk | FTP | other *** search
-
- #ifndef __dl_window_h
- #define __dl_window_h
- #ifndef __dl_wimp_h
- #include "Wimp.h"
- #endif
- #ifndef __dl_wimpswis_h
- #include "WimpSWIs.h"
- #endif
- #ifndef __dl_pointer_h
- #include "Pointer.h"
- #endif
- #ifndef __dl_coord_h
- #include "Coord.h"
- #endif
- typedef enum
- {
- open_WHEREVER,
- open_CENTERED,
- open_CENTEREDUNDERPOINTER,
- open_OVERCARET,
- open_UNDERPOINTER,
- open_NEARLAST
- } window_openpos;
- extern window_handle Window_Create(char *windowname, int maxtitlesize);
- extern window_handle Window_CreateOrig(char *windowname);
- extern void Window_Show(window_handle window, window_openpos openpos);
- extern window_handle Window_CreateAndShow(char *windowname,
- int maxtitlesize,
- window_openpos openpos);
- #define Window_Hide(handle) Wimp_CloseWindow(handle)
- extern void Window_Delete(window_handle window);
- extern void Window_DeleteOrig(window_handle window);
- extern void Window_GetInfo(window_handle window, window_info *result);
- extern os_error *Window_GetInfo3(window_handle window, window_info *result);
- extern void Window_ParentName(window_handle window, char *windowname);
- extern BOOL Window_AutoHelp(window_handle window, icon_handle icon);
- extern BOOL Window_HelpHandler(event_pollblock *event, void *reference);
- extern void Window_ModeChange(void);
- extern void Window_SetTitle(window_handle window, char *title);
- extern void Window_BringToFront(window_handle window);
- #define Window_ConstrainMouse(WND) (Pointer_RestrictToWindow(WND))
- extern void Window_SetExtent(window_handle wh, int x0, int y0, int x1, int y1);
- extern void Window_ForceRedraw(window_handle wh,
- int x0, int y0, int x1, int y1);
- extern void Window_GetCoords(window_handle wh, convert_block *coords);
- extern os_error *Window_GainCaret(window_handle window);
- extern os_error *Window_ForceWholeRedraw(window_handle window);
- extern BOOL Window_MoveWindow(event_pollblock *event, void *reference);
- #endif
-