Backed out changeset 8517afe50156 (bug 540456) for reftest failures.
[gecko.git] / widget / windows / nsLookAndFeel.h
blob899ac93fbf2094589e78ece38d8412865a589527
1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* This Source Code Form is subject to the terms of the Mozilla Public
3 * License, v. 2.0. If a copy of the MPL was not distributed with this
4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
6 #ifndef __nsLookAndFeel
7 #define __nsLookAndFeel
8 #include "nsXPLookAndFeel.h"
11 * Gesture System Metrics
13 #ifndef SM_DIGITIZER
14 #define SM_DIGITIZER 94
15 #define TABLET_CONFIG_NONE 0x00000000
16 #define NID_INTEGRATED_TOUCH 0x00000001
17 #define NID_EXTERNAL_TOUCH 0x00000002
18 #define NID_INTEGRATED_PEN 0x00000004
19 #define NID_EXTERNAL_PEN 0x00000008
20 #define NID_MULTI_INPUT 0x00000040
21 #define NID_READY 0x00000080
22 #endif
24 class nsLookAndFeel: public nsXPLookAndFeel {
25 public:
26 nsLookAndFeel();
27 virtual ~nsLookAndFeel();
29 virtual nsresult NativeGetColor(ColorID aID, nscolor &aResult);
30 virtual nsresult GetIntImpl(IntID aID, int32_t &aResult);
31 virtual nsresult GetFloatImpl(FloatID aID, float &aResult);
32 virtual bool GetFontImpl(FontID aID, nsString& aFontName,
33 gfxFontStyle& aFontStyle,
34 float aDevPixPerCSSPixel);
35 virtual PRUnichar GetPasswordCharacterImpl();
38 #endif