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. *
|
|
|
|
***************************************************************************/
|
|
|
|
|
2009-12-28 00:37:18 +02:00
|
|
|
#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();
|
|
|
|
|
|
|
|
private:
|
2009-12-28 00:37:18 +02:00
|
|
|
bool actions(int);
|
|
|
|
int ctrl_state;
|
2009-10-28 15:47:25 +02:00
|
|
|
bool on_my_key_press_event(GdkEventKey *event);
|
|
|
|
bool on_my_key_release_event(GdkEventKey *event);
|
|
|
|
bool quit();
|
|
|
|
};
|
|
|
|
|
2009-12-28 00:37:18 +02:00
|
|
|
#endif // MAIN_WINDOW_HH
|