# Path: pywinauto/win32structures.py
# class Structure(ctypes.Structure):
# class POINT(Structure):
# class RECT(Structure):
# class LVCOLUMNW(Structure):
# class LVITEMW(Structure):
# class TVITEMW(Structure):
# class NMHDR(Structure):
# class NMTVDISPINFOW(Structure):
# class LOGFONTW(Structure):
# class TEXTMETRICW(Structure):
# class NONCLIENTMETRICSW(Structure):
# class LOGBRUSH(Structure):
# class MENUITEMINFOW(Structure):
# class MENUBARINFO(Structure):
# class MSG(Structure):
# class TOOLINFOW(Structure):
# class NMTTDISPINFOW(Structure):
# class HDITEMW(Structure):
# class COMBOBOXEXITEMW(Structure):
# class TCITEMHEADERW(Structure):
# class TCITEMW(Structure):
# class TBBUTTONINFOW(Structure):
# class TBBUTTON(Structure):
# class REBARBANDINFOW(Structure):
# class SECURITY_ATTRIBUTES(Structure):
# class STARTUPINFOW(Structure):
# class PROCESS_INFORMATION(Structure):
# class NMLISTVIEW(Structure):
# class NMMOUSE(Structure):
# class MOUSEINPUT(Structure):
# class KEYBDINPUT(Structure):
# class HARDWAREINPUT(Structure):
# class UNION_INPUT_STRUCTS(Union):
# class INPUT(Structure):
# class NMUPDOWN(Structure):
# class GUITHREADINFO(Structure):
# class MENUINFO(Structure):
# class NMTTDISPINFOW(Structure):
# class WINDOWPLACEMENT(Structure):
# class TVHITTESTINFO(Structure):
#     def __str__(self):
#     def __eq__(self, other_struct):
# def _construct(typ, buf):
# def _reduce(self):
#     def __init__(self, otherRect_or_left = 0, top = 0, right = 0, bottom = 0):
#     def __str__(self):
#     def __repr__(self):
#     def __sub__(self, other):
#     def __add__(self, other):
#     def width(self):
#     def height(self):
#     def mid_point(self):
#     def __str__(self):
#     def __repr__(self):
# BOOL = c_int
# BYTE = c_ubyte
# CHAR = c_char
# DWORD = c_ulong
# HANDLE = c_void_p
# HBITMAP = c_long
# LONG = c_long
# LPARAM = LONG
# LPVOID = c_void_p
# PVOID = c_void_p
# UINT = c_uint
# WCHAR = c_wchar
# WORD = c_ushort
# WPARAM = UINT
# COLORREF = DWORD
# HBITMAP = LONG
# HINSTANCE = LONG
# HMENU = LONG
# HBRUSH = LONG
# HTREEITEM = LONG
# HWND = LONG
# LPARAM = LONG
# LPBYTE = POINTER(BYTE)
# LPWSTR = c_long# POINTER(WCHAR)
# NMTTDISPINFOW_V1_SIZE = 184 # Variable c_uint


from pywinauto import win32structures
equivalent property of the reference control font for equality.

**When is a bug reported**
For each property of the font that is not identical to the reference font a bug
is reported. So for example if the Font Face has changed and the text is bold
then (at least) 2 bugs will be reported.

**Bug Extra Information**
The bug contains the following extra information
Name	Description
ValueType	What value is incorrect (see above), String
Ref	The reference value converted to a string, String
Loc	The localised value converted to a string, String

**Is Reference dialog needed**
This test will not run if the reference controls are not available.

**False positive bug reports**
Running this test for Asian languages will result in LOTS and LOTS of false
positives, because the font HAS to change for the localised text to display
properly.

