Commit f848b9f8 authored by Piotr Caban's avatar Piotr Caban Committed by Alexandre Julliard

wineps: Move BANDINFOSTRUCT definition to unixlib.c.

parent 7a2b34c3
...@@ -143,15 +143,6 @@ typedef struct _tagPAGESIZE { ...@@ -143,15 +143,6 @@ typedef struct _tagPAGESIZE {
WORD WinPage; /*eg DMPAPER_A4. Doesn't really belong here */ WORD WinPage; /*eg DMPAPER_A4. Doesn't really belong here */
} PAGESIZE; } PAGESIZE;
/* For BANDINFO Escape */
typedef struct _BANDINFOSTRUCT
{
BOOL GraphicsFlag;
BOOL TextFlag;
RECT GraphicsRect;
} BANDINFOSTRUCT, *PBANDINFOSTRUCT;
typedef struct typedef struct
{ {
struct list entry; struct list entry;
......
...@@ -81,6 +81,13 @@ struct printer_info ...@@ -81,6 +81,13 @@ struct printer_info
static struct list printer_info_list = LIST_INIT(printer_info_list); static struct list printer_info_list = LIST_INIT(printer_info_list);
struct band_info
{
BOOL graphics_flag;
BOOL text_flag;
RECT graphics_rect;
};
typedef struct typedef struct
{ {
struct gdi_physdev dev; struct gdi_physdev dev;
...@@ -714,11 +721,11 @@ static int CDECL ext_escape(PHYSDEV dev, int escape, int input_size, const void ...@@ -714,11 +721,11 @@ static int CDECL ext_escape(PHYSDEV dev, int escape, int input_size, const void
} }
case BANDINFO: case BANDINFO:
{ {
BANDINFOSTRUCT *ibi = (BANDINFOSTRUCT*)input; struct band_info *ibi = (struct band_info *)input;
BANDINFOSTRUCT *obi = (BANDINFOSTRUCT*)output; struct band_info *obi = (struct band_info *)output;
FIXME("BANDINFO(graphics %d, text %d, rect %s), stub!\n", ibi->GraphicsFlag, FIXME("BANDINFO(graphics %d, text %d, rect %s), stub!\n", ibi->graphics_flag,
ibi->TextFlag, wine_dbgstr_rect(&ibi->GraphicsRect)); ibi->text_flag, wine_dbgstr_rect(&ibi->graphics_rect));
*obi = *ibi; *obi = *ibi;
return 1; return 1;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment