summaryrefslogtreecommitdiff
path: root/sc/source/ui/inc/tabsplit.hxx
blob: 045dfa2bb43eb9955450d48af6868ff8b928de32 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
 * This file is part of the LibreOffice project.
 *
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 *
 * This file incorporates work covered by the following license notice:
 *
 *   Licensed to the Apache Software Foundation (ASF) under one or more
 *   contributor license agreements. See the NOTICE file distributed
 *   with this work for additional information regarding copyright
 *   ownership. The ASF licenses this file to you under the Apache
 *   License, Version 2.0 (the "License"); you may not use this file
 *   except in compliance with the License. You may obtain a copy of
 *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
 */

#ifndef SC_TABSPLIT_HXX
#define SC_TABSPLIT_HXX


#include <vcl/split.hxx>

class ScViewData;

class ScTabSplitter : public Splitter
{
private:
    const ScViewData *const pViewData;
    bool            bFixed;

protected:
    virtual void    MouseMove( const MouseEvent& rMEvt ) SAL_OVERRIDE;
    virtual void    MouseButtonUp( const MouseEvent& rMEvt ) SAL_OVERRIDE;
    virtual void    MouseButtonDown( const MouseEvent& rMEvt ) SAL_OVERRIDE;
    virtual void    Splitting( Point& rSplitPos ) SAL_OVERRIDE;

public:
                    ScTabSplitter( Window* pParent, WinBits nWinStyle,
                                    ScViewData* pData );
                    virtual ~ScTabSplitter();

    void            SetFixed(bool bSet);
    virtual void    Paint( const Rectangle& rPaintRect ) SAL_OVERRIDE;
};



#endif

/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
787: Don't duplicate hicolor icon theme as gnomeChris Mayo 2020-11-01Don't try to include hicolor SVG mimetypes icons in rpmChris Mayo 2020-10-29tdf#132737: Don't install SVG source icons or locolor themeChris Mayo 2020-09-22Suppress PYTHONWARNINGS=error in system g-ir-scannerStephan Bergmann 2020-09-08tdf#96725: Add LSHandlerRank for the recently added AppleWorks DocumentTor Lillqvist 2020-09-08Follow the rules when building for the App StoreTor Lillqvist 2020-07-26Revert "tdf#132787: Don't duplicate hicolor icon theme as gnome"Christian Lohmaier 2020-07-24tdf#132787: Don't duplicate hicolor icon theme as gnomeChris Mayo 2020-06-20deb#962903 #include <abstractions/user-tmp> to allow /tmp/something/*Rene Engelhard 2020-06-07tdf#67874 Add generic icons to most 3rd party formatsEivind Samseth 2020-06-01tdf#96725 Register AppleWorks document types in Info.plistMarkus Keller 2020-05-27tdf#74244 Fix version info shown for major release candidatesEivind Samseth 2020-05-16tdf#103644: Add support for vnd.sun.star.webdav on macOSEivind Samseth 2020-04-23Drop Macromedia Flash export filterGabor Kelemen 2020-04-02Only process with brand.pl the *.keys and *.desktop filesStephan Bergmann 2020-04-02Fix Perl loop reading a list of file names from the command lineStephan Bergmann 2020-04-02Missing dependencyStephan Bergmann 2020-03-31tdf#130911: convert desktop-translate from Perl to Python.Jussi Pakkanen