my log
[synfig.git] / synfig-studio / trunk / src / gtkmm / about.h
1 /*! ========================================================================
2 ** Synfig
3 ** Template Header File
4 ** $Id: about.h,v 1.1.1.1 2005/01/07 03:34:35 darco Exp $
5 **
6 ** Copyright (c) 2002 Robert B. Quattlebaum Jr.
7 **
8 ** This software and associated documentation
9 ** are CONFIDENTIAL and PROPRIETARY property of
10 ** the above-mentioned copyright holder.
11 **
12 ** You may not copy, print, publish, or in any
13 ** other way distribute this software without
14 ** a prior written agreement with
15 ** the copyright holder.
16 **
17 ** === N O T E S ===========================================================
18 **
19 ** ========================================================================= */
20
21 /* === S T A R T =========================================================== */
22
23 #ifndef __SYNFIG_GTKMM_ABOUT_H
24 #define __SYNFIG_GTKMM_ABOUT_H
25
26 /* === H E A D E R S ======================================================= */
27
28 //#include <gtk/gtk.h>
29 #include <gtkmm/window.h>
30 #include <gtkmm/tooltips.h>
31 #include <gtkmm/label.h>
32 #include <gtkmm/button.h>
33 #include <gtkmm/progressbar.h>
34
35 /* === M A C R O S ========================================================= */
36
37 /* === T Y P E D E F S ===================================================== */
38
39 /* === C L A S S E S & S T R U C T S ======================================= */
40
41 namespace synfig { class ProgressCallback; };
42
43 namespace studio {
44
45 class AboutProgress;
46         
47 class About : public Gtk::Window
48 {
49         friend class AboutProgress;
50         
51         AboutProgress *cb;
52         
53         Gtk::Tooltips _tooltips;
54
55         Gtk::Label *tasklabel;
56         Gtk::ProgressBar *progressbar;
57         Gtk::Button *CloseButton;
58
59         void close();
60
61         bool can_self_destruct;
62         
63 public:
64         
65         synfig::ProgressCallback *get_callback();       
66
67         void set_can_self_destruct(bool x);
68
69         About();
70         ~About();
71 };
72
73 }
74
75 /* === E N D =============================================================== */
76
77 #endif