only #include <gtk/gtk.h>
This commit is contained in:
parent
cd529b4fb0
commit
0140da6e72
|
|
@ -24,7 +24,6 @@
|
|||
#include "qerplugin.h"
|
||||
|
||||
#include <gtk/gtk.h>
|
||||
#include <gtk/gtktreeview.h>
|
||||
|
||||
#include "debugging/debugging.h"
|
||||
#include "string/string.h"
|
||||
|
|
|
|||
|
|
@ -19,7 +19,6 @@
|
|||
|
||||
#include "AboutDialog.h"
|
||||
#include <gtk/gtk.h>
|
||||
#include <gtkutil/pointer.h>
|
||||
#include "version.h"
|
||||
#include "gtkutil/pointer.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -23,7 +23,6 @@
|
|||
#include "LoadPortalFileDialog.h"
|
||||
|
||||
#include <gtk/gtk.h>
|
||||
#include <gtkutil/pointer.h>
|
||||
#include "stream/stringstream.h"
|
||||
#include "convert.h"
|
||||
#include "gtkutil/pointer.h"
|
||||
|
|
|
|||
|
|
@ -25,8 +25,7 @@
|
|||
|
||||
#include <map>
|
||||
#include <set>
|
||||
#include <gtk/gtkwindow.h>
|
||||
#include <gtk/gtkaccelgroup.h>
|
||||
#include <gtk/gtk.h>
|
||||
|
||||
#include "generic/callback.h"
|
||||
#include "generic/bitfield.h"
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@
|
|||
|
||||
#include "button.h"
|
||||
|
||||
#include <gtk/gtkradiobutton.h>
|
||||
#include <gtk/gtk.h>
|
||||
|
||||
#include "stream/textstream.h"
|
||||
#include "stream/stringstream.h"
|
||||
|
|
|
|||
|
|
@ -83,7 +83,7 @@ void clipboard_paste( ClipboardPasteFunc paste ){
|
|||
|
||||
#else
|
||||
|
||||
#include <gtk/gtkclipboard.h>
|
||||
#include <gtk/gtk.h>
|
||||
|
||||
enum
|
||||
{
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@
|
|||
#if !defined( INCLUDED_GTKUTIL_CONTAINER_H )
|
||||
#define INCLUDED_GTKUTIL_CONTAINER_H
|
||||
|
||||
#include <gtk/gtkcontainer.h>
|
||||
#include <gtk/gtk.h>
|
||||
|
||||
inline GtkWidget* container_add_widget( GtkContainer* container, GtkWidget* widget ){
|
||||
gtk_container_add( container, widget );
|
||||
|
|
|
|||
|
|
@ -24,16 +24,10 @@
|
|||
|
||||
#include <glib.h>
|
||||
#include <gdk/gdkevents.h>
|
||||
#include <gtk/gtkwidget.h>
|
||||
#include <gtk/gtkwindow.h>
|
||||
#include <gtk/gtkmain.h>
|
||||
#include <gtk/gtk.h>
|
||||
|
||||
#include "debugging/debugging.h"
|
||||
|
||||
typedef struct _GdkCursor GdkCursor;
|
||||
typedef struct _GtkWidget GtkWidget;
|
||||
typedef struct _GtkWindow GtkWindow;
|
||||
|
||||
#if 0
|
||||
GdkCursor* create_blank_cursor();
|
||||
void blank_cursor( GtkWidget* widget );
|
||||
|
|
|
|||
|
|
@ -21,16 +21,7 @@
|
|||
|
||||
#include "dialog.h"
|
||||
|
||||
#include <gtk/gtkmain.h>
|
||||
#include <gtk/gtkalignment.h>
|
||||
#include <gtk/gtkhbox.h>
|
||||
#include <gtk/gtkvbox.h>
|
||||
#include <gtk/gtkradiobutton.h>
|
||||
#include <gtk/gtkframe.h>
|
||||
#include <gtk/gtktable.h>
|
||||
#include <gtk/gtkentry.h>
|
||||
#include <gtk/gtkbutton.h>
|
||||
#include <gtk/gtklabel.h>
|
||||
#include <gtk/gtk.h>
|
||||
|
||||
#include "button.h"
|
||||
#include "window.h"
|
||||
|
|
|
|||
|
|
@ -25,20 +25,7 @@
|
|||
#include "generic/callback.h"
|
||||
#include "generic/arrayrange.h"
|
||||
#include "qerplugin.h"
|
||||
#include <gtk/gtkenums.h>
|
||||
|
||||
typedef int gint;
|
||||
typedef gint gboolean;
|
||||
typedef struct _GdkEventAny GdkEventAny;
|
||||
typedef struct _GtkWidget GtkWidget;
|
||||
typedef struct _GtkHBox GtkHBox;
|
||||
typedef struct _GtkVBox GtkVBox;
|
||||
typedef struct _GtkRadioButton GtkRadioButton;
|
||||
typedef struct _GtkFrame GtkFrame;
|
||||
typedef struct _GtkEntry GtkEntry;
|
||||
typedef struct _GtkButton GtkButton;
|
||||
typedef struct _GtkLabel GtkLabel;
|
||||
typedef struct _GtkTable GtkTable;
|
||||
#include <gtk/gtk.h>
|
||||
|
||||
|
||||
struct ModalDialog
|
||||
|
|
@ -59,15 +46,6 @@ struct ModalDialogButton
|
|||
EMessageBoxReturn m_value;
|
||||
};
|
||||
|
||||
typedef void ( *GCallback )( void );
|
||||
typedef void* gpointer;
|
||||
typedef struct _GtkWindow GtkWindow;
|
||||
typedef struct _GtkTable GtkTable;
|
||||
typedef struct _GtkButton GtkButton;
|
||||
typedef struct _GtkVBox GtkVBox;
|
||||
typedef struct _GtkHBox GtkHBox;
|
||||
typedef struct _GtkFrame GtkFrame;
|
||||
|
||||
GtkWindow* create_fixedsize_modal_window( GtkWindow* parent, const char* title, int width, int height );
|
||||
|
||||
GtkWindow* create_dialog_window( GtkWindow* parent, const char* title, GCallback func, gpointer data, int default_w = -1, int default_h = -1 );
|
||||
|
|
@ -134,7 +112,6 @@ BrowsedPathEntry( const BrowseCallback& browse );
|
|||
|
||||
GtkLabel* DialogLabel_new( const char* name );
|
||||
GtkTable* DialogRow_new( const char* name, GtkWidget* widget );
|
||||
typedef struct _GtkVBox GtkVBox;
|
||||
void DialogVBox_packRow( GtkVBox* vbox, GtkWidget* row );
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@
|
|||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <gtk/gtkentry.h>
|
||||
#include <gtk/gtk.h>
|
||||
|
||||
inline void entry_set_string( GtkEntry* entry, const char* string ){
|
||||
gtk_entry_set_text( entry, string );
|
||||
|
|
|
|||
|
|
@ -25,11 +25,7 @@
|
|||
|
||||
#include <list>
|
||||
#include <vector>
|
||||
#include <gtk/gtkwidget.h>
|
||||
#include <gtk/gtkwindow.h>
|
||||
#include <gtk/gtkfilechooser.h>
|
||||
#include <gtk/gtkfilechooserdialog.h>
|
||||
#include <gtk/gtkstock.h>
|
||||
#include <gtk/gtk.h>
|
||||
|
||||
#include "string/string.h"
|
||||
#include "stream/stringstream.h"
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@
|
|||
|
||||
#include "frame.h"
|
||||
|
||||
#include <gtk/gtkframe.h>
|
||||
#include <gtk/gtk.h>
|
||||
|
||||
GtkFrame* create_framed_widget( GtkWidget* widget ){
|
||||
GtkFrame* frame = GTK_FRAME( gtk_frame_new( 0 ) );
|
||||
|
|
|
|||
|
|
@ -706,7 +706,7 @@ GLFont *glfont_create( const char* font_string ){
|
|||
|
||||
#include <pango/pangoft2.h>
|
||||
#include <pango/pango-utils.h>
|
||||
#include <gtk/gtksettings.h>
|
||||
#include <gtk/gtk.h>
|
||||
|
||||
PangoFont* tryFont( const char* font_string, PangoFontMap *fontmap, PangoContext *context, PangoFontDescription*& font_desc ){
|
||||
pango_font_description_free( font_desc );
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@
|
|||
|
||||
#include "igl.h"
|
||||
|
||||
#include <gtk/gtkdrawingarea.h>
|
||||
#include <gtk/gtk.h>
|
||||
#include <gtk/gtkglwidget.h>
|
||||
|
||||
#include "pointer.h"
|
||||
|
|
|
|||
|
|
@ -21,8 +21,7 @@
|
|||
|
||||
#include "image.h"
|
||||
|
||||
#include <gtk/gtkimage.h>
|
||||
#include <gtk/gtkstock.h>
|
||||
#include <gtk/gtk.h>
|
||||
|
||||
#include "string/string.h"
|
||||
#include "stream/stringstream.h"
|
||||
|
|
|
|||
|
|
@ -22,11 +22,7 @@
|
|||
#include "menu.h"
|
||||
|
||||
#include <ctype.h>
|
||||
#include <gtk/gtkmenu.h>
|
||||
#include <gtk/gtkmenubar.h>
|
||||
#include <gtk/gtkradiomenuitem.h>
|
||||
#include <gtk/gtktearoffmenuitem.h>
|
||||
#include <gtk/gtkaccellabel.h>
|
||||
#include <gtk/gtk.h>
|
||||
|
||||
#include "generic/callback.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -22,15 +22,7 @@
|
|||
#include "messagebox.h"
|
||||
|
||||
#include <gdk/gdkkeysyms.h>
|
||||
#include <gtk/gtkmain.h>
|
||||
#include <gtk/gtkwindow.h>
|
||||
#include <gtk/gtkhbox.h>
|
||||
#include <gtk/gtkvbox.h>
|
||||
#include <gtk/gtklabel.h>
|
||||
#include <gtk/gtkalignment.h>
|
||||
#include <gtk/gtkbutton.h>
|
||||
#include <gtk/gtkimage.h>
|
||||
#include <gtk/gtkstock.h>
|
||||
#include <gtk/gtk.h>
|
||||
|
||||
#include "dialog.h"
|
||||
#include "widget.h"
|
||||
|
|
|
|||
|
|
@ -22,9 +22,7 @@
|
|||
#if !defined( INCLUDED_GTKUTIL_NONMODAL_H )
|
||||
#define INCLUDED_GTKUTIL_NONMODAL_H
|
||||
|
||||
#include <gtk/gtkwindow.h>
|
||||
#include <gtk/gtkspinbutton.h>
|
||||
#include <gtk/gtkradiobutton.h>
|
||||
#include <gtk/gtk.h>
|
||||
#include <gdk/gdkkeysyms.h>
|
||||
|
||||
#include "generic/callback.h"
|
||||
|
|
@ -32,8 +30,6 @@
|
|||
#include "pointer.h"
|
||||
#include "button.h"
|
||||
|
||||
typedef struct _GtkEntry GtkEntry;
|
||||
|
||||
|
||||
inline gboolean escape_clear_focus_widget( GtkWidget* widget, GdkEventKey* event, gpointer data ){
|
||||
if ( event->keyval == GDK_KEY_Escape ) {
|
||||
|
|
|
|||
|
|
@ -21,8 +21,7 @@
|
|||
|
||||
#include "paned.h"
|
||||
|
||||
#include <gtk/gtkhpaned.h>
|
||||
#include <gtk/gtkvpaned.h>
|
||||
#include <gtk/gtk.h>
|
||||
|
||||
#include "frame.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -21,8 +21,7 @@
|
|||
|
||||
#include "toolbar.h"
|
||||
|
||||
#include <gtk/gtktoolbar.h>
|
||||
#include <gtk/gtktogglebutton.h>
|
||||
#include <gtk/gtk.h>
|
||||
|
||||
#include "generic/callback.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -23,13 +23,11 @@
|
|||
#define INCLUDED_GTKUTIL_WIDGET_H
|
||||
|
||||
#include <list>
|
||||
#include <gtk/gtkwidget.h>
|
||||
#include <gtk/gtk.h>
|
||||
#include "generic/callback.h"
|
||||
#include "warnings.h"
|
||||
#include "debugging/debugging.h"
|
||||
|
||||
#include <gtk/gtkmain.h>
|
||||
|
||||
inline bool widget_is_visible( GtkWidget* widget ){
|
||||
//return GTK_WIDGET_VISIBLE( widget ) != FALSE;
|
||||
return gtk_widget_get_visible( widget ) != FALSE;
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@
|
|||
|
||||
#include "window.h"
|
||||
|
||||
#include <gtk/gtkscrolledwindow.h>
|
||||
#include <gtk/gtk.h>
|
||||
|
||||
#include "pointer.h"
|
||||
#include "accelerator.h"
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@
|
|||
#if !defined( INCLUDED_GTKUTIL_WINDOW_H )
|
||||
#define INCLUDED_GTKUTIL_WINDOW_H
|
||||
|
||||
#include <gtk/gtkwindow.h>
|
||||
#include <gtk/gtk.h>
|
||||
|
||||
#include "debugging/debugging.h"
|
||||
#include "generic/callback.h"
|
||||
|
|
@ -47,7 +47,6 @@ gboolean persistent_floating_window_delete( GtkWindow* floating, GdkEvent *event
|
|||
|
||||
void window_remove_minmax( GtkWindow* window );
|
||||
|
||||
typedef struct _GtkScrolledWindow GtkScrolledWindow;
|
||||
GtkScrolledWindow* create_scrolled_window( GtkPolicyType hscrollbar_policy, GtkPolicyType vscrollbar_policy, int border = 0 );
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -635,16 +635,7 @@ void build_commands_write( const char* filename ){
|
|||
|
||||
|
||||
#include <gdk/gdkkeysyms.h>
|
||||
#include <gtk/gtkmain.h>
|
||||
#include <gtk/gtkbox.h>
|
||||
#include <gtk/gtktable.h>
|
||||
#include <gtk/gtktreeview.h>
|
||||
#include <gtk/gtkcellrenderertext.h>
|
||||
#include <gtk/gtktreeselection.h>
|
||||
#include <gtk/gtkliststore.h>
|
||||
#include <gtk/gtkscrolledwindow.h>
|
||||
#include <gtk/gtkexpander.h>
|
||||
#include <gtk/gtklabel.h>
|
||||
#include <gtk/gtk.h>
|
||||
|
||||
#include "gtkutil/dialog.h"
|
||||
#include "gtkutil/closure.h"
|
||||
|
|
|
|||
|
|
@ -27,10 +27,9 @@
|
|||
#include <map>
|
||||
#include "string/string.h"
|
||||
#include "versionlib.h"
|
||||
#include <gtk/gtk.h>
|
||||
#include "gtkutil/accelerator.h"
|
||||
#include "gtkutil/messagebox.h"
|
||||
#include <gtk/gtktreeselection.h>
|
||||
#include <gtk/gtkbutton.h>
|
||||
#include "gtkmisc.h"
|
||||
|
||||
struct ShortcutValue{
|
||||
|
|
@ -150,12 +149,6 @@ void connect_accelerator( const char *name ){
|
|||
|
||||
#include <cctype>
|
||||
|
||||
#include <gtk/gtkbox.h>
|
||||
#include <gtk/gtkliststore.h>
|
||||
#include <gtk/gtktreemodel.h>
|
||||
#include <gtk/gtktreeview.h>
|
||||
#include <gtk/gtkcellrenderertext.h>
|
||||
|
||||
#include "gtkutil/dialog.h"
|
||||
#include "mainframe.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -22,10 +22,7 @@
|
|||
#include "console.h"
|
||||
|
||||
#include <time.h>
|
||||
#include <gtk/gtktextbuffer.h>
|
||||
#include <gtk/gtktextview.h>
|
||||
#include <gtk/gtkmenuitem.h>
|
||||
#include <gtk/gtkscrolledwindow.h>
|
||||
#include <gtk/gtk.h>
|
||||
|
||||
#include "gtkutil/accelerator.h"
|
||||
#include "gtkutil/messagebox.h"
|
||||
|
|
@ -106,7 +103,6 @@ gboolean destroy_set_null( GtkWindow* widget, GtkWidget** p ){
|
|||
|
||||
WidgetFocusPrinter g_consoleWidgetFocusPrinter( "console" );
|
||||
|
||||
#include <gtk/gtkvbox.h>
|
||||
|
||||
GtkWidget* Console_constructWindow( GtkWindow* toplevel ){
|
||||
GtkWidget* scr = gtk_scrolled_window_new( 0, 0 );
|
||||
|
|
|
|||
|
|
@ -35,18 +35,7 @@
|
|||
|
||||
#include <stdlib.h>
|
||||
|
||||
#include <gtk/gtkmain.h>
|
||||
#include <gtk/gtkvbox.h>
|
||||
#include <gtk/gtkhbox.h>
|
||||
#include <gtk/gtktogglebutton.h>
|
||||
#include <gtk/gtkspinbutton.h>
|
||||
#include <gtk/gtkradiobutton.h>
|
||||
#include <gtk/gtkentry.h>
|
||||
#include <gtk/gtkcombobox.h>
|
||||
#include <gtk/gtklabel.h>
|
||||
#include <gtk/gtktable.h>
|
||||
#include <gtk/gtkhscale.h>
|
||||
#include <gtk/gtkalignment.h>
|
||||
#include <gtk/gtk.h>
|
||||
|
||||
#include "stream/stringstream.h"
|
||||
#include "convert.h"
|
||||
|
|
|
|||
|
|
@ -33,24 +33,7 @@
|
|||
#include <map>
|
||||
#include <set>
|
||||
#include <gdk/gdkkeysyms.h>
|
||||
#include <gtk/gtktreemodel.h>
|
||||
#include <gtk/gtktreeview.h>
|
||||
#include <gtk/gtkcellrenderertext.h>
|
||||
#include <gtk/gtktreeselection.h>
|
||||
#include <gtk/gtkliststore.h>
|
||||
#include <gtk/gtktextview.h>
|
||||
#include <gtk/gtklabel.h>
|
||||
#include <gtk/gtktable.h>
|
||||
#include <gtk/gtktogglebutton.h>
|
||||
#include <gtk/gtkcheckbutton.h>
|
||||
#include <gtk/gtkhbox.h>
|
||||
#include <gtk/gtkvbox.h>
|
||||
#include <gtk/gtkvpaned.h>
|
||||
#include <gtk/gtkscrolledwindow.h>
|
||||
#include <gtk/gtkentry.h>
|
||||
#include <gtk/gtkcombobox.h>
|
||||
#include <gtk/gtkstock.h>
|
||||
|
||||
#include <gtk/gtk.h>
|
||||
|
||||
#include "os/path.h"
|
||||
#include "eclasslib.h"
|
||||
|
|
|
|||
|
|
@ -23,13 +23,7 @@
|
|||
|
||||
#include "iselection.h"
|
||||
|
||||
#include <gtk/gtktreemodel.h>
|
||||
#include <gtk/gtktreeview.h>
|
||||
#include <gtk/gtktreeselection.h>
|
||||
#include <gtk/gtkcellrenderertext.h>
|
||||
#include <gtk/gtkcheckbutton.h>
|
||||
#include <gtk/gtkvbox.h>
|
||||
#include <gtk/gtkhbox.h>
|
||||
#include <gtk/gtk.h>
|
||||
|
||||
#include "string/string.h"
|
||||
#include "scenelib.h"
|
||||
|
|
@ -295,7 +289,6 @@ gint graph_tree_model_compare_name( GtkTreeModel *model, GtkTreeIter *a, GtkTree
|
|||
}
|
||||
|
||||
/* search */
|
||||
#include <gtk/gtkstock.h>
|
||||
static gboolean tree_view_search_equal_func( GtkTreeModel* model, gint column, const gchar* key, GtkTreeIter* iter, gpointer search_from_start ) {
|
||||
scene::Node* node;
|
||||
gtk_tree_model_get( model, iter, column, (gpointer*)&node, -1 );
|
||||
|
|
|
|||
|
|
@ -32,12 +32,7 @@
|
|||
#include "igl.h"
|
||||
#include "iselection.h"
|
||||
|
||||
#include <gtk/gtktreeview.h>
|
||||
#include <gtk/gtktreeselection.h>
|
||||
#include <gtk/gtkliststore.h>
|
||||
#include <gtk/gtkcellrenderertext.h>
|
||||
#include <gtk/gtkwindow.h>
|
||||
#include <gtk/gtkscrolledwindow.h>
|
||||
#include <gtk/gtk.h>
|
||||
|
||||
#include "map.h"
|
||||
#include "dialog.h"
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
#include "filterbar.h"
|
||||
#include <gtk/gtktoolbar.h>
|
||||
#include <gtk/gtk.h>
|
||||
#include "gtkmisc.h"
|
||||
#include "gtkutil/widget.h"
|
||||
#include "stream/stringstream.h"
|
||||
|
|
|
|||
|
|
@ -31,17 +31,7 @@
|
|||
|
||||
#include "ishaders.h"
|
||||
|
||||
#include <gtk/gtkhbox.h>
|
||||
#include <gtk/gtkentry.h>
|
||||
#include <gtk/gtkvbox.h>
|
||||
#include <gtk/gtkframe.h>
|
||||
#include <gtk/gtklabel.h>
|
||||
#include <gtk/gtktable.h>
|
||||
#include <gtk/gtkbutton.h>
|
||||
#include <gtk/gtktogglebutton.h>
|
||||
#include <gtk/gtkcheckbutton.h>
|
||||
#include <gtk/gtkmenuitem.h>
|
||||
#include <gtk/gtkarrow.h>
|
||||
#include <gtk/gtk.h>
|
||||
|
||||
#include "gtkutil/window.h"
|
||||
#include "stream/stringstream.h"
|
||||
|
|
|
|||
|
|
@ -32,10 +32,7 @@
|
|||
|
||||
#include <vector>
|
||||
|
||||
#include <gtk/gtknotebook.h>
|
||||
#include <gtk/gtktextview.h>
|
||||
#include <gtk/gtklabel.h>
|
||||
#include <gtk/gtkscrolledwindow.h>
|
||||
#include <gtk/gtk.h>
|
||||
|
||||
#include "gtkutil/widget.h"
|
||||
#include "gtkutil/accelerator.h"
|
||||
|
|
@ -46,7 +43,6 @@
|
|||
#include "commands.h"
|
||||
|
||||
|
||||
#include <gtk/gtkwidget.h>
|
||||
#include "gtkutil/window.h"
|
||||
|
||||
class GroupDlg
|
||||
|
|
|
|||
|
|
@ -45,23 +45,7 @@
|
|||
#include "iselection.h"
|
||||
|
||||
#include <gdk/gdkkeysyms.h>
|
||||
#include <gtk/gtkmain.h>
|
||||
#include <gtk/gtkentry.h>
|
||||
#include <gtk/gtkhbox.h>
|
||||
#include <gtk/gtkvbox.h>
|
||||
#include <gtk/gtkframe.h>
|
||||
#include <gtk/gtklabel.h>
|
||||
#include <gtk/gtktable.h>
|
||||
#include <gtk/gtkbutton.h>
|
||||
#include <gtk/gtkcombobox.h>
|
||||
#include <gtk/gtkscrolledwindow.h>
|
||||
#include <gtk/gtktextview.h>
|
||||
#include <gtk/gtktextbuffer.h>
|
||||
#include <gtk/gtktreeview.h>
|
||||
#include <gtk/gtkcellrenderertext.h>
|
||||
#include <gtk/gtktreeselection.h>
|
||||
#include <gtk/gtkliststore.h>
|
||||
#include <gtk/gtkspinbutton.h>
|
||||
#include <gtk/gtk.h>
|
||||
|
||||
#include "os/path.h"
|
||||
#include "math/aabb.h"
|
||||
|
|
@ -869,7 +853,6 @@ static TextEditor g_textEditor;
|
|||
|
||||
// =============================================================================
|
||||
// Light Intensity dialog
|
||||
#include <gtk/gtkcheckbutton.h>
|
||||
|
||||
bool g_dontDoLightIntensityDlg = false;
|
||||
|
||||
|
|
|
|||
|
|
@ -34,9 +34,7 @@
|
|||
|
||||
#include "gtkmisc.h"
|
||||
|
||||
#include <gtk/gtkcolorseldialog.h>
|
||||
#include <gtk/gtkentry.h>
|
||||
#include <gtk/gtkfontsel.h>
|
||||
#include <gtk/gtk.h>
|
||||
|
||||
#include "math/vector.h"
|
||||
#include "os/path.h"
|
||||
|
|
@ -48,6 +46,13 @@
|
|||
#include "commands.h"
|
||||
|
||||
|
||||
void process_gui(){
|
||||
while ( gtk_events_pending() )
|
||||
{
|
||||
gtk_main_iteration();
|
||||
}
|
||||
}
|
||||
|
||||
// =============================================================================
|
||||
// Misc stuff
|
||||
|
||||
|
|
|
|||
|
|
@ -31,14 +31,7 @@
|
|||
#if !defined( INCLUDED_GTKMISC_H )
|
||||
#define INCLUDED_GTKMISC_H
|
||||
|
||||
#include <gtk/gtkmain.h>
|
||||
|
||||
inline void process_gui(){
|
||||
while ( gtk_events_pending() )
|
||||
{
|
||||
gtk_main_iteration();
|
||||
}
|
||||
}
|
||||
void process_gui();
|
||||
|
||||
void command_connect_accelerator( const char* commandName );
|
||||
void command_disconnect_accelerator( const char* commandName );
|
||||
|
|
@ -63,7 +56,7 @@ GtkButton* toolbar_append_button( GtkToolbar* toolbar, const char* description,
|
|||
// this DOES NOT set up the shortcut using command_connect_accelerator
|
||||
GtkToggleButton* toolbar_append_toggle_button( GtkToolbar* toolbar, const char* description, const char* icon, const char* commandName );
|
||||
|
||||
|
||||
typedef struct _GtkWidget GtkWidget;
|
||||
template<typename Element> class BasicVector3;
|
||||
typedef BasicVector3<float> Vector3;
|
||||
bool color_dialog( GtkWidget *parent, Vector3& color, const char* title = "Choose Color" );
|
||||
|
|
|
|||
|
|
@ -69,7 +69,7 @@
|
|||
|
||||
#include "iundo.h"
|
||||
|
||||
#include <gtk/gtkmain.h>
|
||||
#include <gtk/gtk.h>
|
||||
|
||||
#include "cmdlib.h"
|
||||
#include "os/file.h"
|
||||
|
|
|
|||
|
|
@ -43,17 +43,7 @@
|
|||
#include <ctime>
|
||||
|
||||
#include <gdk/gdkkeysyms.h>
|
||||
#include <gtk/gtkhbox.h>
|
||||
#include <gtk/gtkvbox.h>
|
||||
#include <gtk/gtkframe.h>
|
||||
#include <gtk/gtklabel.h>
|
||||
#include <gtk/gtkhpaned.h>
|
||||
#include <gtk/gtkvpaned.h>
|
||||
#include <gtk/gtktoolbar.h>
|
||||
#include <gtk/gtkmenubar.h>
|
||||
#include <gtk/gtkimage.h>
|
||||
#include <gtk/gtktable.h>
|
||||
|
||||
#include <gtk/gtk.h>
|
||||
|
||||
#include "cmdlib.h"
|
||||
#include "scenelib.h"
|
||||
|
|
|
|||
|
|
@ -40,15 +40,7 @@
|
|||
|
||||
#include <set>
|
||||
|
||||
#include <gtk/gtkmain.h>
|
||||
#include <gtk/gtkbox.h>
|
||||
#include <gtk/gtkentry.h>
|
||||
#include <gtk/gtklabel.h>
|
||||
#include <gtk/gtktable.h>
|
||||
#include <gtk/gtktreemodel.h>
|
||||
#include <gtk/gtktreeview.h>
|
||||
#include <gtk/gtkliststore.h>
|
||||
#include <gtk/gtkcellrenderertext.h>
|
||||
#include <gtk/gtk.h>
|
||||
|
||||
#include "scenelib.h"
|
||||
#include "transformlib.h"
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
#include <string.h>
|
||||
#include <stdio.h>
|
||||
#include <gtk/gtklabel.h>
|
||||
#include <gtk/gtk.h>
|
||||
|
||||
#include "os/file.h"
|
||||
#include "generic/callback.h"
|
||||
|
|
|
|||
|
|
@ -31,15 +31,7 @@
|
|||
|
||||
#include "debugging/debugging.h"
|
||||
|
||||
#include <gtk/gtkvbox.h>
|
||||
#include <gtk/gtkhbox.h>
|
||||
#include <gtk/gtkframe.h>
|
||||
#include <gtk/gtklabel.h>
|
||||
#include <gtk/gtktable.h>
|
||||
#include <gtk/gtkcombobox.h>
|
||||
#include <gtk/gtkbutton.h>
|
||||
#include <gtk/gtkspinbutton.h>
|
||||
#include <gtk/gtkcheckbutton.h>
|
||||
#include <gtk/gtk.h>
|
||||
|
||||
#include "gtkutil/idledraw.h"
|
||||
#include "gtkutil/entry.h"
|
||||
|
|
|
|||
|
|
@ -972,13 +972,7 @@ void Patch_constructMenu( GtkMenu* menu ){
|
|||
}
|
||||
|
||||
|
||||
#include <gtk/gtkbox.h>
|
||||
#include <gtk/gtktable.h>
|
||||
#include <gtk/gtktogglebutton.h>
|
||||
#include <gtk/gtkradiobutton.h>
|
||||
#include <gtk/gtkcombobox.h>
|
||||
#include <gtk/gtkspinbutton.h>
|
||||
#include <gtk/gtklabel.h>
|
||||
#include <gtk/gtk.h>
|
||||
#include "gtkutil/dialog.h"
|
||||
#include "gtkutil/widget.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -27,8 +27,6 @@
|
|||
#include "generic/callback.h"
|
||||
#include "math/vector.h"
|
||||
|
||||
#include "gtkmisc.h"
|
||||
|
||||
#include "camwindow.h"
|
||||
|
||||
#include "mainframe.h"
|
||||
|
|
|
|||
|
|
@ -23,8 +23,7 @@
|
|||
|
||||
#include "stream/textstream.h"
|
||||
|
||||
#include <gtk/gtkmenu.h>
|
||||
#include <gtk/gtkmenuitem.h>
|
||||
#include <gtk/gtk.h>
|
||||
|
||||
#include "gtkutil/pointer.h"
|
||||
#include "gtkutil/menu.h"
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@
|
|||
#include "itoolbar.h"
|
||||
#include "modulesystem.h"
|
||||
|
||||
#include <gtk/gtktoolbar.h>
|
||||
#include <gtk/gtk.h>
|
||||
|
||||
#include "stream/stringstream.h"
|
||||
#include "gtkutil/image.h"
|
||||
|
|
|
|||
|
|
@ -30,20 +30,7 @@
|
|||
|
||||
#include "debugging/debugging.h"
|
||||
|
||||
#include <gtk/gtkmain.h>
|
||||
#include <gtk/gtkvbox.h>
|
||||
#include <gtk/gtkhbox.h>
|
||||
#include <gtk/gtkframe.h>
|
||||
#include <gtk/gtklabel.h>
|
||||
#include <gtk/gtktogglebutton.h>
|
||||
#include <gtk/gtkspinbutton.h>
|
||||
#include <gtk/gtkscrolledwindow.h>
|
||||
#include <gtk/gtktreemodel.h>
|
||||
#include <gtk/gtktreeview.h>
|
||||
#include <gtk/gtktreestore.h>
|
||||
#include <gtk/gtktreeselection.h>
|
||||
#include <gtk/gtkcellrenderertext.h>
|
||||
#include <gtk/gtknotebook.h>
|
||||
#include <gtk/gtk.h>
|
||||
|
||||
#include "generic/callback.h"
|
||||
#include "math/vector.h"
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@
|
|||
|
||||
#include <map>
|
||||
|
||||
#include <gtk/gtktearoffmenuitem.h>
|
||||
#include <gtk/gtk.h>
|
||||
|
||||
#include "stream/textfilestream.h"
|
||||
#include "cmdlib.h"
|
||||
|
|
|
|||
|
|
@ -43,7 +43,6 @@
|
|||
#include "patchmanip.h"
|
||||
#include "patchdialog.h"
|
||||
#include "texwindow.h"
|
||||
#include "gtkmisc.h"
|
||||
#include "mainframe.h"
|
||||
#include "grid.h"
|
||||
#include "map.h"
|
||||
|
|
@ -1135,10 +1134,7 @@ void Selection_destroy(){
|
|||
|
||||
|
||||
#include "gtkdlgs.h"
|
||||
#include <gtk/gtkbox.h>
|
||||
#include <gtk/gtkspinbutton.h>
|
||||
#include <gtk/gtktable.h>
|
||||
#include <gtk/gtklabel.h>
|
||||
#include <gtk/gtk.h>
|
||||
#include <gdk/gdkkeysyms.h>
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -35,15 +35,8 @@
|
|||
#include "iundo.h"
|
||||
#include "iselection.h"
|
||||
|
||||
#include <gtk/gtkhbox.h>
|
||||
#include <gtk/gtkvbox.h>
|
||||
#include <gtk/gtkframe.h>
|
||||
#include <gtk/gtklabel.h>
|
||||
#include <gtk/gtktable.h>
|
||||
#include <gtk/gtkbutton.h>
|
||||
#include <gtk/gtkspinbutton.h>
|
||||
#include <gtk/gtk.h>
|
||||
#include <gdk/gdkkeysyms.h>
|
||||
#include <gtk/gtkcheckbutton.h> //Shamus: For Textool
|
||||
|
||||
#include "signal/isignal.h"
|
||||
#include "generic/object.h"
|
||||
|
|
|
|||
|
|
@ -23,8 +23,8 @@
|
|||
#define INCLUDED_TEXTUREENTRY_H
|
||||
|
||||
|
||||
#include <gtk/gtkentry.h>
|
||||
#include <gtk/gtkliststore.h>
|
||||
#include <gtk/gtk.h>
|
||||
|
||||
#include "gtkutil/idledraw.h"
|
||||
|
||||
#include "generic/static.h"
|
||||
|
|
|
|||
|
|
@ -41,11 +41,6 @@
|
|||
#include <vector>
|
||||
|
||||
#include <gtk/gtk.h>
|
||||
#include <gtk/gtkrange.h>
|
||||
#include <gtk/gtkframe.h>
|
||||
#include <gtk/gtkhbox.h>
|
||||
#include <gtk/gtkvbox.h>
|
||||
#include <gtk/gtkvscrollbar.h>
|
||||
|
||||
#include "signal/signal.h"
|
||||
#include "math/vector.h"
|
||||
|
|
|
|||
|
|
@ -24,9 +24,7 @@
|
|||
#include "debugging/debugging.h"
|
||||
|
||||
#include <map>
|
||||
#include <gtk/gtktreemodel.h>
|
||||
#include <gtk/gtktreednd.h>
|
||||
#include <gtk/gtkmain.h>
|
||||
#include <gtk/gtk.h>
|
||||
|
||||
#include "iscenegraph.h"
|
||||
#include "nameable.h"
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@
|
|||
#include "watchbsp.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <gtk/gtkmain.h>
|
||||
#include <gtk/gtk.h>
|
||||
|
||||
#include "cmdlib.h"
|
||||
#include "convert.h"
|
||||
|
|
|
|||
|
|
@ -39,8 +39,7 @@
|
|||
#include "image.h"
|
||||
#include "gtkutil/messagebox.h"
|
||||
|
||||
#include <gtk/gtklabel.h>
|
||||
#include <gtk/gtkmenuitem.h>
|
||||
#include <gtk/gtk.h>
|
||||
|
||||
#include "generic/callback.h"
|
||||
#include "string/string.h"
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user