Corrected some mistakes in old dialog headers

This commit is contained in:
Joel Holdsworth 2008-11-24 17:38:26 +00:00
parent 37123f84b6
commit 7ae08aa608
2 changed files with 20 additions and 25 deletions

View file

@ -27,9 +27,7 @@
#ifndef PREFERENCES_DIALOG_HPP #ifndef PREFERENCES_DIALOG_HPP
#define PREFERENCES_DIALOG_HPP #define PREFERENCES_DIALOG_HPP
#include <gtkmm.h> #include "../gtk-lumiera.hpp"
using namespace Gtk;
namespace gui { namespace gui {
namespace dialogs { namespace dialogs {
@ -37,20 +35,19 @@ namespace dialogs {
/** /**
* The defintion of render output dialog class * The defintion of render output dialog class
*/ */
class PreferencesDialog : public Dialog class PreferencesDialog : public Gtk::Dialog
{ {
public: public:
PreferencesDialog(Window &parent); PreferencesDialog(Gtk::Window &parent);
protected: protected:
protected: protected:
Notebook notebook; Gtk::Notebook notebook;
VBox interfaceBox;
ComboBox interfaceThemeCombo;
Gtk::VBox interfaceBox;
Gtk::ComboBox interfaceThemeCombo;
}; };
} // namespace dialogs } // namespace dialogs

View file

@ -27,9 +27,7 @@
#ifndef RENDER_H #ifndef RENDER_H
#define RENDER_H #define RENDER_H
#include <gtkmm.h> #include "../gtk-lumiera.hpp"
using namespace Gtk;
namespace gui { namespace gui {
namespace dialogs { namespace dialogs {
@ -37,31 +35,31 @@ namespace dialogs {
/** /**
* The defintion of render output dialog class * The defintion of render output dialog class
*/ */
class Render : public Dialog class Render : public Gtk::Dialog
{ {
public: public:
Render(Window &parent); Render(Gtk::Window &parent);
protected: protected:
void on_button_browse(); void on_button_browse();
protected: protected:
HBox outputFileHBox; Gtk::HBox outputFileHBox;
Label outputFileLabel; Gtk::Label outputFileLabel;
Entry outputFilePathEntry; Gtk::Entry outputFilePathEntry;
Image browseButtonImage; Gtk::Image browseButtonImage;
Button outputFileBrowseButton; Gtk::Button outputFileBrowseButton;
HBox containerFormatHBox; Gtk::HBox containerFormatHBox;
Label containerFormatLabel; Gtk::Label containerFormatLabel;
ComboBox containerFormat; Gtk::ComboBox containerFormat;
Frame audioFrame; Gtk::Frame audioFrame;
Frame videoFrame; Gtk::Frame videoFrame;
Image renderButtonImage; Gtk::Image renderButtonImage;
}; };
} // namespace dialogs } // namespace dialogs