src/frontends/kde/urldlg.C
src/frontends/qt2/FileDialog.C
src/frontends/qt2/FormCharacter.C
src/frontends/kde/urldlg.C
src/frontends/qt2/FileDialog.C
src/frontends/qt2/FormCharacter.C
+src/frontends/qt2/FormCitation.C
src/frontends/qt2/FormCopyright.C
src/frontends/qt2/FormParagraph.C
src/frontends/qt2/FormPrint.C
src/frontends/qt2/FormCopyright.C
src/frontends/qt2/FormParagraph.C
src/frontends/qt2/FormPrint.C
src/frontends/qt2/tabularcreatedlgimpl.C
src/frontends/xforms/combox.C
src/frontends/xforms/FileDialog.C
src/frontends/qt2/tabularcreatedlgimpl.C
src/frontends/xforms/combox.C
src/frontends/xforms/FileDialog.C
-src/frontends/xforms/FormBibitem.C
src/frontends/xforms/form_bibitem.C
src/frontends/xforms/form_bibitem.C
-src/frontends/xforms/FormBibtex.C
+src/frontends/xforms/FormBibitem.C
src/frontends/xforms/form_bibtex.C
src/frontends/xforms/form_bibtex.C
+src/frontends/xforms/FormBibtex.C
src/frontends/xforms/form_browser.C
src/frontends/xforms/form_browser.C
-src/frontends/xforms/FormCharacter.C
src/frontends/xforms/form_character.C
src/frontends/xforms/form_character.C
-src/frontends/xforms/FormCitation.C
+src/frontends/xforms/FormCharacter.C
src/frontends/xforms/form_citation.C
src/frontends/xforms/form_citation.C
-src/frontends/xforms/FormCopyright.C
+src/frontends/xforms/FormCitation.C
src/frontends/xforms/form_copyright.C
src/frontends/xforms/form_copyright.C
-src/frontends/xforms/FormCredits.C
+src/frontends/xforms/FormCopyright.C
src/frontends/xforms/form_credits.C
src/frontends/xforms/form_credits.C
-src/frontends/xforms/FormDocument.C
+src/frontends/xforms/FormCredits.C
src/frontends/xforms/form_document.C
src/frontends/xforms/form_document.C
-src/frontends/xforms/FormError.C
+src/frontends/xforms/FormDocument.C
src/frontends/xforms/form_error.C
src/frontends/xforms/form_error.C
-src/frontends/xforms/FormExternal.C
+src/frontends/xforms/FormError.C
src/frontends/xforms/form_external.C
src/frontends/xforms/form_external.C
-src/frontends/xforms/FormFiledialog.C
+src/frontends/xforms/FormExternal.C
src/frontends/xforms/form_filedialog.C
src/frontends/xforms/form_filedialog.C
-src/frontends/xforms/FormGraphics.C
+src/frontends/xforms/FormFiledialog.C
src/frontends/xforms/form_graphics.C
src/frontends/xforms/form_graphics.C
-src/frontends/xforms/FormInclude.C
+src/frontends/xforms/FormGraphics.C
src/frontends/xforms/form_include.C
src/frontends/xforms/form_include.C
-src/frontends/xforms/FormIndex.C
+src/frontends/xforms/FormInclude.C
src/frontends/xforms/form_index.C
src/frontends/xforms/form_index.C
+src/frontends/xforms/FormIndex.C
src/frontends/xforms/FormLog.C
src/frontends/xforms/FormLog.C
+src/frontends/xforms/form_maths.C
+src/frontends/xforms/FormMaths.C
src/frontends/xforms/form_minipage.C
src/frontends/xforms/FormMinipage.C
src/frontends/xforms/form_paragraph.C
src/frontends/xforms/form_minipage.C
src/frontends/xforms/FormMinipage.C
src/frontends/xforms/form_paragraph.C
-src/frontends/xforms/FormMaths.C
-src/frontends/xforms/form_maths.C
src/frontends/xforms/FormParagraph.C
src/frontends/xforms/FormParagraph.C
-src/frontends/xforms/form_paragraph.C
-src/frontends/xforms/FormPreamble.C
src/frontends/xforms/form_preamble.C
src/frontends/xforms/form_preamble.C
-src/frontends/xforms/FormPreferences.C
+src/frontends/xforms/FormPreamble.C
src/frontends/xforms/form_preferences.C
src/frontends/xforms/form_preferences.C
-src/frontends/xforms/FormPrint.C
+src/frontends/xforms/FormPreferences.C
src/frontends/xforms/form_print.C
src/frontends/xforms/form_print.C
-src/frontends/xforms/FormRef.C
+src/frontends/xforms/FormPrint.C
src/frontends/xforms/form_ref.C
src/frontends/xforms/form_ref.C
-src/frontends/xforms/FormSearch.C
+src/frontends/xforms/FormRef.C
src/frontends/xforms/form_search.C
src/frontends/xforms/form_search.C
-src/frontends/xforms/FormTabular.C
+src/frontends/xforms/FormSearch.C
src/frontends/xforms/form_tabular.C
src/frontends/xforms/form_tabular.C
-src/frontends/xforms/FormTabularCreate.C
+src/frontends/xforms/FormTabular.C
src/frontends/xforms/form_tabular_create.C
src/frontends/xforms/form_tabular_create.C
-src/frontends/xforms/FormToc.C
+src/frontends/xforms/FormTabularCreate.C
src/frontends/xforms/form_toc.C
src/frontends/xforms/form_toc.C
-src/frontends/xforms/FormUrl.C
+src/frontends/xforms/FormToc.C
src/frontends/xforms/form_url.C
src/frontends/xforms/form_url.C
+src/frontends/xforms/FormUrl.C
src/frontends/xforms/FormVCLog.C
src/frontends/xforms/input_validators.C
src/frontends/xforms/Menubar_pimpl.C
src/frontends/xforms/FormVCLog.C
src/frontends/xforms/input_validators.C
src/frontends/xforms/Menubar_pimpl.C
const unsigned int saved_positions_num = 20;
const unsigned int saved_positions_num = 20;
+namespace {
+
+//static
+inline
void waitForX()
{
XSync(fl_get_display(), 0);
}
void waitForX()
{
XSync(fl_get_display(), 0);
}
void SetXtermCursor(Window win)
{
static Cursor cursor;
void SetXtermCursor(Window win)
{
static Cursor cursor;
XFlush(fl_get_display());
}
XFlush(fl_get_display());
}
BufferView::Pimpl::Pimpl(BufferView * b, LyXView * o,
int xpos, int ypos, int width, int height)
BufferView::Pimpl::Pimpl(BufferView * b, LyXView * o,
int xpos, int ypos, int width, int height)
+2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
+
+ * tabular.C (l_getline): use string::erase, small whitespace change.
+
+ * BufferView_pimpl.C: try the anon namespace.
+ * WorkArea.C: ditto
+
2001-03-16 Juergen Vigna <jug@sad.it>
* BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
2001-03-16 Juergen Vigna <jug@sad.it>
* BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
// This is at least true for g++.
//using std::abs;
// This is at least true for g++.
//using std::abs;
+namespace {
+
+//static
+inline
void waitForX()
{
XSync(fl_get_display(), 0);
}
void waitForX()
{
XSync(fl_get_display(), 0);
}
extern "C" {
// Just a bunch of C wrappers around static members of WorkArea
extern "C" {
// Just a bunch of C wrappers around static members of WorkArea
WorkArea::WorkArea(int xpos, int ypos, int width, int height)
: workareapixmap(0), painter_(*this)
{
WorkArea::WorkArea(int xpos, int ypos, int width, int height)
: workareapixmap(0), painter_(*this)
{
+2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
+
+ * insetminipage.C (InsetMinipage): default to not collapsed
+
2001-03-16 Juergen Vigna <jug@sad.it>
* insetminipage.C (width): modified with to be a string
2001-03-16 Juergen Vigna <jug@sad.it>
* insetminipage.C (width): modified with to be a string
// protected method "clickInButton" (Lgb)
protected:
///
// protected method "clickInButton" (Lgb)
protected:
///
- mutable int
- button_length, button_top_y, button_bottom_y;
+ mutable int button_length;
+ ///
+ mutable int button_top_y;
+ ///
+ mutable int button_bottom_y;
setLabelFont(font);
setAutoCollapse(false);
setInsetName("Minipage");
setLabelFont(font);
setAutoCollapse(false);
setInsetName("Minipage");
static inline
void l_getline(istream & is, string & str)
{
static inline
void l_getline(istream & is, string & str)
{
- str = string();
- while(str.empty()) {
+ str.erase();
+ while (str.empty()) {
- if (!str.empty() && str[str.length()-1] == '\r')
- str.erase(str.length()-1);
+ if (!str.empty() && str[str.length() - 1] == '\r')
+ str.erase(str.length() - 1);