mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-02-17 01:11:45 +00:00
[qwaq] Sort out mess around placement of getwrect
This commit is contained in:
parent
d0f21ec2b4
commit
1d3c8d8a6c
4 changed files with 6 additions and 3 deletions
|
@ -18,6 +18,8 @@ typedef struct box_corners_s {
|
|||
} box_corners_t;
|
||||
|
||||
#ifdef __QFCC__
|
||||
#include "qwaq-rect.h"
|
||||
|
||||
// names, order and comments lifted from ncurses.h
|
||||
typedef enum {
|
||||
/* VT100 symbols begin here */
|
||||
|
@ -122,6 +124,8 @@ typedef struct panel_s *panel_t;
|
|||
box_sides_t sides, box_corners_t corners);
|
||||
@extern void mvwblit_line (window_t window, int x, int y, int *wch, int len);
|
||||
|
||||
@extern Rect getwrect (struct window_s *window);
|
||||
|
||||
@extern void printf(string fmt, ...);
|
||||
#endif
|
||||
|
||||
|
|
|
@ -22,7 +22,6 @@ typedef struct Rect_s {
|
|||
@extern Extent makeExtent (int width, int height);
|
||||
//XXX will not work if point or rect point to a local variabl
|
||||
@extern int rectContainsPoint (Rect *rect, Point *point);
|
||||
@extern Rect getwrect (struct window_s *window);
|
||||
@extern Rect clipRect (Rect clipRect, Rect rect);
|
||||
#endif
|
||||
|
||||
|
|
|
@ -167,5 +167,6 @@ int curs_set (int visibility) = #0;
|
|||
int move (int x, int y) = #0;
|
||||
void wborder (window_t window, box_sides_t sides, box_corners_t corners) = #0;
|
||||
void mvwblit_line (window_t window, int x, int y, int *wch, int len) = #0;
|
||||
Rect getwrect (window_t window) = #0;
|
||||
|
||||
void printf(string fmt, ...) = #0;
|
||||
|
|
|
@ -126,6 +126,5 @@ updateScreenCursor (View *view)
|
|||
[textContext mvaddch: pos, ch];
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
Rect getwrect (window_t window) = #0;
|
||||
@end
|
||||
|
|
Loading…
Reference in a new issue