mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 904538 - Don't #include nsITheme.h in nsIWidget.h. r=roc
This commit is contained in:
parent
b0891644ca
commit
ca3ed71e54
@ -34,13 +34,6 @@ class nsIWidget;
|
||||
#define NS_THEMERENDERER_CID \
|
||||
{ 0xd930e29b, 0x6909, 0x44e5, { 0xab, 0x4b, 0xaf, 0x10, 0xd6, 0x92, 0x37, 0x5 } }
|
||||
|
||||
enum nsTransparencyMode {
|
||||
eTransparencyOpaque = 0, // Fully opaque
|
||||
eTransparencyTransparent, // Parts of the window may be transparent
|
||||
eTransparencyGlass, // Transparent parts of the window have Vista AeroGlass effect applied
|
||||
eTransparencyBorderlessGlass // As above, but without a border around the opaque areas when there would otherwise be one with eTransparencyGlass
|
||||
};
|
||||
|
||||
/**
|
||||
* nsITheme is a service that provides platform-specific native
|
||||
* rendering for widgets. In other words, it provides the necessary
|
||||
|
@ -35,6 +35,7 @@
|
||||
#include "mozilla/TypedEnum.h"
|
||||
#include "nsDirection.h"
|
||||
#include <algorithm>
|
||||
#include "nsITheme.h"
|
||||
|
||||
#ifdef ACCESSIBILITY
|
||||
#include "mozilla/a11y/AccTypes.h"
|
||||
|
@ -13,7 +13,6 @@
|
||||
|
||||
#include "nsEvent.h"
|
||||
#include "nsCOMPtr.h"
|
||||
#include "nsITheme.h"
|
||||
#include "nsWidgetInitData.h"
|
||||
#include "nsTArray.h"
|
||||
#include "nsXULAppAPI.h"
|
||||
@ -111,6 +110,17 @@ typedef void* nsNativeWidget;
|
||||
#define NS_STYLE_WINDOW_SHADOW_TOOLTIP 3
|
||||
#define NS_STYLE_WINDOW_SHADOW_SHEET 4
|
||||
|
||||
/**
|
||||
* Transparency modes
|
||||
*/
|
||||
|
||||
enum nsTransparencyMode {
|
||||
eTransparencyOpaque = 0, // Fully opaque
|
||||
eTransparencyTransparent, // Parts of the window may be transparent
|
||||
eTransparencyGlass, // Transparent parts of the window have Vista AeroGlass effect applied
|
||||
eTransparencyBorderlessGlass // As above, but without a border around the opaque areas when there would otherwise be one with eTransparencyGlass
|
||||
};
|
||||
|
||||
/**
|
||||
* Cursor types.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user