wxMaxima
Loading...
Searching...
No Matches
src
cells
MatrixScrollHost.h
1
// -*- mode: c++; c-file-style: "linux"; c-basic-offset: 2; indent-tabs-mode: nil -*-
2
//
3
// Copyright (C) 2026 Gunter Königsmann <wxMaxima@physikbuch.de>
4
//
5
// This program is free software; you can redistribute it and/or modify
6
// it under the terms of the GNU General Public License as published by
7
// the Free Software Foundation; either version 2 of the License, or
8
// (at your option) any later version.
9
//
10
// This program is distributed in the hope that it will be useful,
11
// but WITHOUT ANY WARRANTY; without even the implied warranty of
12
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
// GNU General Public License for more details.
14
//
15
//
16
// You should have received a copy of the GNU General Public License
17
// along with this program; if not, write to the Free Software
18
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
19
//
20
// SPDX-License-Identifier: GPL-2.0+
21
22
#ifndef MATRIXSCROLLHOST_H
23
#define MATRIXSCROLLHOST_H
24
25
#include <wx/defs.h>
26
27
class
MatrCell
;
28
45
class
MatrixScrollHost
46
{
47
public
:
48
virtual
~MatrixScrollHost
() =
default
;
49
51
virtual
wxCoord
ScrollbarThickness
()
const
= 0;
52
59
virtual
void
MatrixDrawn
(
MatrCell
*matrix) = 0;
60
};
61
62
#endif
// MATRIXSCROLLHOST_H
MatrCell
A Cell that displays a matrix.
Definition:
MatrCell.h:92
MatrixScrollHost
Whatever can give a matrix real scrollbars.
Definition:
MatrixScrollHost.h:46
MatrixScrollHost::MatrixDrawn
virtual void MatrixDrawn(MatrCell *matrix)=0
A matrix that needs scrollbars has just been drawn.
MatrixScrollHost::ScrollbarThickness
virtual wxCoord ScrollbarThickness() const =0
How thick a native scrollbar is, in worksheet pixels.
Generated by
1.9.6