Fix Clang warnings plus some cleanups
This commit is contained in:
@@ -16,27 +16,31 @@
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with RawTherapee. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
#ifndef _CROPWINDOW_
|
||||
#define _CROPWINDOW_
|
||||
#pragma once
|
||||
|
||||
#include <list>
|
||||
|
||||
#include <gtkmm.h>
|
||||
#include "lwbutton.h"
|
||||
#include "lwbuttonset.h"
|
||||
#include "editenums.h"
|
||||
#include "crophandler.h"
|
||||
#include <list>
|
||||
|
||||
#include "cropguilistener.h"
|
||||
#include "pointermotionlistener.h"
|
||||
#include "crophandler.h"
|
||||
#include "cursormanager.h"
|
||||
#include "editbuffer.h"
|
||||
#include "editcoordsys.h"
|
||||
#include "editenums.h"
|
||||
#include "lwbutton.h"
|
||||
#include "lwbuttonset.h"
|
||||
#include "pointermotionlistener.h"
|
||||
|
||||
#include "../rtengine/noncopyable.h"
|
||||
|
||||
namespace rtengine {
|
||||
namespace rtengine
|
||||
{
|
||||
|
||||
class Coord;
|
||||
struct Coord;
|
||||
|
||||
}
|
||||
|
||||
class CropWindow;
|
||||
|
||||
class CropWindowListener
|
||||
@@ -243,5 +247,3 @@ public:
|
||||
|
||||
ImageArea* getImageArea();
|
||||
};
|
||||
|
||||
#endif
|
||||
|
@@ -16,8 +16,7 @@
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with RawTherapee. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
#ifndef __GUI_UTILS_
|
||||
#define __GUI_UTILS_
|
||||
#pragma once
|
||||
|
||||
#include <functional>
|
||||
#include <map>
|
||||
@@ -26,22 +25,24 @@
|
||||
|
||||
#include <cairomm/cairomm.h>
|
||||
|
||||
#include "pathutils.h"
|
||||
#include "threadutils.h"
|
||||
|
||||
#include "../rtengine/coord.h"
|
||||
#include "../rtengine/noncopyable.h"
|
||||
|
||||
#include "threadutils.h"
|
||||
namespace rtengine
|
||||
{
|
||||
|
||||
// for convenience...
|
||||
#include "pathutils.h"
|
||||
|
||||
namespace rtengine {
|
||||
namespace procparams
|
||||
{
|
||||
|
||||
class ProcParams;
|
||||
|
||||
struct CropParams;
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
class RTImage;
|
||||
@@ -654,5 +655,3 @@ inline Gtk::Window& getToplevelWindow (Gtk::Widget* widget)
|
||||
{
|
||||
return *static_cast<Gtk::Window*> (widget->get_toplevel ());
|
||||
}
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user