~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ freetext search ] ~ [ file search ] ~

Wine Cross Reference
wine/programs/wineconsole/winecon_user.h

Version: ~ [ wine-1.1.33 ] ~ [ wine-1.1.32 ] ~ [ wine-1.1.31 ] ~ [ wine-1.1.30 ] ~ [ wine-1.1.29 ] ~ [ wine-1.1.28 ] ~ [ wine-1.1.27 ] ~ [ wine-1.1.26 ] ~ [ wine-1.1.25 ] ~ [ wine-1.1.24 ] ~ [ wine-1.1.23 ] ~ [ wine-1.1.22 ] ~ [ wine-1.1.21 ] ~ [ wine-1.1.20 ] ~ [ wine-1.1.19 ] ~ [ wine-1.1.18 ] ~ [ wine-1.1.17 ] ~ [ wine-1.1.16 ] ~ [ wine-1.1.15 ] ~ [ wine-1.1.14 ] ~ [ wine-1.1.13 ] ~ [ wine-1.1.12 ] ~ [ wine-1.1.11 ] ~ [ wine-1.1.10 ] ~ [ wine-1.1.9 ] ~ [ wine-1.1.8 ] ~ [ wine-1.1.7 ] ~ [ wine-1.0.1 ] ~ [ wine-1.1.6 ] ~ [ wine-1.1.5 ] ~ [ wine-1.1.4 ] ~ [ wine-1.1.3 ] ~ [ wine-1.1.2 ] ~ [ wine-1.1.1 ] ~ [ wine-1.1.0 ] ~ [ wine-1.0 ] ~

  1 /*
  2  * an application for displaying Win32 console
  3  * USER32 backend
  4  *
  5  * Copyright 2001 Eric Pouech
  6  *
  7  * This library is free software; you can redistribute it and/or
  8  * modify it under the terms of the GNU Lesser General Public
  9  * License as published by the Free Software Foundation; either
 10  * version 2.1 of the License, or (at your option) any later version.
 11  *
 12  * This library is distributed in the hope that it will be useful,
 13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
 14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 15  * Lesser General Public License for more details.
 16  *
 17  * You should have received a copy of the GNU Lesser General Public
 18  * License along with this library; if not, write to the Free Software
 19  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
 20  */
 21 
 22 #include <stdarg.h>
 23 #include <windef.h>
 24 #include <winbase.h>
 25 #include <wingdi.h>
 26 #include <winuser.h>
 27 #include "winecon_private.h"
 28 
 29 struct inner_data_user {
 30     /* the following fields are only user by the USER backend (should be hidden in user) */
 31     HFONT               hFont;          /* font used for rendering, usually fixed */
 32     LONG                ext_leading;    /* external leading for hFont */
 33     HDC                 hMemDC;         /* memory DC holding the bitmap below */
 34     HBITMAP             hBitmap;        /* bitmap of display window content */
 35     HMENU               hPopMenu;       /* popup menu triggered by right mouse click */
 36 
 37     HBITMAP             cursor_bitmap;  /* bitmap used for the caret */
 38     BOOL                has_selection;  /* an area is being selected (selectPt[12] are edges of the rect) */
 39     COORD               selectPt1;      /* start (and end) point of a mouse selection */
 40     COORD               selectPt2;
 41 };
 42 
 43 #define PRIVATE(data)   ((struct inner_data_user*)((data)->private))
 44 
 45 /* from user.c */
 46 extern const COLORREF WCUSER_ColorMap[16];
 47 extern BOOL WCUSER_GetProperties(struct inner_data*, BOOL);
 48 extern BOOL WCUSER_ValidateFont(const struct inner_data* data, const LOGFONT* lf);
 49 extern BOOL WCUSER_ValidateFontMetric(const struct inner_data* data,
 50                                       const TEXTMETRIC* tm, DWORD fontType);
 51 extern HFONT WCUSER_CopyFont(struct config_data* config, HWND hWnd, const LOGFONT* lf,
 52                              LONG* el);
 53 extern void WCUSER_FillLogFont(LOGFONT* lf, const WCHAR* name,
 54                                UINT height, UINT weight);
 55 
 56 extern void WCUSER_DumpLogFont(const char* pfx, const LOGFONT* lf, DWORD ft);
 57 extern void WCUSER_DumpTextMetric(const TEXTMETRIC* tm, DWORD ft);
 58 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ freetext search ] ~ [ file search ] ~

This page was automatically generated by the LXR engine.
Visit the LXR main site for more information.