PIPS
|
#include <stdlib.h>
#include <stdio.h>
#include <stdarg.h>
#include <sys/time.h>
#include <sys/resource.h>
#include <xview/xview.h>
#include <xview/panel.h>
#include <xview/text.h>
#include <xview/svrimage.h>
#include "genC.h"
#include "linear.h"
#include "ri.h"
#include "database.h"
#include "misc.h"
#include "ri-util.h"
#include "pipsdbm.h"
#include "wpips.h"
Go to the source code of this file.
Enumerations | |
enum | { DECALAGE_STATUS = 100 } |
enum | { CPU_USAGE_LENGTH = 8 } |
Max number of digits displayed in the status panel: More... | |
Functions | |
void | display_memory_usage () |
void | window_number_notify (Panel_item item, int value, Event *event) |
void | show_directory () |
void | show_workspace () |
void | show_module () |
void | wpips_interrupt_button_blink () |
void | wpips_interrupt_button_restore () |
void | show_message (string message_buffer) |
void | create_status_subwindow () |
Variables | |
Panel_item | directory_name_panel_item |
Panel_item | workspace_name_panel_item |
Panel_item | memory_name |
Panel_item | message |
Panel_item | window_number |
Panel_item | module_name_panel_item |
Panel_item | cpu_usage_item |
Server_image | status_window_pips_image |
etext | |
Strange, "man end" says that end is a function! More... | |
edata | |
end | |
anonymous enum |
Enumerator | |
---|---|
DECALAGE_STATUS |
Definition at line 59 of file xv_status.c.
anonymous enum |
Max number of digits displayed in the status panel:
Enumerator | |
---|---|
CPU_USAGE_LENGTH |
Definition at line 63 of file xv_status.c.
void create_status_subwindow | ( | ) |
Maintenant on n'utilise plus qu'un seul panel pour la fene^tre principale. En effet, sinon il y a des proble`mes de retrac,age sur e'cran couleur. RK, 15/03/1994.
Ignore the return code of end_directory_notify:
ANEL_ITEM_X_GAP, DECALAGE_STATUS, PANEL_VALUE_Y, xv_rows(main_panel, 4),
Put the Pixmap above the Help button:
Definition at line 203 of file xv_status.c.
References cpu_usage_item, CPU_USAGE_LENGTH, create_status_window_pips_image(), DECALAGE_STATUS, directory_name_panel_item, display_memory_usage(), end_directory_notify(), end_select_module_notify(), generate_directory_menu(), generate_module_menu(), generate_workspace_menu(), main_frame, main_panel, MAX_NUMBER_OF_WPIPS_WINDOWS, memory_name, module_name_panel_item, number_of_wpips_windows, open_or_create_workspace(), pips_icon_server_image, quit_button, schoose_create_abbrev_menu_with_text(), show_directory(), show_module(), show_workspace(), status_window_pips_image, window_number, window_number_notify(), workspace_name_panel_item, and wpips_interrupt_pipsmake().
void display_memory_usage | ( | ) |
etext, edata and end are only address symbols...
getrusage() failed:
Definition at line 79 of file xv_status.c.
References cpu_usage_item, CPU_USAGE_LENGTH, debug(), edata, end, etext, and memory_name.
Referenced by create_status_subwindow(), show_directory(), show_message(), show_module(), show_workspace(), and window_number_notify().
void show_directory | ( | ) |
Definition at line 126 of file xv_status.c.
References directory_name_panel_item, display_memory_usage(), and get_cwd().
Referenced by create_status_subwindow().
void show_message | ( | string | message_buffer | ) |
va_list some_arguments; static char message_buffer[SMALL_BUFFER_LENGTH];
va_start(some_arguments, a_printf_format);
(void) vsprintf(message_buffer, a_printf_format, some_arguments);
message_buffer | ... |
Definition at line 188 of file xv_status.c.
References display_memory_usage().
void show_module | ( | ) |
Definition at line 149 of file xv_status.c.
References db_get_current_module_name(), display_memory_usage(), and module_name_panel_item.
Referenced by create_status_subwindow().
void show_workspace | ( | ) |
Definition at line 135 of file xv_status.c.
References db_get_current_workspace_name(), display_memory_usage(), and workspace_name_panel_item.
Referenced by create_status_subwindow().
void window_number_notify | ( | Panel_item | item, |
int | value, | ||
Event * | event | ||
) |
Definition at line 114 of file xv_status.c.
References display_memory_usage(), int, number_of_wpips_windows, send_window_number_to_emacs(), and wpips_emacs_mode.
Referenced by create_status_subwindow().
void wpips_interrupt_button_blink | ( | ) |
Definition at line 163 of file xv_status.c.
References status_window_pips_image, wpips_negative_server_image, and wpips_positive_server_image.
Referenced by deal_with_wpips_events_during_pipsmake().
void wpips_interrupt_button_restore | ( | ) |
Definition at line 179 of file xv_status.c.
References status_window_pips_image, and wpips_positive_server_image.
Referenced by wpips_main_loop().
Panel_item cpu_usage_item |
Definition at line 71 of file xv_status.c.
Referenced by create_status_subwindow(), and display_memory_usage().
Panel_item directory_name_panel_item |
Definition at line 67 of file xv_status.c.
Referenced by create_status_subwindow(), disable_change_directory(), enable_change_directory(), and show_directory().
edata |
Definition at line 76 of file xv_status.c.
Referenced by display_memory_usage().
end |
Definition at line 76 of file xv_status.c.
Referenced by display_memory_usage().
|
extern |
Strange, "man end" says that end is a function!
Referenced by display_memory_usage().
Panel_item memory_name |
Definition at line 69 of file xv_status.c.
Referenced by create_status_subwindow(), and display_memory_usage().
Panel_item message |
Definition at line 69 of file xv_status.c.
Panel_item module_name_panel_item |
Definition at line 70 of file xv_status.c.
Referenced by create_status_subwindow(), disable_module_selection(), enable_module_selection(), and show_module().
Server_image status_window_pips_image |
Definition at line 73 of file xv_status.c.
Referenced by create_status_subwindow(), wpips_interrupt_button_blink(), and wpips_interrupt_button_restore().
Panel_item window_number |
Definition at line 69 of file xv_status.c.
Referenced by create_status_subwindow().
Panel_item workspace_name_panel_item |
Definition at line 68 of file xv_status.c.
Referenced by create_status_subwindow(), disable_workspace_create_or_open(), disable_workspace_delete_or_open(), enable_workspace_create_or_open(), enable_workspace_delete_or_open(), and show_workspace().