[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Adonthell-commits] CVS: adonthell/src/tools/dlgedit cfg_data.cc,1.4,1.5
From: |
Kai Sterker <address@hidden> |
Subject: |
[Adonthell-commits] CVS: adonthell/src/tools/dlgedit cfg_data.cc,1.4,1.5 cfg_data.h,1.3,1.4 dlg_arrow.h,1.5,1.6 dlg_circle.cc,1.6,1.7 dlg_module.cc,1.8,1.9 dlg_module.h,1.8,1.9 dlg_module_entry.cc,1.4,1.5 dlg_module_entry.h,1.4,1.5 dlg_types.h,1.6,1.7 gui_dlgedit.cc,1.8,1.9 gui_dlgedit.h,1.7,1.8 gui_dlgedit_events.cc,1.5,1.6 gui_dlgedit_events.h,1.4,1.5 gui_messages.cc,1.4,1.5 |
Date: |
Sat, 26 Oct 2002 18:19:47 -0400 |
Update of /cvsroot/adonthell/adonthell/src/tools/dlgedit
In directory subversions:/tmp/cvs-serv13202
Modified Files:
cfg_data.cc cfg_data.h dlg_arrow.h dlg_circle.cc dlg_module.cc
dlg_module.h dlg_module_entry.cc dlg_module_entry.h
dlg_types.h gui_dlgedit.cc gui_dlgedit.h gui_dlgedit_events.cc
gui_dlgedit_events.h gui_messages.cc
Log Message:
ADDED 'Revert to saved' feature
FIXED bug that prevented creation of 'automatic' links on rare occasions
Index: cfg_data.cc
===================================================================
RCS file: /cvsroot/adonthell/adonthell/src/tools/dlgedit/cfg_data.cc,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** cfg_data.cc 22 Oct 2002 15:20:40 -0000 1.4
--- cfg_data.cc 26 Oct 2002 22:19:44 -0000 1.5
***************
*** 83,86 ****
--- 83,92 ----
}
+ // erase a file from the list
+ void CfgData::removeFile (const std::string & file)
+ {
+ Files.erase (remove (Files.begin (), Files.end (), file), Files.end ());
+ }
+
// add entry to list of projects
void CfgData::addProject (std::string &project)
Index: cfg_data.h
===================================================================
RCS file: /cvsroot/adonthell/adonthell/src/tools/dlgedit/cfg_data.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** cfg_data.h 22 Oct 2002 15:20:40 -0000 1.3
--- cfg_data.h 26 Oct 2002 22:19:44 -0000 1.4
***************
*** 59,66 ****
/**
* Get the list of files, sorted alphabetically.
! * @return list of previously opened files.
*/
std::list<std::string> getFiles ();
!
/**
* Adds a project to the list of projects and loads all project
--- 59,71 ----
/**
* Get the list of files, sorted alphabetically.
! * @return list of previously opened files.
*/
std::list<std::string> getFiles ();
! /**
! * Remove the given file from the list, if possible.
! * @param file The file to remove.
! */
! void removeFile (const std::string & file);
!
/**
* Adds a project to the list of projects and loads all project
Index: dlg_arrow.h
===================================================================
RCS file: /cvsroot/adonthell/adonthell/src/tools/dlgedit/dlg_arrow.h,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** dlg_arrow.h 26 Oct 2002 17:43:29 -0000 1.5
--- dlg_arrow.h 26 Oct 2002 22:19:44 -0000 1.6
***************
*** 98,102 ****
/**
* Calculate intersection of arrow line and node shape. This works
! * as follows.
*
* We have a rectangle that represents the shape of the start node.
--- 98,102 ----
/**
* Calculate intersection of arrow line and node shape. This works
! * as follows:
*
* We have a rectangle that represents the shape of the start node.
***************
*** 106,110 ****
* To find out which side, we split the rectangle into four quadrants,
* with the start point as origin. Then we check through which of the
! * four quadrants from start to end runs.
*
* That way, only two sides will remain for the intersection. To figure
--- 106,110 ----
* To find out which side, we split the rectangle into four quadrants,
* with the start point as origin. Then we check through which of the
! * four quadrants above line runs.
*
* That way, only two sides will remain for the intersection. To figure
***************
*** 113,117 ****
*
* Now that we know the side, we also know one coordinate of the
! * intersection. Now we simply insert this into the equation of the
* line and calculate the second coordinate. Voila: we have the point
* where the arrow intersects with the node.
--- 113,117 ----
*
* Now that we know the side, we also know one coordinate of the
! * intersection. We can simply insert this into the equation of the
* line and calculate the second coordinate. Voila: we have the point
* where the arrow intersects with the node.
Index: dlg_circle.cc
===================================================================
RCS file: /cvsroot/adonthell/adonthell/src/tools/dlgedit/dlg_circle.cc,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** dlg_circle.cc 24 Oct 2002 20:12:56 -0000 1.6
--- dlg_circle.cc 26 Oct 2002 22:19:44 -0000 1.7
***************
*** 33,36 ****
--- 33,39 ----
top_left = DlgPoint (p.x () - (p.x () % CIRCLE_DIAMETER), p.y () - (p.y
() % CIRCLE_DIAMETER));
bottom_right = DlgPoint (x () + CIRCLE_DIAMETER, y () + CIRCLE_DIAMETER);
+
+ // make sure the point lies still within the circle
+ p = center ();
}
Index: dlg_module.cc
===================================================================
RCS file: /cvsroot/adonthell/adonthell/src/tools/dlgedit/dlg_module.cc,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -r1.8 -r1.9
*** dlg_module.cc 24 Oct 2002 20:12:56 -0000 1.8
--- dlg_module.cc 26 Oct 2002 22:19:44 -0000 1.9
***************
*** 48,51 ****
--- 48,64 ----
}
+ // reset dialogue to initial state
+ void DlgModule::clear ()
+ {
+ // delete all nodes
+ while (!nodes.empty ()) deleteNode (nodes.front ());
+
+ // clear custom code and such
+ entry_.clear ();
+
+ // reset all variables
+ init ();
+ }
+
// calculate shape of sub-dialogue
void DlgModule::initShape (DlgPoint ¢er)
***************
*** 131,134 ****
--- 144,156 ----
DlgNode *node = deselectNode ();
+ // actually delete it
+ deleteNode (node);
+
+ return true;
+ }
+
+ // delete the given node
+ void DlgModule::deleteNode (DlgNode *node)
+ {
// if the node is a circle, also delete the attached arrows
if (node->type () != LINK)
***************
*** 155,160 ****
if (highlighted_ == node) highlighted_ = NULL;
delete node;
-
- return true;
}
--- 177,180 ----
***************
*** 310,314 ****
}
}
!
return true;
}
--- 330,335 ----
}
}
!
! fclose (loadlgin);
return true;
}
Index: dlg_module.h
===================================================================
RCS file: /cvsroot/adonthell/adonthell/src/tools/dlgedit/dlg_module.h,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -r1.8 -r1.9
*** dlg_module.h 24 Oct 2002 20:12:56 -0000 1.8
--- dlg_module.h 26 Oct 2002 22:19:44 -0000 1.9
***************
*** 45,48 ****
--- 45,58 ----
/**
+ * Reset the dialogue to its state after construction. Deletes all
+ * nodes and clears the DlgModuleEntry.
+ */
+ void clear ();
+
+ /**
+ * @name Module drawing
+ */
+ //@{
+ /**
* Calculate this module's shape. The shape is a rectangle centered
* around the given DlgPoint. It is large enough to display the
***************
*** 59,63 ****
*/
void draw (GdkPixmap *surface, DlgPoint &offset);
!
/**
* Add the given node to the dialogue.
--- 69,78 ----
*/
void draw (GdkPixmap *surface, DlgPoint &offset);
! //@}
!
! /**
! * @name Node handling
! */
! //@{
/**
* Add the given node to the dialogue.
***************
*** 69,82 ****
* Delete the currently selected node from the dialogue. If the node
* is a circle, also deletes all attached arrows.
! * @return <b>true</b> if the node has been deleted, <b>false</b>
! * otherwise.
*/
bool deleteNode ();
/**
* Select a node from the list of nodes.
* @param node The DlgNode to select.
! * @return <b>true</b> if the node has been selected, <b>false</b>
! * otherwise.
*/
bool selectNode (DlgNode *node);
--- 84,101 ----
* Delete the currently selected node from the dialogue. If the node
* is a circle, also deletes all attached arrows.
! * @return \b true> if the node has been deleted, \b false otherwise.
*/
bool deleteNode ();
/**
+ * Delete the given node from the dialogue.
+ * @param node The node to delete.
+ */
+ void deleteNode (DlgNode *node);
+
+ /**
* Select a node from the list of nodes.
* @param node The DlgNode to select.
! * @return \b true if the node has been selected, \b false otherwise.
*/
bool selectNode (DlgNode *node);
***************
*** 92,97 ****
/**
* Select the root node of the dialogue.
! * @return <b>true</b> if the node has been selected, <b>false</b>
! * otherwise.
*/
bool selectRoot ();
--- 111,115 ----
/**
* Select the root node of the dialogue.
! * @return \b true if the node has been selected, \b false otherwise.
*/
bool selectRoot ();
***************
*** 115,119 ****
*/
DlgNode* selected () { return selected_; }
!
/**
* Get the extension of the module for centering in view.
--- 133,138 ----
*/
DlgNode* selected () { return selected_; }
! //@}
!
/**
* Get the extension of the module for centering in view.
***************
*** 124,132 ****
*/
void extension (int &min_x, int &max_x, int &y);
!
/**
* Init the Dialogue from a file
! * @return <b>true</b> if loading was successful, <b>false</b>
! * otherwise.
*/
bool load ();
--- 143,154 ----
*/
void extension (int &min_x, int &max_x, int &y);
!
! /**
! * @name Loading / Saving
! */
! //@{
/**
* Init the Dialogue from a file
! * @return \b true if loading was successful, \b false otherwise.
*/
bool load ();
***************
*** 136,150 ****
* @param path full path of the dialogue.
* @param name file name without extension.
! * @return <b>true</b> if saving was successful, <b>false</b> otherwise.
*/
bool save (std::string &path, std::string &name);
/**
! * Save the Dialogue to a file. Not implemented - use
! * save (std::string, std::string) instead!
* @param file an opened file.
*/
void save (std::ofstream &file) { }
!
/**
* Get the list of nodes in this dialogue.
--- 158,185 ----
* @param path full path of the dialogue.
* @param name file name without extension.
! * @return \b true if saving was successful, \b false otherwise.
*/
bool save (std::string &path, std::string &name);
/**
! * Save module as sub-dialogue. In contrast to the method above,
! * this only saves a 'reference' to the module. It will have to be
! * restored from the actual source file.
! *
! * In order to allow different users to work on the same dialogues,
! * the reference will be relative to CfgProject::BaseDir. That way,
! * a dialogue referencing sub-dialogues can be loaded even if it is
! * moved to a different location, provided the relative paths of
! * included modules have not changed.
! *
* @param file an opened file.
*/
void save (std::ofstream &file) { }
! //@}
!
! /**
! * @name Member access
! */
! //@{
/**
* Get the list of nodes in this dialogue.
***************
*** 178,194 ****
*/
std::string fullName () { return path_ + name_ + FILE_EXT; }
!
/**
* Check whether this dialogue has been changed since it's been
* opened or saved.
! * @return <b>true</b> if that is the case, <b>false</b> otherwise.
*/
bool changed () { return changed_; }
/**
* Mark this dialogue as changed.
! * @param c Set to <b>true</b> to mark the dialogue as changed.
*/
void setChanged (bool c = true) { changed_ = c; }
!
/**
* Get a pointer to the module entry
--- 213,229 ----
*/
std::string fullName () { return path_ + name_ + FILE_EXT; }
!
/**
* Check whether this dialogue has been changed since it's been
* opened or saved.
! * @return \b true if that is the case, \b false otherwise.
*/
bool changed () { return changed_; }
/**
* Mark this dialogue as changed.
! * @param c Set to \b true to mark the dialogue as changed.
*/
void setChanged (bool c = true) { changed_ = c; }
!
/**
* Get a pointer to the module entry
***************
*** 196,200 ****
*/
DlgModuleEntry *entry () { return &entry_; }
!
/**
* Get a pointer to the keyboard graph traversal helper. This keeps track
--- 231,235 ----
*/
DlgModuleEntry *entry () { return &entry_; }
!
/**
* Get a pointer to the keyboard graph traversal helper. This keeps track
***************
*** 204,207 ****
--- 239,243 ----
*/
KBTraverse *traverse () { return &traverse_; }
+ //@}
protected:
Index: dlg_module_entry.cc
===================================================================
RCS file: /cvsroot/adonthell/adonthell/src/tools/dlgedit/dlg_module_entry.cc,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** dlg_module_entry.cc 26 Apr 2002 20:20:10 -0000 1.4
--- dlg_module_entry.cc 26 Oct 2002 22:19:44 -0000 1.5
***************
*** 27,32 ****
--- 27,39 ----
#include "dlg_module_entry.h"
+ // ctor
DlgModuleEntry::DlgModuleEntry ()
{
+ init ();
+ }
+
+ // initialize the DlgModuleEntry to sane state
+ void DlgModuleEntry::init ()
+ {
project_ = "";
imports_ = "";
***************
*** 37,40 ****
--- 44,57 ----
itc = characters.end ();
itq = quests.end ();
+ }
+
+ // reset everything to initial state
+ void DlgModuleEntry::clear ()
+ {
+ // empty character and quest array
+ characters.clear ();
+ quests.clear ();
+
+ init ();
}
Index: dlg_module_entry.h
===================================================================
RCS file: /cvsroot/adonthell/adonthell/src/tools/dlgedit/dlg_module_entry.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** dlg_module_entry.h 21 Oct 2002 20:10:30 -0000 1.4
--- dlg_module_entry.h 26 Oct 2002 22:19:44 -0000 1.5
***************
*** 33,37 ****
--- 33,56 ----
{
public:
+ /**
+ * Create an empty %DlgModuleEntry.
+ */
DlgModuleEntry ();
+
+ /**
+ * @name Initialization / Cleanup
+ */
+ //@{
+ /**
+ * Initialize the entry to a sane state. All members are set to
+ * the empty string ("").
+ */
+ void init ();
+ /**
+ * Reset the entry to state after construction time. Erases all quest
+ * and character information. Sets other members to "".
+ */
+ void clear ();
+ //@}
/**
Index: dlg_types.h
===================================================================
RCS file: /cvsroot/adonthell/adonthell/src/tools/dlgedit/dlg_types.h,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** dlg_types.h 22 Oct 2002 15:20:40 -0000 1.6
--- dlg_types.h 26 Oct 2002 22:19:44 -0000 1.7
***************
*** 92,96 ****
RUN = 7,
OPEN_RECENT = 8,
! MAX_ITEM = 9
};
--- 92,97 ----
RUN = 7,
OPEN_RECENT = 8,
! REVERT = 9,
! MAX_ITEM = 10
};
Index: gui_dlgedit.cc
===================================================================
RCS file: /cvsroot/adonthell/adonthell/src/tools/dlgedit/gui_dlgedit.cc,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -r1.8 -r1.9
*** gui_dlgedit.cc 24 Oct 2002 20:12:56 -0000 1.8
--- gui_dlgedit.cc 26 Oct 2002 22:19:44 -0000 1.9
***************
*** 175,178 ****
--- 175,195 ----
gtk_widget_show (menuitem);
menuItem[SAVE_AS] = menuitem;
+
+ // Seperator
+ menuitem = gtk_menu_item_new ();
+ gtk_menu_append (GTK_MENU (submenu), menuitem);
+ gtk_widget_set_sensitive (menuitem, FALSE);
+ gtk_widget_show (menuitem);
+
+ // Revert to Saved
+ menuitem = gtk_menu_item_new_with_label ("Revert to Saved");
+ gtk_container_add (GTK_CONTAINER (submenu), menuitem);
+ gtk_widget_add_accelerator (menuitem, "activate", accel_group, GDK_r,
GDK_CONTROL_MASK, GTK_ACCEL_VISIBLE);
+ gtk_object_set_data (GTK_OBJECT (menuitem), "help-id", GINT_TO_POINTER
(7));
+ gtk_signal_connect (GTK_OBJECT (menuitem), "enter-notify-event",
GTK_SIGNAL_FUNC (on_display_help), message);
+ gtk_signal_connect (GTK_OBJECT (menuitem), "leave-notify-event",
GTK_SIGNAL_FUNC (on_clear_help), message);
+ gtk_signal_connect (GTK_OBJECT (menuitem), "activate", GTK_SIGNAL_FUNC
(on_file_revert_activate), (gpointer) NULL);
+ gtk_widget_show (menuitem);
+ menuItem[REVERT] = menuitem;
// Close
***************
*** 265,271 ****
// Run
! menuitem = gtk_menu_item_new_with_label ("Run");
gtk_container_add (GTK_CONTAINER (submenu), menuitem);
! gtk_widget_add_accelerator (menuitem, "activate", accel_group, GDK_r,
GDK_CONTROL_MASK, GTK_ACCEL_VISIBLE);
gtk_object_set_data (GTK_OBJECT (menuitem), "help-id", GINT_TO_POINTER
(14));
gtk_signal_connect (GTK_OBJECT (menuitem), "enter-notify-event",
GTK_SIGNAL_FUNC (on_display_help), message);
--- 282,288 ----
// Run
! menuitem = gtk_menu_item_new_with_label ("Execute");
gtk_container_add (GTK_CONTAINER (submenu), menuitem);
! gtk_widget_add_accelerator (menuitem, "activate", accel_group, GDK_e,
GDK_CONTROL_MASK, GTK_ACCEL_VISIBLE);
gtk_object_set_data (GTK_OBJECT (menuitem), "help-id", GINT_TO_POINTER
(14));
gtk_signal_connect (GTK_OBJECT (menuitem), "enter-notify-event",
GTK_SIGNAL_FUNC (on_display_help), message);
***************
*** 385,398 ****
void GuiDlgedit::loadDialogue (std::string file)
{
// test if we have a valid dialogue
if (!checkDialogue (file))
{
message->display (-2, g_basename (file.c_str ()));
return;
}
- // make sure that file has an absolute path
- if (file[0] != '/') file = directory_ + std::string ("/") + file;
-
// remember the current directory for later use
directory_ = g_dirname (file.c_str ());
--- 402,419 ----
void GuiDlgedit::loadDialogue (std::string file)
{
+ // make sure that file has an absolute path
+ if (file[0] != '/') file = directory_ + std::string ("/") + file;
+
// test if we have a valid dialogue
if (!checkDialogue (file))
{
+ // update list of previously opened files
+ CfgData::data->removeFile (file);
+ initRecentFiles ();
+
message->display (-2, g_basename (file.c_str ()));
return;
}
// remember the current directory for later use
directory_ = g_dirname (file.c_str ());
***************
*** 460,463 ****
--- 481,514 ----
}
+ // revert Dialogue to state on disk
+ void GuiDlgedit::revertDialogue ()
+ {
+ DlgModule *module = graph_->dialogue ();
+ if (module == NULL) return;
+
+ // check whether dialogue (still) exists on disk
+ if (!checkDialogue (module->fullName ()))
+ {
+ gtk_widget_set_sensitive (menuItem[REVERT], FALSE);
+ message->display (-2, module->name ().c_str ());
+ return;
+ }
+
+ // cleanup
+ module->clear ();
+
+ // reload
+ if (!module->load ())
+ {
+ message->display (-3, module->name ().c_str ());
+ closeDialogue ();
+ return;
+ }
+
+ // redisplay
+ graph_->detachModule ();
+ graph_->attachModule (module);
+ }
+
// save a dialogue
void GuiDlgedit::saveDialogue (std::string file)
***************
*** 486,489 ****
--- 537,543 ----
CfgData::data->addFile (file);
+ // update 'Revert to Saved' menu item
+ gtk_widget_set_sensitive (menuItem[REVERT], TRUE);
+
// update the dialogue's name in case it has changed
initTitle ();
***************
*** 539,542 ****
--- 593,602 ----
GuiSettings::dialog->display (module->entry (), module->shortName ());
+ // update 'Revert to Saved' menu item
+ if (!checkDialogue (module->fullName ()))
+ gtk_widget_set_sensitive (menuItem[REVERT], FALSE);
+ else
+ gtk_widget_set_sensitive (menuItem[REVERT], TRUE);
+
// update the window title
initTitle ();
***************
*** 713,718 ****
fstat (fileno (loadlgin), &statbuf);
if (!S_ISREG (statbuf.st_mode))
return false;
!
return true;
}
--- 773,781 ----
fstat (fileno (loadlgin), &statbuf);
if (!S_ISREG (statbuf.st_mode))
+ {
+ fclose (loadlgin);
return false;
! }
!
return true;
}
***************
*** 908,911 ****
--- 971,975 ----
gtk_widget_set_sensitive (menuItem[SAVE], FALSE);
gtk_widget_set_sensitive (menuItem[SAVE_AS], FALSE);
+ gtk_widget_set_sensitive (menuItem[REVERT], FALSE);
gtk_widget_set_sensitive (menuItem[CLOSE], FALSE);
gtk_widget_set_sensitive (menuItem[SETTINGS], FALSE);
Index: gui_dlgedit.h
===================================================================
RCS file: /cvsroot/adonthell/adonthell/src/tools/dlgedit/gui_dlgedit.h,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -r1.7 -r1.8
*** gui_dlgedit.h 24 Oct 2002 20:12:56 -0000 1.7
--- gui_dlgedit.h 26 Oct 2002 22:19:44 -0000 1.8
***************
*** 131,134 ****
--- 131,139 ----
void saveDialogue (std::string file);
/**
+ * Reload dialogue from disk if possible. This discards all
+ * changes since the last save.
+ */
+ void revertDialogue ();
+ /**
* Close a dialogue
*/
Index: gui_dlgedit_events.cc
===================================================================
RCS file: /cvsroot/adonthell/adonthell/src/tools/dlgedit/gui_dlgedit_events.cc,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** gui_dlgedit_events.cc 23 Oct 2002 21:13:02 -0000 1.5
--- gui_dlgedit_events.cc 26 Oct 2002 22:19:44 -0000 1.6
***************
*** 83,86 ****
--- 83,92 ----
}
+ // File Menu: Revert to Saved
+ void on_file_revert_activate (GtkMenuItem * menuitem, gpointer user_data)
+ {
+ GuiDlgedit::window->revertDialogue ();
+ }
+
// File Menu: Close
void on_file_close_activate (GtkMenuItem * menuitem, gpointer user_data)
Index: gui_dlgedit_events.h
===================================================================
RCS file: /cvsroot/adonthell/adonthell/src/tools/dlgedit/gui_dlgedit_events.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** gui_dlgedit_events.h 22 Oct 2002 15:20:40 -0000 1.4
--- gui_dlgedit_events.h 26 Oct 2002 22:19:44 -0000 1.5
***************
*** 31,34 ****
--- 31,35 ----
void on_file_save_activate (GtkMenuItem *, gpointer);
void on_file_save_as_activate (GtkMenuItem *, gpointer);
+ void on_file_revert_activate (GtkMenuItem *, gpointer);
void on_file_close_activate (GtkMenuItem *, gpointer);
void on_dialogue_compile_activate (GtkMenuItem *, gpointer);
Index: gui_messages.cc
===================================================================
RCS file: /cvsroot/adonthell/adonthell/src/tools/dlgedit/gui_messages.cc,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** gui_messages.cc 24 Oct 2002 20:12:56 -0000 1.4
--- gui_messages.cc 26 Oct 2002 22:19:44 -0000 1.5
***************
*** 37,40 ****
--- 37,41 ----
messages[5] = " Close current dialogue";
messages[6] = " Exit the program";
+ messages[7] = " Reload dialogue from disk, discarding recent
changes.";
messages[10] = " Change the preferences of the current dialogue";
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Adonthell-commits] CVS: adonthell/src/tools/dlgedit cfg_data.cc,1.4,1.5 cfg_data.h,1.3,1.4 dlg_arrow.h,1.5,1.6 dlg_circle.cc,1.6,1.7 dlg_module.cc,1.8,1.9 dlg_module.h,1.8,1.9 dlg_module_entry.cc,1.4,1.5 dlg_module_entry.h,1.4,1.5 dlg_types.h,1.6,1.7 gui_dlgedit.cc,1.8,1.9 gui_dlgedit.h,1.7,1.8 gui_dlgedit_events.cc,1.5,1.6 gui_dlgedit_events.h,1.4,1.5 gui_messages.cc,1.4,1.5,
Kai Sterker <address@hidden> <=
- Prev by Date:
[Adonthell-commits] CVS: adonthell/src/tools/dlgedit dlg_arrow.cc,1.4,1.5 dlg_arrow.h,1.4,1.5
- Next by Date:
[Adonthell-commits] CVS: adonthell/src/tools/dlgedit gui_settings.cc,1.8,1.9
- Previous by thread:
[Adonthell-commits] CVS: adonthell/src/tools/dlgedit dlg_arrow.cc,1.4,1.5 dlg_arrow.h,1.4,1.5
- Next by thread:
[Adonthell-commits] CVS: adonthell/src/tools/dlgedit gui_settings.cc,1.8,1.9
- Index(es):