papyrus logo

strokedialog.h

Go to the documentation of this file.
00001 /***************************************************************************
00002  *   Copyright (C) 2004 by Rick L. Vinyard, Jr.                            *
00003  *   rvinyard@cs.nmsu.edu                                                  *
00004  *                                                                         *
00005  *   This file is part of the papyrus library.                             *
00006  *                                                                         *
00007  *   papyrus is free software; you can redistribute it and/or modify       *
00008  *   it under the terms of the GNU Lesser General Public License           *
00009  *   version 3.0 as published by the Free Software Foundation.             *
00010  *                                                                         *
00011  *   papyrus is distributed in the hope that it will be useful,            *
00012  *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
00013  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
00014  *   GNU Lesser General Public License version 3.0 for more details.       *
00015  *                                                                         *
00016  *   You should have received a copy of the GNU Lesser General Public      *
00017  *   License along with the papyrus library. If not, see                   *
00018  *   <http://www.gnu.org/licenses/>.                                       *
00019  ***************************************************************************/
00020 #ifndef PAPYRUSGTKSTROKEDIALOG_H
00021 #define PAPYRUSGTKSTROKEDIALOG_H
00022 
00023 #include <gtkmm.h>
00024 
00025 #include <papyrus/stroke.h>
00026 #include <papyrus-gtkmm/strokewidget.h>
00027 
00028 namespace Papyrus
00029 {
00030   namespace Gtk
00031   {
00032 
00036     class StrokeDialog : public ::Gtk::Dialog
00037     {
00038       public:
00039         StrokeDialog();
00040 
00041         ~StrokeDialog();
00042 
00043         const ::Gtk::Button* get_apply_button() const;
00044         ::Gtk::Button* get_apply_button();
00045 
00046         const ::Gtk::Button* get_cancel_button() const;
00047         ::Gtk::Button* get_cancel_button();
00048 
00049         const ::Gtk::Button* get_ok_button() const;
00050         ::Gtk::Button* get_ok_button();
00051 
00052         Papyrus::Stroke::pointer stroke() const;
00053 
00054       protected:
00055         ::Gtk::Button* m_apply_button;
00056         ::Gtk::Button* m_cancel_button;
00057         ::Gtk::Button* m_ok_button;
00058 
00059         StrokeWidget m_stroke_widget;
00060 
00061     };
00062 
00063   }
00064 
00065 }
00066 
00067 #endif

Generated on Fri Apr 16 12:40:11 2010 for papyrus by doxygen 1.6.1