**Test Identifier**
The identifier for this test/bug is "CompareToRefFont"
"""

__revision__ = "$Revision: 614 $"

testname = "CompareToRefFont"


# Path: pywinauto/win32structures.py
# class Structure(ctypes.Structure):
# class POINT(Structure):
# class RECT(Structure):
# class LVCOLUMNW(Structure):
# class LVITEMW(Structure):
# class TVITEMW(Structure):
# class NMHDR(Structure):
# class NMTVDISPINFOW(Structure):
# class LOGFONTW(Structure):
# class TEXTMETRICW(Structure):
# class NONCLIENTMETRICSW(Structure):
# class LOGBRUSH(Structure):
# class MENUITEMINFOW(Structure):
# class MENUBARINFO(Structure):
# class MSG(Structure):
# class TOOLINFOW(Structure):
# class NMTTDISPINFOW(Structure):
# class HDITEMW(Structure):
# class COMBOBOXEXITEMW(Structure):
# class TCITEMHEADERW(Structure):
# class TCITEMW(Structure):
# class TBBUTTONINFOW(Structure):
# class TBBUTTON(Structure):
# class REBARBANDINFOW(Structure):
# class SECURITY_ATTRIBUTES(Structure):
# class STARTUPINFOW(Structure):
# class PROCESS_INFORMATION(Structure):
# class NMLISTVIEW(Structure):
# class NMMOUSE(Structure):
# class MOUSEINPUT(Structure):
# class KEYBDINPUT(Structure):
# class HARDWAREINPUT(Structure):
# class UNION_INPUT_STRUCTS(Union):
# class INPUT(Structure):
# class NMUPDOWN(Structure):
# class GUITHREADINFO(Structure):
# class MENUINFO(Structure):
# class NMTTDISPINFOW(Structure):
# class WINDOWPLACEMENT(Structure):
# class TVHITTESTINFO(Structure):
#     def __str__(self):
#     def __eq__(self, other_struct):
# def _construct(typ, buf):
# def _reduce(self):
#     def __init__(self, otherRect_or_left = 0, top = 0, right = 0, bottom = 0):
#     def __str__(self):
#     def __repr__(self):
#     def __sub__(self, other):
#     def __add__(self, other):
#     def width(self):
#     def height(self):
#     def mid_point(self):
#     def __str__(self):
#     def __repr__(self):
# BOOL = c_int
# BYTE = c_ubyte
# CHAR = c_char
# DWORD = c_ulong
# HANDLE = c_void_p
# HBITMAP = c_long
# LONG = c_long
# LPARAM = LONG
# LPVOID = c_void_p
# PVOID = c_void_p
# UINT = c_uint
# WCHAR = c_wchar
# WORD = c_ushort
# WPARAM = UINT
# COLORREF = DWORD
# HBITMAP = LONG
# HINSTANCE = LONG
# HMENU = LONG
# HBRUSH = LONG
# HTREEITEM = LONG
# HWND = LONG
# LPARAM = LONG
# LPBYTE = POINTER(BYTE)
# LPWSTR = c_long# POINTER(WCHAR)
# NMTTDISPINFOW_V1_SIZE = 184 # Variable c_uint


# Path: pywinauto/tests/comparetoreffont.py
from pywinauto import win32structures

equivalent property of the reference control font for equality.

**When is a bug reported**
For each property of the font that is not identical to the reference font a bug
is reported. So for example if the Font Face has changed and the text is bold
then (at least) 2 bugs will be reported.

**Bug Extra Information**
The bug contains the following extra information
Name	Description
ValueType	What value is incorrect (see above), String
Ref	The reference value converted to a string, String
Loc	The localised value converted to a string, String

**Is Reference dialog needed**
This test will not run if the reference controls are not available.

**False positive bug reports**
Running this test for Asian languages will result in LOTS and LOTS of false
positives, because the font HAS to change for the localised text to display
properly.

**Test Identifier**
The identifier for this test/bug is "CompareToRefFont"
"""

__revision__ = "$Revision: 614 $"

testname = "CompareToRefFont"


_font_attribs = [field[0] for field in win32structures.LOGFONTW._fields_]