Line data Source code
1 : /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 : /*
3 : * This file is part of the LibreOffice project.
4 : *
5 : * This Source Code Form is subject to the terms of the Mozilla Public
6 : * License, v. 2.0. If a copy of the MPL was not distributed with this
7 : * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 : *
9 : * This file incorporates work covered by the following license notice:
10 : *
11 : * Licensed to the Apache Software Foundation (ASF) under one or more
12 : * contributor license agreements. See the NOTICE file distributed
13 : * with this work for additional information regarding copyright
14 : * ownership. The ASF licenses this file to you under the Apache
15 : * License, Version 2.0 (the "License"); you may not use this file
16 : * except in compliance with the License. You may obtain a copy of
17 : * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18 : */
19 :
20 : #include <salgdi.hxx>
21 :
22 : /****************************************************************
23 : * Placeholder for no native widgets
24 : ***************************************************************/
25 :
26 : /*
27 : * IsNativeControlSupported()
28 : *
29 : * Returns true if the platform supports native
30 : * drawing of the control defined by nPart
31 : */
32 1513419 : bool SalGraphics::IsNativeControlSupported( ControlType, ControlPart )
33 : {
34 1513419 : return false;
35 : }
36 :
37 : /*
38 : * HitTestNativeControl()
39 : *
40 : * If the return value is true, bIsInside contains information whether
41 : * aPos was or was not inside the native widget specified by the
42 : * nType/nPart combination.
43 : */
44 0 : bool SalGraphics::hitTestNativeControl( ControlType,
45 : ControlPart,
46 : const Rectangle&,
47 : const Point&,
48 : bool& )
49 : {
50 0 : return false;
51 : }
52 :
53 : /*
54 : * DrawNativeControl()
55 : *
56 : * Draws the requested control described by nPart/nState.
57 : *
58 : * rControlRegion: The bounding region of the complete control in VCL frame coordinates.
59 : * aValue: An optional value (tristate/numerical/string)
60 : * aCaption: A caption or title string (like button text etc)
61 : */
62 0 : bool SalGraphics::drawNativeControl( ControlType,
63 : ControlPart,
64 : const Rectangle&,
65 : ControlState,
66 : const ImplControlValue&,
67 : const OUString& )
68 : {
69 0 : return false;
70 : }
71 :
72 : /*
73 : * GetNativeControlRegion()
74 : *
75 : * If the return value is true, rNativeBoundingRegion
76 : * contains the true bounding region covered by the control
77 : * including any adornment, while rNativeContentRegion contains the area
78 : * within the control that can be safely drawn into without drawing over
79 : * the borders of the control.
80 : *
81 : * rControlRegion: The bounding region of the control in VCL frame coordinates.
82 : * aValue: An optional value (tristate/numerical/string)
83 : * aCaption: A caption or title string (like button text etc)
84 : */
85 312221 : bool SalGraphics::getNativeControlRegion( ControlType,
86 : ControlPart,
87 : const Rectangle&,
88 : ControlState,
89 : const ImplControlValue&,
90 : const OUString&,
91 : Rectangle &,
92 : Rectangle & )
93 : {
94 312221 : return false;
95 1233 : }
96 :
97 : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|