PIPS
gpips-local.h
Go to the documentation of this file.
1 /*
2 
3  $Id: gpips-local.h 23065 2016-03-02 09:05:50Z coelho $
4 
5  Copyright 1989-2016 MINES ParisTech
6 
7  This file is part of PIPS.
8 
9  PIPS is free software: you can redistribute it and/or modify it
10  under the terms of the GNU General Public License as published by
11  the Free Software Foundation, either version 3 of the License, or
12  any later version.
13 
14  PIPS is distributed in the hope that it will be useful, but WITHOUT ANY
15  WARRANTY; without even the implied warranty of MERCHANTABILITY or
16  FITNESS FOR A PARTICULAR PURPOSE.
17 
18  See the GNU General Public License for more details.
19 
20  You should have received a copy of the GNU General Public License
21  along with PIPS. If not, see <http://www.gnu.org/licenses/>.
22 
23 */
24 #define SMALL_BUFFER_LENGTH 2560
25 
26 #define MESSAGE_BUFFER_LENGTH 1024
27 #define TEXT_BUFFER_LENGTH 1024
28 
29 /* How many display wondows can be opened : */
30 #define MAX_NUMBER_OF_GPIPS_WINDOWS 9
31 #define INITIAL_NUMBER_OF_GPIPS_WINDOWS 2
32 #define NO_TEXTSW_AVAILABLE -1 /* cannot be positive (i.e. a window number. */
33 extern int number_of_gpips_windows;
34 
35 // Gtk Windows (XV Frame -> GTK Window)
39 extern GtkWidget *main_window_vbox;
40 
41 // Gtk Frames (XV Panel -> GTK Frame)
44 
45 extern GtkWidget *main_window_menu_bar;
46 
47 typedef enum {
56  LAST_ICON
58 
59 typedef bool success;
60 
61 /* The type to describe the command to execute outside the notifyer: */
62 typedef enum {
65 
66 /* The type describing a Transform menu entry: */
67 typedef struct {
71 
72 /* The type describing a View menu entry: */
77  char * icon_name;
78 };
80 
81 /* Define the menu separator: */
82 #define GPIPS_MENU_SEPARATOR MENU_ITEM, MENU_STRING, "", MENU_INACTIVE, TRUE, NULL
83 /* How it is specified in the layout .h: */
84 #define GPIPS_MENU_SEPARATOR_ID ""
85 
86 /* Here are the X ressource stuff: */
87 /* The Log Window: */
88 #define GPIPS_LOG_WINDOW_WIDTH_RESSOURCE_NAME "gpips.logwindow.width"
89 #define GPIPS_LOG_WINDOW_WIDTH_RESSOURCE_CLASS "Gpips.Logwindow.Width"
90 #define GPIPS_LOG_WINDOW_WIDTH_DEFAULT DIALOG_WIDTH
91 
92 #define GPIPS_LOG_WINDOW_HEIGHT_RESSOURCE_NAME "gpips.logwindow.height"
93 #define GPIPS_LOG_WINDOW_HEIGHT_RESSOURCE_CLASS "Gpips.Logwindow.Height"
94 #define GPIPS_LOG_WINDOW_HEIGHT_DEFAULT DIALOG_HEIGHT
GtkWidget * edit_window[MAX_NUMBER_OF_GPIPS_WINDOWS]
Definition: gpips-local.h:37
GtkWidget * options_window
Definition: gpips-local.h:38
GtkWidget * status_frame
Definition: gpips-local.h:42
icon_list
Definition: gpips-local.h:47
@ LAST_ICON
Definition: gpips-local.h:56
@ callgraph_ICON
Definition: gpips-local.h:52
@ GP65_PE_ICON
Definition: gpips-local.h:50
@ user_ICON
Definition: gpips-local.h:55
@ GP65_bank_ICON
Definition: gpips-local.h:51
@ ICFG_ICON
Definition: gpips-local.h:49
@ PIPS_ICON
Definition: gpips-local.h:48
@ parallel_ICON
Definition: gpips-local.h:53
@ sequential_ICON
Definition: gpips-local.h:54
GtkWidget * main_window_vbox
Definition: gpips.c:57
GtkWidget * query_dialog
Definition: gpips-local.h:37
GtkWidget * main_window
Definition: gpips.c:54
GtkWidget * schoose_window
Definition: gpips-local.h:36
int number_of_gpips_windows
Definition: gtk_edit2.c:86
GtkWidget * main_frame
If we are in the Emacs mode, the log_frame is no longer really used:
Definition: gpips.c:60
GtkWidget * log_window
Definition: gpips-local.h:36
#define MAX_NUMBER_OF_GPIPS_WINDOWS
How many display wondows can be opened :
Definition: gpips-local.h:30
GtkWidget * mchoose_frame
Definition: gpips-local.h:42
bool success
Definition: gpips-local.h:59
GtkWidget * help_frame
Definition: gpips-local.h:43
gpips_main_loop_command_type
The type to describe the command to execute outside the notifyer:
Definition: gpips-local.h:62
@ GPIPS_SAFE_APPLY
Definition: gpips-local.h:63
@ GPIPS_EXECUTE_AND_DISPLAY
Definition: gpips-local.h:63
@ GPIPS_EXIT
Definition: gpips-local.h:63
GtkWidget * main_window_menu_bar
Definition: gpips.c:62
GtkWidget * mchoose_window
Definition: gpips-local.h:36
GtkWidget * query_frame
Definition: gpips-local.h:42
GtkWidget * help_window
Definition: gpips-local.h:37
The type describing a Transform menu entry:
Definition: gpips-local.h:67
The type describing a View menu entry:
Definition: gpips-local.h:73
void(* method_function_to_use)(struct gpips_view_menu_layout_line_s *)
Definition: gpips-local.h:76