Bumping manifests a=b2g-bump
[gecko.git] / widget / windows / nsLookAndFeel.h
blobf83dcb8281b7c9d4bdbc3fa07207bc2521acaf66
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 static OperatingSystemVersion GetOperatingSystemVersion();
26 public:
27 nsLookAndFeel();
28 virtual ~nsLookAndFeel();
30 virtual nsresult NativeGetColor(ColorID aID, nscolor &aResult);
31 virtual nsresult GetIntImpl(IntID aID, int32_t &aResult);
32 virtual nsresult GetFloatImpl(FloatID aID, float &aResult);
33 virtual bool GetFontImpl(FontID aID, nsString& aFontName,
34 gfxFontStyle& aFontStyle,
35 float aDevPixPerCSSPixel);
36 virtual char16_t GetPasswordCharacterImpl();
39 #endif