Formatted all .cc and .h code in rtengine, rtexif and rtgui using astyle

This commit is contained in:
DrSlony
2015-08-11 11:55:03 +02:00
parent effb46c3e1
commit 0e0cfb9b25
452 changed files with 133354 additions and 99460 deletions

View File

@@ -7,7 +7,7 @@
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
*
* RawTherapee is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
@@ -23,43 +23,44 @@
#include "previewhandler.h"
#include "cropwindow.h"
class PreviewWindow : public Gtk::DrawingArea, public PreviewListener, public CropWindowListener {
class PreviewWindow : public Gtk::DrawingArea, public PreviewListener, public CropWindowListener
{
private:
Glib::RefPtr<Gdk::Pixmap> backBuffer;
PreviewHandler* previewHandler;
sigc::connection rconn;
CropWindow* mainCropWin;
ImageArea* imageArea;
int imgX, imgY, imgW, imgH;
double zoom;
int press_x, press_y;
bool isMoving;
bool needsUpdate;
void updatePreviewImage ();
void getObservedFrameArea (int& x, int& y, int& w, int& h);
public:
PreviewWindow ();
void setPreviewHandler (PreviewHandler* ph);
void setImageArea (ImageArea* ia);
private:
Glib::RefPtr<Gdk::Pixmap> backBuffer;
PreviewHandler* previewHandler;
sigc::connection rconn;
CropWindow* mainCropWin;
ImageArea* imageArea;
int imgX, imgY, imgW, imgH;
double zoom;
int press_x, press_y;
bool isMoving;
bool needsUpdate;
void on_realize ();
void on_resized (Gtk::Allocation& req);
bool on_expose_event (GdkEventExpose* event);
bool on_motion_notify_event (GdkEventMotion* event);
bool on_button_press_event (GdkEventButton* event);
bool on_button_release_event(GdkEventButton* event);
// PreviewListener interface
void previewImageChanged ();
// CropWindowListener interface
void cropPositionChanged (CropWindow* w);
void cropWindowSizeChanged (CropWindow* w);
void cropZoomChanged (CropWindow* w);
void updatePreviewImage ();
void getObservedFrameArea (int& x, int& y, int& w, int& h);
public:
PreviewWindow ();
void setPreviewHandler (PreviewHandler* ph);
void setImageArea (ImageArea* ia);
void on_realize ();
void on_resized (Gtk::Allocation& req);
bool on_expose_event (GdkEventExpose* event);
bool on_motion_notify_event (GdkEventMotion* event);
bool on_button_press_event (GdkEventButton* event);
bool on_button_release_event(GdkEventButton* event);
// PreviewListener interface
void previewImageChanged ();
// CropWindowListener interface
void cropPositionChanged (CropWindow* w);
void cropWindowSizeChanged (CropWindow* w);
void cropZoomChanged (CropWindow* w);
};
#endif