1
0
mirror of git://projects.qi-hardware.com/vido.git synced 2024-12-22 20:47:42 +02:00
vido/src/main_window.hh

46 lines
1.9 KiB
C++
Raw Normal View History

2009-10-28 15:47:25 +02:00
/***************************************************************************
* Copyright (C) 2009 by Mirko Lindner,,, *
* vegyraupe@mira *
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
* This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU General Public License for more details. *
* *
* You should have received a copy of the GNU General Public License *
* along with this program; if not, write to the *
* Free Software Foundation, Inc., *
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
***************************************************************************/
#ifndef MAIN_WINDOW_HH
#define MAIN_WINDOW_HH
2009-10-28 15:47:25 +02:00
#include <gtkmm/window.h>
class main_window : public Gtk::Window
{
public:
main_window();
sigc::connection press_id;
sigc::connection release_id;
void connect_all();
void disconnect_all();
2009-10-28 15:47:25 +02:00
private:
bool actions(int);
int ctrl_state;
// bool on_my_key_press_event(GdkEventKey *event);
void on_notify_key_press_event(GdkEventKey *event);
void on_notify_key_release_event(GdkEventKey *event);
// bool on_my_key_release_event(GdkEventKey *event);
2009-10-28 15:47:25 +02:00
bool quit();
};
#endif // MAIN_WINDOW_HH