1 /*! ========================================================================
4 ** $Id: onemoment.cpp,v 1.1.1.1 2005/01/07 03:34:36 darco Exp $
6 ** Copyright (c) 2002 Robert B. Quattlebaum Jr.
8 ** This software and associated documentation
9 ** are CONFIDENTIAL and PROPRIETARY property of
10 ** the above-mentioned copyright holder.
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.
17 ** === N O T E S ===========================================================
19 ** ========================================================================= */
21 /* === H E A D E R S ======================================================= */
33 #include <ETL/stringf>
35 #include <gtkmm/image.h>
36 #include <gdkmm/pixbufloader.h>
37 #include <gtkmm/button.h>
38 #include <gtkmm/label.h>
39 #include <gtkmm/fixed.h>
41 #include <synfig/general.h>
43 #include "onemoment.h"
50 using namespace studio;
52 /* === M A C R O S ========================================================= */
55 #define VERSION "unknown"
56 #define PACKAGE "synfigstudio"
62 # define IMAGE_DIR "share\\pixmaps"
67 # define IMAGE_DIR "/usr/local/share/pixmaps"
71 # define IMAGE_EXT "png"
74 /* === G L O B A L S ======================================================= */
76 /* === P R O C E D U R E S ================================================= */
78 /* === M E T H O D S ======================================================= */
80 OneMoment::OneMoment(): Gtk::Window(Gtk::WINDOW_POPUP)
83 // Create the Copyright Label
84 Gtk::Label *label = manage(new class Gtk::Label(_("One Moment, Please...")));
86 set_title(_("One Moment, Please..."));
88 property_window_position().set_value(Gtk::WIN_POS_CENTER);
92 Pango::AttrList attr_list;
93 Pango::AttrInt pango_size(Pango::Attribute::create_attr_size(Pango::SCALE*16));
94 pango_size.set_start_index(0);
95 pango_size.set_end_index(64);
96 attr_list.change(pango_size);
98 label->set_attributes(attr_list);
100 label->set_size_request(400,60);
102 get_root_window()->set_decorations(Gdk::DECOR_BORDER);
104 // show everything off
108 while(studio::App::events_pending())studio::App::iteration(false);
111 OneMoment::~OneMoment()