Gtk3 by Hombre, issue 2807

This commit is contained in:
Morgan Hardwood
2015-08-12 16:07:19 +02:00
parent 91f67f0cb6
commit 56a0805bc7
133 changed files with 3950 additions and 2626 deletions

View File

@@ -22,12 +22,14 @@
#include <gtkmm.h>
#include "previewhandler.h"
#include "cropwindow.h"
#include "guiutils.h"
#include "cursormanager.h"
class PreviewWindow : public Gtk::DrawingArea, public PreviewListener, public CropWindowListener
{
private:
Glib::RefPtr<Gdk::Pixmap> backBuffer;
Cairo::RefPtr<BackBuffer> backBuffer;
PreviewHandler* previewHandler;
sigc::connection rconn;
CropWindow* mainCropWin;
@@ -37,6 +39,7 @@ private:
int press_x, press_y;
bool isMoving;
bool needsUpdate;
CursorShape cursor_type;
void updatePreviewImage ();
void getObservedFrameArea (int& x, int& y, int& w, int& h);
@@ -49,7 +52,7 @@ public:
void on_realize ();
void on_resized (Gtk::Allocation& req);
bool on_expose_event (GdkEventExpose* event);
bool on_draw (const ::Cairo::RefPtr< Cairo::Context> &cr);
bool on_motion_notify_event (GdkEventMotion* event);
bool on_button_press_event (GdkEventButton* event);
bool on_button_release_event(GdkEventButton* event);