|
UniWidgets
1.0.0
|
00001 #ifndef _MISCELLANOUS_H 00002 #define _MISCELLANOUS_H 00003 // ------------------------------------------------------------------------- 00009 // ------------------------------------------------------------------------- 00010 #include <gtkmm.h> 00011 #include <glibmm.h> 00012 #include <libglademm.h> 00013 #include <glade/glade.h> 00014 #include <iostream> 00015 #include <iomanip> 00016 #include <UniXML.h> 00017 #include <Configuration.h> 00018 #include <uwidgets/UPrinterInterface.h> 00019 #include <typical/IndicatorTwoState.h> 00020 #include <typical/IndicatorFourState.h> 00021 #include <typical/GDG.h> 00022 #include <typical/VDG.h> 00023 // ------------------------------------------------------------------------- 00024 using namespace std; 00025 using namespace UniSetTypes; 00026 using namespace UniWidgets; 00027 // ------------------------------------------------------------------------- 00028 void add_frame(Gtk::Dialog *w); 00029 void unset_focus(Gtk::Widget *w); 00030 00031 Glib::ustring make_string( std::vector<UniSetTypes::ObjectId> &ids ); 00032 void on_print_indicator(IndicatorFourState* indicator); 00033 void on_print_indicator(IndicatorTwoState* indicator); 00034 void on_print_indicator(GDG* gdg); 00035 void on_print_indicator(VDG* vdg); 00036 void switch_to(GtkWidget *w, gpointer user_data); 00037 00038 template<typename W> void make_object_menu(W* w); 00039 template<typename W> bool on_print_press_event(GdkEventButton* event, W* w); 00040 template<typename W> void widget_connect(W* widget); 00041 00042 #endif /* _MISCELLANOUS_H */
1.7.6.1