X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-studio%2Ftrunk%2Fsrc%2Fgtkmm%2Fdockable.h;h=d4be6ee85710f083236001a7bfbf3a2dd93e7d7c;hb=a1077b46c18fe056632fa3ed5098a5c6a8ded3ae;hp=940fe54376769edc59a9a6be69c4ee998a605517;hpb=3a3c4bca3a17137bec5d7960560934b91ef4146e;p=synfig.git diff --git a/synfig-studio/trunk/src/gtkmm/dockable.h b/synfig-studio/trunk/src/gtkmm/dockable.h index 940fe54..d4be6ee 100644 --- a/synfig-studio/trunk/src/gtkmm/dockable.h +++ b/synfig-studio/trunk/src/gtkmm/dockable.h @@ -1,35 +1,36 @@ -/* === S I N F G =========================================================== */ +/* === S Y N F I G ========================================================= */ /*! \file dockable.h ** \brief Template Header ** ** $Id: dockable.h,v 1.1.1.1 2005/01/07 03:34:36 darco Exp $ ** ** \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 */ /* ========================================================================= */ /* === S T A R T =========================================================== */ -#ifndef __SINFG_STUDIO_DOCKABLE_H -#define __SINFG_STUDIO_DOCKABLE_H +#ifndef __SYNFIG_STUDIO_DOCKABLE_H +#define __SYNFIG_STUDIO_DOCKABLE_H /* === H E A D E R S ======================================================= */ #include #include #include "dialogsettings.h" -#include +#include #include #include #include @@ -68,8 +69,8 @@ private: Gtk::Toolbar *toolbar_; - sinfg::String name_; - sinfg::String local_name_; + synfig::String name_; + synfig::String local_name_; Gtk::Tooltips tooltips_; Gtk::Frame frame_; Gtk::Label title_label_; @@ -96,18 +97,18 @@ public: void set_use_scrolled(bool x) { use_scrolled_=x; } - Dockable(const sinfg::String& name,const sinfg::String& local_name,Gtk::StockID stock_id_=Gtk::StockID(" ")); + Dockable(const synfig::String& name,const synfig::String& local_name,Gtk::StockID stock_id_=Gtk::StockID(" ")); ~Dockable(); sigc::signal& signal_stock_id_changed() { return signal_stock_id_changed_; } - const sinfg::String& get_name()const { return name_; } - const sinfg::String& get_local_name()const { return local_name_; } + const synfig::String& get_name()const { return name_; } + const synfig::String& get_local_name()const { return local_name_; } const Gtk::StockID& get_stock_id()const { return stock_id_; } void set_stock_id(Gtk::StockID x) { stock_id_=x; signal_stock_id_changed()(); } - void set_local_name(const sinfg::String&); + void set_local_name(const synfig::String&); void clear(); @@ -118,7 +119,7 @@ public: void add(Gtk::Widget& x); - Gtk::ToolButton* add_button(const Gtk::StockID& stock_id, const sinfg::String& tooltip=sinfg::String()); + Gtk::ToolButton* add_button(const Gtk::StockID& stock_id, const synfig::String& tooltip=synfig::String()); void detach();