X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-studio%2Ftrunk%2Fsrc%2Fgtkmm%2Fdockbook.h;h=c8b76a876c7aab7a7195970a141efb1755a48280;hb=9459638ad6797b8139f1e9f0715c96076dbf0890;hp=4851c4b5c7f468c869e8557837b9e180b2c2cf69;hpb=02252941b29de64037116f4d37991a38d9ff0d94;p=synfig.git diff --git a/synfig-studio/trunk/src/gtkmm/dockbook.h b/synfig-studio/trunk/src/gtkmm/dockbook.h index 4851c4b..c8b76a8 100644 --- a/synfig-studio/trunk/src/gtkmm/dockbook.h +++ b/synfig-studio/trunk/src/gtkmm/dockbook.h @@ -2,19 +2,20 @@ /*! \file dockbook.h ** \brief Template Header ** -** $Id: dockbook.h,v 1.1.1.1 2005/01/07 03:34:36 darco Exp $ +** $Id$ ** ** \legal -** Copyright (c) 2002 Robert B. Quattlebaum Jr. +** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley ** -** This software and associated documentation -** are CONFIDENTIAL and PROPRIETARY property of -** the above-mentioned copyright holder. +** This package 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. ** -** You may not copy, print, publish, or in any -** other way distribute this software without -** a prior written agreement with -** the copyright holder. +** This package 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. ** \endlegal */ /* ========================================================================= */ @@ -37,10 +38,10 @@ /* === C L A S S E S & S T R U C T S ======================================= */ namespace studio { - + class DockManager; class Dockable; - + class DockBook : public Gtk::Notebook { friend class DockManager; @@ -48,11 +49,11 @@ class DockBook : public Gtk::Notebook sigc::signal signal_empty_; sigc::signal signal_changed_; - - Gtk::Tooltips tooltips_; - + + Gtk::Tooltips tooltips_; + bool deleting_; - + protected: public: DockBook(); @@ -69,12 +70,12 @@ public: void clear(); synfig::String get_local_contents()const; - + synfig::String get_contents()const; void set_contents(const synfig::String& x); void refresh_tabs_headers(); - + void refresh_tab(Dockable*); bool tab_button_pressed(GdkEventButton* event, Dockable* dockable);