/* Structure recording bitmaps and reference count.
If REFCOUNT is 0 then this record is free to be reused. */
-struct w32_bitmap_record
+struct w32_bitmap_record
{
Pixmap pixmap;
char *file;
/* Foreground color for scroll bars. A value of -1 means use the
default (black for non-toolkit scroll bars). */
COLORREF scroll_bar_foreground_pixel;
-
+
/* Background color for scroll bars. A value of -1 means use the
default (background color of the frame for non-toolkit scroll
bars). */
/* Window whose cursor is hourglass_cursor. This window is
temporarily mapped to display an hourglass cursor. */
Window hourglass_window;
-
+
/* Non-zero means hourglass cursor is currently displayed. */
unsigned hourglass_p : 1;
/* Return the length of the rectangle within which the top of the
handle must stay. This isn't equivalent to the inside height,
- because the scroll bar handle has a minimum height.
+ because the scroll bar handle has a minimum height.
This is the real range of motion for the scroll bar, so when we're
scaling buffer positions to scroll bar positions, we use this, not
+ (f)->output_data.w32->internal_border_width)
-/* Return the row/column (zero-based) of the character cell containing
+/* Return the row/column (zero-based) of the character cell containing
the pixel on FRAME at ROW/COL. */
#define PIXEL_TO_CHAR_ROW(f, row) \
(((row) - (f)->output_data.w32->internal_border_width) \
#define WM_EMACS_SETCURSOR (WM_EMACS_START + 19)
#define WM_EMACS_END (WM_EMACS_START + 20)
-#define WND_FONTWIDTH_INDEX (0)
-#define WND_LINEHEIGHT_INDEX (4)
-#define WND_BORDER_INDEX (8)
-#define WND_SCROLLBAR_INDEX (12)
-#define WND_BACKGROUND_INDEX (16)
+#define WND_FONTWIDTH_INDEX (0)
+#define WND_LINEHEIGHT_INDEX (4)
+#define WND_BORDER_INDEX (8)
+#define WND_SCROLLBAR_INDEX (12)
+#define WND_BACKGROUND_INDEX (16)
#define WND_LAST_INDEX (20)
#define WND_EXTRA_BYTES (WND_LAST_INDEX)
#define WM_MOUSELEAVE 0x02A3
#define TME_LEAVE 0x00000002;
-typedef struct tagTRACKMOUSEEVENT
+typedef struct tagTRACKMOUSEEVENT
{
DWORD cbSize;
DWORD dwFlags;