Commit 30346232 authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard

winhelp: Get rid of the old internal rendering.

parent 10e676ab
...@@ -22,7 +22,6 @@ ...@@ -22,7 +22,6 @@
const char MAIN_WIN_CLASS_NAME[] = "MS_WINHELP"; const char MAIN_WIN_CLASS_NAME[] = "MS_WINHELP";
const char BUTTON_BOX_WIN_CLASS_NAME[] = "WHButtonBox"; const char BUTTON_BOX_WIN_CLASS_NAME[] = "WHButtonBox";
const char TEXT_WIN_CLASS_NAME[] = "WHText";
const char SHADOW_WIN_CLASS_NAME[] = "WHShadow"; const char SHADOW_WIN_CLASS_NAME[] = "WHShadow";
const char HISTORY_WIN_CLASS_NAME[] = "WHHistory"; const char HISTORY_WIN_CLASS_NAME[] = "WHHistory";
const char STRING_BUTTON[] = "BUTTON"; const char STRING_BUTTON[] = "BUTTON";
......
...@@ -40,42 +40,6 @@ ...@@ -40,42 +40,6 @@
#include "macro.h" #include "macro.h"
#include "winhelp_res.h" #include "winhelp_res.h"
typedef struct tagHelpLinePart
{
RECT rect;
enum {hlp_line_part_text, hlp_line_part_bitmap, hlp_line_part_metafile} cookie;
union
{
struct
{
LPCSTR lpsText;
HFONT hFont;
COLORREF color;
WORD wTextLen;
WORD wUnderline; /* 0 None, 1 simple, 2 double, 3 dotted */
} text;
struct
{
HBITMAP hBitmap;
} bitmap;
struct
{
HMETAFILE hMetaFile;
INT mm;
} metafile;
} u;
HLPFILE_LINK* link;
struct tagHelpLinePart *next;
} WINHELP_LINE_PART;
typedef struct tagHelpLine
{
RECT rect;
WINHELP_LINE_PART first_part;
struct tagHelpLine* next;
} WINHELP_LINE;
typedef struct tagHelpButton typedef struct tagHelpButton
{ {
HWND hWnd; HWND hWnd;
...@@ -111,7 +75,6 @@ typedef struct tagWinHelp ...@@ -111,7 +75,6 @@ typedef struct tagWinHelp
WINHELP_BUTTON* first_button; WINHELP_BUTTON* first_button;
HLPFILE_PAGE* page; HLPFILE_PAGE* page;
WINHELP_LINE* first_line;
HWND hMainWnd; HWND hMainWnd;
HWND hShadowWnd; HWND hShadowWnd;
...@@ -120,7 +83,6 @@ typedef struct tagWinHelp ...@@ -120,7 +83,6 @@ typedef struct tagWinHelp
HFONT* fonts; HFONT* fonts;
UINT fonts_len; UINT fonts_len;
HCURSOR hArrowCur;
HCURSOR hHandCur; HCURSOR hHandCur;
HBRUSH hBrush; HBRUSH hBrush;
......
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