Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
596206f0
Commit
596206f0
authored
Oct 06, 2008
by
Jacek Caban
Committed by
Alexandre Julliard
Oct 07, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Moved HTMLStyle to separated header file.
parent
9b657fa0
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
38 additions
and
18 deletions
+38
-18
htmlstyle.c
dlls/mshtml/htmlstyle.c
+3
-2
htmlstyle.h
dlls/mshtml/htmlstyle.h
+32
-0
htmlstyle2.c
dlls/mshtml/htmlstyle2.c
+3
-2
mshtml_private.h
dlls/mshtml/mshtml_private.h
+0
-14
No files found.
dlls/mshtml/htmlstyle.c
View file @
596206f0
...
...
@@ -25,11 +25,12 @@
#include "winuser.h"
#include "ole2.h"
#include "mshtml_private.h"
#include "htmlstyle.h"
#include "wine/debug.h"
#include "wine/unicode.h"
#include "mshtml_private.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
mshtml
);
static
const
WCHAR
attrBackground
[]
=
...
...
dlls/mshtml/htmlstyle.h
0 → 100644
View file @
596206f0
/*
* Copyright 2008 Jacek Caban for CodeWeavers
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
typedef
struct
{
DispatchEx
dispex
;
const
IHTMLStyleVtbl
*
lpHTMLStyleVtbl
;
const
IHTMLStyle2Vtbl
*
lpHTMLStyle2Vtbl
;
LONG
ref
;
nsIDOMCSSStyleDeclaration
*
nsstyle
;
}
HTMLStyle
;
#define HTMLSTYLE(x) ((IHTMLStyle*) &(x)->lpHTMLStyleVtbl)
#define HTMLSTYLE2(x) ((IHTMLStyle2*) &(x)->lpHTMLStyle2Vtbl)
void
HTMLStyle2_Init
(
HTMLStyle
*
);
dlls/mshtml/htmlstyle2.c
View file @
596206f0
...
...
@@ -25,11 +25,12 @@
#include "winuser.h"
#include "ole2.h"
#include "mshtml_private.h"
#include "htmlstyle.h"
#include "wine/debug.h"
#include "wine/unicode.h"
#include "mshtml_private.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
mshtml
);
#define HTMLSTYLE2_THIS(iface) DEFINE_THIS(HTMLStyle, HTMLStyle2, iface)
...
...
dlls/mshtml/mshtml_private.h
View file @
596206f0
...
...
@@ -393,16 +393,6 @@ typedef struct {
ConnectionPoint
cp
;
}
HTMLTextContainer
;
typedef
struct
{
DispatchEx
dispex
;
const
IHTMLStyleVtbl
*
lpHTMLStyleVtbl
;
const
IHTMLStyle2Vtbl
*
lpHTMLStyle2Vtbl
;
LONG
ref
;
nsIDOMCSSStyleDeclaration
*
nsstyle
;
}
HTMLStyle
;
#define HTMLWINDOW2(x) ((IHTMLWindow2*) &(x)->lpHTMLWindow2Vtbl)
#define HTMLWINDOW3(x) ((IHTMLWindow3*) &(x)->lpHTMLWindow3Vtbl)
...
...
@@ -459,9 +449,6 @@ typedef struct {
#define HTMLOPTFACTORY(x) ((IHTMLOptionElementFactory*) &(x)->lpHTMLOptionElementFactoryVtbl)
#define HTMLLOCATION(x) ((IHTMLLocation*) &(x)->lpHTMLLocationVtbl)
#define HTMLSTYLE(x) ((IHTMLStyle*) &(x)->lpHTMLStyleVtbl)
#define HTMLSTYLE2(x) ((IHTMLStyle2*) &(x)->lpHTMLStyle2Vtbl)
#define DISPATCHEX(x) ((IDispatchEx*) &(x)->lpIDispatchExVtbl)
#define DEFINE_THIS2(cls,ifc,iface) ((cls*)((BYTE*)(iface)-offsetof(cls,ifc)))
...
...
@@ -487,7 +474,6 @@ void HTMLDocument_Window_Init(HTMLDocument*);
void
HTMLDocument_Service_Init
(
HTMLDocument
*
);
void
HTMLDocument_Hlink_Init
(
HTMLDocument
*
);
void
HTMLStyle2_Init
(
HTMLStyle
*
);
HRESULT
HTMLCurrentStyle_Create
(
IHTMLCurrentStyle
**
);
void
ConnectionPoint_Init
(
ConnectionPoint
*
,
ConnectionPointContainer
*
,
REFIID
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment