pcb 4.1.1
An interactive printed circuit board layout editor.
|
Go to the source code of this file.
Data Structures | |
struct | ghid_file_history_struct |
Defines | |
#define | NHIST 8 |
Typedefs | |
typedef struct ghid_file_history_struct | ghid_file_history |
Functions | |
gchar * | ghid_dialog_input (const char *prompt, const char *initial) |
void | ghid_dialog_about (void) |
gint | ghid_dialog_confirm_all (gchar *all_message) |
void | ghid_dialog_message (gchar *message) |
gboolean | ghid_dialog_confirm (gchar *message, gchar *cancelmsg, gchar *okmsg) |
gint | ghid_dialog_close_confirm () |
gchar * | ghid_dialog_file_select_open (gchar *title, gchar **path, gchar *shortcuts) |
GSList * | ghid_dialog_file_select_multiple (gchar *title, gchar **path, gchar *shortcuts) |
gchar * | ghid_dialog_file_select_save (gchar *title, gchar **path, gchar *file, gchar *shortcuts) |
gchar * | ghid_fileselect (const char *title, const char *descr, char *default_file, char *default_ext, const char *history_tag, int flags) |
Variables | |
static int | n_recent_dirs = 0 |
static ghid_file_history * | recent_dirs = NULL |
#define NHIST 8 |
Definition at line 526 of file gui-dialog.c.
Referenced by ghid_fileselect().
typedef struct ghid_file_history_struct ghid_file_history |
void ghid_dialog_about | ( | void | ) |
Definition at line 92 of file gui-dialog.c.
References GetInfoString(), ghid_port, and GHidPort::top_window.
Referenced by About().
gint ghid_dialog_close_confirm | ( | void | ) |
Definition at line 200 of file gui-dialog.c.
References _, PCBType::Filename, ghid_port, GUI_DIALOG_CLOSE_CONFIRM_CANCEL, GUI_DIALOG_CLOSE_CONFIRM_NOSAVE, GUI_DIALOG_CLOSE_CONFIRM_SAVE, PCB, and GHidPort::top_window.
Referenced by ghid_close_confirm_dialog().
gboolean ghid_dialog_confirm | ( | gchar * | message, |
gchar * | cancelmsg, | ||
gchar * | okmsg | ||
) |
Definition at line 158 of file gui-dialog.c.
References _, FALSE, ghid_port, GHidPort::top_window, TRUE, x, and y.
gint ghid_dialog_confirm_all | ( | gchar * | all_message | ) |
Definition at line 109 of file gui-dialog.c.
References _, FALSE, ghid_framed_vbox(), ghid_port, GUI_DIALOG_RESPONSE_ALL, and GHidPort::top_window.
GSList* ghid_dialog_file_select_multiple | ( | gchar * | title, |
gchar ** | path, | ||
gchar * | shortcuts | ||
) |
Definition at line 375 of file gui-dialog.c.
References _, dup_string(), ghid_port, GHidPort::top_window, and TRUE.
Referenced by ImportGUI().
gchar* ghid_dialog_file_select_open | ( | gchar * | title, |
gchar ** | path, | ||
gchar * | shortcuts | ||
) |
Definition at line 268 of file gui-dialog.c.
References _, dup_string(), ghid_port, and GHidPort::top_window.
Referenced by config_color_load_cb(), and Load().
gchar* ghid_dialog_file_select_save | ( | gchar * | title, |
gchar ** | path, | ||
gchar * | file, | ||
gchar * | shortcuts | ||
) |
Definition at line 458 of file gui-dialog.c.
References dup_string(), ghid_port, GHidPort::top_window, and TRUE.
Referenced by config_color_save_cb(), and Save().
gchar* ghid_dialog_input | ( | const char * | prompt, |
const char * | initial | ||
) |
Definition at line 44 of file gui-dialog.c.
References _, FALSE, ghid_port, GHidPort::top_window, and TRUE.
Referenced by ghid_fileselect(), and ghid_prompt_for().
void ghid_dialog_message | ( | gchar * | message | ) |
Definition at line 141 of file gui-dialog.c.
References ghid_port, and GHidPort::top_window.
Referenced by config_color_save_cb().
gchar* ghid_fileselect | ( | const char * | title, |
const char * | descr, | ||
char * | default_file, | ||
char * | default_ext, | ||
const char * | history_tag, | ||
int | flags | ||
) |
Definition at line 547 of file gui-dialog.c.
References __FUNCTION__, ghid_dialog_input(), ghid_port, HID_FILESELECT_READ, ghid_file_history_struct::history, ghid_file_history_struct::id, n_recent_dirs, NHIST, realloc(), and GHidPort::top_window.
int n_recent_dirs = 0 [static] |
Definition at line 541 of file gui-dialog.c.
Referenced by ghid_fileselect().
ghid_file_history* recent_dirs = NULL [static] |
Definition at line 542 of file gui-dialog.c.