25 #include "pips_config.h"
32 #include <sys/resource.h>
33 #include <xview/xview.h>
34 #include <xview/panel.h>
35 #include <xview/text.h>
45 #define min(a,b) ((a) < (b) ? (a) : (b))
49 #define PIPS_DOCUMENTATION_URL "http://www.cri.ensmp.fr/pips"
66 xv_set(
lines[i], PANEL_LABEL_STRING,
71 xv_set(
lines[i], PANEL_LABEL_STRING,
"", 0);
106 PANEL_LABEL_STRING,
"CLOSE",
119 display_help((
char *) xv_get(menu_item, MENU_CLIENT_DATA));
144 menu = xv_create(XV_NULL, MENU_COMMAND_MENU,
146 "The PIPS documentation",
149 MENU_STRING,
"A few introductory words...",
150 MENU_CLIENT_DATA,
strdup(
"Introduction"),
154 MENU_STRING,
"A few words about \"Workspace\"...",
155 MENU_CLIENT_DATA,
strdup(
"Workspace"),
159 MENU_STRING,
"A few words about \"Module\"...",
160 MENU_CLIENT_DATA,
strdup(
"Module"),
164 MENU_STRING,
"A few words about \"Directory\"...",
165 MENU_CLIENT_DATA,
strdup(
"Directory"),
169 MENU_STRING,
"A few words about \"View\"...",
170 MENU_CLIENT_DATA,
strdup(
"View"),
174 MENU_STRING,
"A few words about \"Transform/Edit\"...",
175 MENU_CLIENT_DATA,
strdup(
"Transform/Edit"),
179 MENU_STRING,
"A few words about \"Compile\"...",
180 MENU_CLIENT_DATA,
strdup(
"Compile"),
184 MENU_STRING,
"A few words about \"Options\"...",
185 MENU_CLIENT_DATA,
strdup(
"Options"),
189 MENU_STRING,
"A few words about \"Log\"...",
190 MENU_CLIENT_DATA,
strdup(
"Log"),
195 MENU_ACTION_ITEM,
"The PIPS documentation on Internet with Netscape...",
197 MENU_ACTION_ITEM,
"The PIPS documentation on Internet with XMosaic...",
202 PANEL_LABEL_STRING,
"Help ",
203 PANEL_ITEM_MENU, menu,
size_t gen_array_nitems(const gen_array_t a)
void gen_array_full_free(gen_array_t a)
gen_array_t gen_array_make(size_t size)
declarations...
void * gen_array_item(const gen_array_t a, size_t i)
GtkWidget * main_frame
If we are in the Emacs mode, the log_frame is no longer really used:
gint hide_window(GtkWidget *window, GdkEvent *ev __attribute__((unused)), gpointer data __attribute__((unused)))
void get_help_topic(string topic, gen_array_t array)
struct _gen_array_chunk_t * gen_array_t
#define WPIPS_MENU_SEPARATOR
Define the menu separator:
static void close_help_notify(Panel_item item, Event *event)
void create_help_window()
#define PIPS_DOCUMENTATION_URL
The URL of the PIPS documentation at the École des Mines de Paris:
void display_help(char *topic)
static void help_launch_pips_xmosaic(Menu menu, Menu_item menu_item)
static gen_array_t help_list
GRRRRRRRR FC.
static Panel_item lines[HELP_LINES]
static void help_notify(Menu menu, Menu_item menu_item)
static void help_launch_pips_netscape(Menu menu, Menu_item menu_item)
void unhide_window(Frame frame)
map a frame on the screen