]> git.lyx.org Git - lyx.git/blobdiff - src/lyx_gui_misc.h
small changes to ButtonController usage
[lyx.git] / src / lyx_gui_misc.h
index 82233ed7565f481d79c5bc720d4ae643c4ad1ea8..7ce10aa5a42bd83e760bbe1f3c09ead87850a512 100644 (file)
@@ -34,14 +34,15 @@ void CloseAllBufferRelatedDialogs();
 void updateAllVisibleBufferRelatedDialogs();
 
 /* These shortcut extractors should be shifted to frontends/xforms/ eventually */
+
 /// Extract shortcut from <ident>|<shortcut> string
 char const * flyx_shortcut_extract(char const * sc);
-/// Make a shortnamed version of the above func
+/// Shortcut for flyx_shortcut_extract
 #define scex flyx_shortcut_extract
 
 /// Extract shortcut from <ident>|<shortcut> string
 char const * flyx_ident_extract(char const * sc);
-/// Make a shortnamed versjon of the above func
+/// Shortcut for flyx_ident_extract
 #define idex flyx_ident_extract
 
 /// Show message
@@ -60,8 +61,9 @@ int AskConfirmation(string const & s1, string const & s2 = string(),
                    string const & s3 = string());
 
 /// returns a bool: false=cancelled, true=okay. string contains returned text
-std::pair<bool, string> askForText(string const & msg,
-                                  string const & dflt = string());
+std::pair<bool, string> const
+askForText(string const & msg,
+          string const & dflt = string());
 
 /// Informs the user that changes in the coming form will be ignored
 void WarnReadonly(string const & file);
@@ -69,8 +71,7 @@ void WarnReadonly(string const & file);
 /// Get the dpi setting of the current screen
 float getScreenDPI();
 
-// inlined functions
-// rings the audio bell.
+/// rings the audio bell.
 inline
 void LyXBell() {
        // if (audio()) ON/OFF switch yet to be implemented