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 :
21 : #include <salgdi.hxx>
22 :
23 :
24 : /****************************************************************
25 : * Placeholder for no native widgets
26 : ***************************************************************/
27 :
28 :
29 : /*
30 : * IsNativeControlSupported()
31 : *
32 : * Returns sal_True if the platform supports native
33 : * drawing of the control defined by nPart
34 : */
35 354391 : sal_Bool SalGraphics::IsNativeControlSupported( ControlType, ControlPart )
36 : {
37 354391 : return( sal_False );
38 : }
39 :
40 :
41 : /*
42 : * HitTestNativeControl()
43 : *
44 : * If the return value is sal_True, bIsInside contains information whether
45 : * aPos was or was not inside the native widget specified by the
46 : * nType/nPart combination.
47 : */
48 0 : sal_Bool SalGraphics::hitTestNativeControl( ControlType,
49 : ControlPart,
50 : const Rectangle&,
51 : const Point&,
52 : sal_Bool& )
53 : {
54 0 : return( sal_False );
55 : }
56 :
57 :
58 : /*
59 : * DrawNativeControl()
60 : *
61 : * Draws the requested control described by nPart/nState.
62 : *
63 : * rControlRegion: The bounding region of the complete control in VCL frame coordinates.
64 : * aValue: An optional value (tristate/numerical/string)
65 : * aCaption: A caption or title string (like button text etc)
66 : */
67 0 : sal_Bool SalGraphics::drawNativeControl( ControlType,
68 : ControlPart,
69 : const Rectangle&,
70 : ControlState,
71 : const ImplControlValue&,
72 : const OUString& )
73 : {
74 0 : return( sal_False );
75 : }
76 :
77 : /*
78 : * GetNativeControlRegion()
79 : *
80 : * If the return value is sal_True, rNativeBoundingRegion
81 : * contains the sal_True bounding region covered by the control
82 : * including any adornment, while rNativeContentRegion contains the area
83 : * within the control that can be safely drawn into without drawing over
84 : * the borders of the control.
85 : *
86 : * rControlRegion: The bounding region of the control in VCL frame coordinates.
87 : * aValue: An optional value (tristate/numerical/string)
88 : * aCaption: A caption or title string (like button text etc)
89 : */
90 28928 : sal_Bool SalGraphics::getNativeControlRegion( ControlType,
91 : ControlPart,
92 : const Rectangle&,
93 : ControlState,
94 : const ImplControlValue&,
95 : const OUString&,
96 : Rectangle &,
97 : Rectangle & )
98 : {
99 28928 : return( sal_False );
100 465 : }
101 :
102 : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|