1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
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/.
10 #ifndef INCLUDED_VCL_INC_UNX_PIXMAP_HXX
11 #define INCLUDED_VCL_INC_UNX_PIXMAP_HXX
14 #include <X11/Xutil.h>
16 #include <tools/gen.hxx>
17 #include <unx/saltype.h>
18 #include <vclpluginapi.h>
20 class VCLPLUG_GEN_PUBLIC X11Pixmap
23 X11Pixmap( int nWidth
, int nHeight
)
29 virtual ~X11Pixmap() {};
31 virtual int GetDepth() const = 0;
32 virtual SalX11Screen
GetScreen() const = 0;
33 virtual Pixmap
GetPixmap() const = 0;
34 Drawable
GetDrawable() const { return GetPixmap(); };
35 int GetWidth() const { return mnWidth
; };
36 int GetHeight() const { return mnHeight
; };
43 #endif // INCLUDED_VCL_INC_UNX_PIXMAP_HXX
45 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */