presentation
Andreas Butti 7 years ago
parent 1a173c9fdf
commit dac2817816
  1. BIN
      .tieffrequente_geraeusche_inkl_infraschall2.pdf.autosave.xoj
  2. 12
      src/gui/PageView.h
  3. 8
      src/gui/sidebar/previews/base/SidebarToolbar.cpp

@ -168,7 +168,9 @@ private:
void addRerenderRect(double x, double y, double width, double height);
public:
// position in the layout
/**
* position in the layout
*/
LayoutData layout;
private:
@ -190,7 +192,9 @@ private:
*/
TextEditor* textEditor;
//For keeping old text changes to undo!
/**
* For keeping old text changes to undo!
*/
Text* oldtext;
bool selected;
@ -199,7 +203,9 @@ private:
bool inEraser;
// Vertical Space
/**
* Vertical Space
*/
VerticalToolHandler* verticalSpace;
/**

@ -90,8 +90,6 @@ void SidebarToolbar::btCopyClicked(GtkToolButton* toolbutton, SidebarToolbar* to
{
XOJ_CHECK_TYPE_OBJ(toolbar, SidebarToolbar);
printf("copy page this=%lx\n", toolbar);
Document* doc = toolbar->control->getDocument();
doc->lock();
@ -133,11 +131,5 @@ void SidebarToolbar::setButtonEnabled(bool enableUp, bool enableDown, bool enabl
gtk_widget_set_sensitive(GTK_WIDGET(this->btDelete), enableDelete);
this->currentPage = currentPage;
Document* doc = control->getDocument();
doc->lock();
int page = doc->indexOf(currentPage);
doc->unlock();
printf("Current selected page is %i, this=%lx\n", page, this);
}

Loading…
Cancel
Save