Ardour
9.0-pre0-582-g084a23a80d
big_clock_window.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2013-2015 Paul Davis <paul@linuxaudiosystems.com>
3
* Copyright (C) 2015-2017 Robin Gareus <robin@gareus.org>
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
* You should have received a copy of the GNU General Public License along
16
* with this program; if not, write to the Free Software Foundation, Inc.,
17
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
18
*/
19
20
#pragma once
21
22
#include "
ardour_window.h
"
23
24
class
AudioClock
;
25
26
class
BigClockWindow
:
public
ArdourWindow
27
{
28
public
:
29
BigClockWindow
(
AudioClock
&);
30
31
private
:
32
AudioClock
&
clock
;
33
Gtk::Requisition
default_size
;
34
35
void
clock_size_reallocated
(
Gtk::Allocation
&);
36
void
on_realize
();
37
void
on_unmap
();
38
bool
on_key_press_event
(
GdkEventKey
*);
39
};
40
41
ardour_window.h
ArdourWindow
Definition:
ardour_window.h:38
AudioClock
Definition:
audio_clock.h:49
BigClockWindow
Definition:
big_clock_window.h:27
BigClockWindow::clock_size_reallocated
void clock_size_reallocated(Gtk::Allocation &)
BigClockWindow::on_key_press_event
bool on_key_press_event(GdkEventKey *)
This is a default handler for the signal signal_key_press_event().
BigClockWindow::clock
AudioClock & clock
Definition:
big_clock_window.h:32
BigClockWindow::on_unmap
void on_unmap()
This is a default handler for the signal signal_unmap().
BigClockWindow::on_realize
void on_realize()
This is a default handler for the signal signal_realize().
BigClockWindow::BigClockWindow
BigClockWindow(AudioClock &)
BigClockWindow::default_size
Gtk::Requisition default_size
Definition:
big_clock_window.h:33
Gdk::Rectangle
Definition:
tk/ydkmm/ydkmm/gdkmm/rectangle.h:42
_GdkEventKey
Definition:
gdkevents.h:368
_GtkRequisition
Definition:
gtkwidget.h:520
gtk2_ardour
big_clock_window.h
Generated on Wed Dec 25 2024 05:43:57 for Ardour by
1.9.1