]> git.lyx.org Git - features.git/blobdiff - src/frontends/xforms/xforms_helpers.h
add parOwner to Inset, optimize LyXText::workWidth, fix memory corruption with lots...
[features.git] / src / frontends / xforms / xforms_helpers.h
index ad3133a9ea3856148ab1c5386681501f8e05ca65..0e6b6050113fb3fcf3e92e057f718eca1f971e6c 100644 (file)
 #include FORMS_H_LOCATION
  
 #include "Color.h"
-#include "support/lstrings.h"
-#include "lyxlength.h"
+#include "LString.h"
  
 #include <vector>
 
+class LyXLength;
+
 /// Extract shortcut from <ident>|<shortcut> string
 char const * flyx_shortcut_extract(char const * sc);
 /// Shortcut for flyx_shortcut_extract
@@ -32,7 +33,7 @@ void setEnabled(FL_OBJECT *, bool enable);
 
 /// Take a string and add breaks so that it fits into a desired label width, w
 string formatted(string const &label, int w,
-                int=FL_NORMAL_SIZE, int=FL_NORMAL_STYLE);
+                int = FL_NORMAL_SIZE, int = FL_NORMAL_STYLE);
 
 /// Given an fl_choice, create a vector of its entries
 std::vector<string> const getVectorFromChoice(FL_OBJECT *);