"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "rtgui/filebrowserentry.h" between
rawtherapee-5.6.tar.xz and rawtherapee-5.7.tar.xz

About: RawTherapee is a powerful cross-platform raw image processing program.

filebrowserentry.h  (rawtherapee-5.6.tar.xz):filebrowserentry.h  (rawtherapee-5.7.tar.xz)
skipping to change at line 17 skipping to change at line 17
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or * the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version. * (at your option) any later version.
* *
* RawTherapee is distributed in the hope that it will be useful, * RawTherapee is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details. * GNU General Public License for more details.
* *
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with RawTherapee. If not, see <http://www.gnu.org/licenses/>. * along with RawTherapee. If not, see <https://www.gnu.org/licenses/>.
*/ */
#ifndef _FILEBROWSERENTRY_ #ifndef _FILEBROWSERENTRY_
#define _FILEBROWSERENTRY_ #define _FILEBROWSERENTRY_
#include <atomic> #include <atomic>
#include <memory> #include <memory>
#include <gtkmm.h> #include <gtkmm.h>
#include "../rtengine/rtengine.h" #include "../rtengine/rtengine.h"
#include "crophandler.h" #include "crophandler.h"
#include "editenums.h" #include "editenums.h"
#include "filethumbnailbuttonset.h" #include "filethumbnailbuttonset.h"
#include "imageareatoollistener.h" #include "imageareatoollistener.h"
#include "thumbbrowserentrybase.h" #include "thumbbrowserentrybase.h"
#include "thumbimageupdater.h" #include "thumbimageupdater.h"
#include "thumbnail.h" #include "thumbnail.h"
#include "thumbnaillistener.h" #include "thumbnaillistener.h"
#include "../rtengine/noncopyable.h"
class FileBrowserEntry; class FileBrowserEntry;
struct FileBrowserEntryIdleHelper { struct FileBrowserEntryIdleHelper {
FileBrowserEntry* fbentry; FileBrowserEntry* fbentry;
bool destroyed; bool destroyed;
std::atomic<int> pending; std::atomic<int> pending;
}; };
class FileThumbnailButtonSet; class FileThumbnailButtonSet;
class FileBrowserEntry : public ThumbBrowserEntryBase, class FileBrowserEntry : public ThumbBrowserEntryBase,
public ThumbnailListener, public ThumbnailListener,
public ThumbImageUpdateListener public ThumbImageUpdateListener,
public rtengine::NonCopyable
{ {
double scale; double scale;
static bool iconsLoaded; static bool iconsLoaded;
bool wasInside; bool wasInside;
ImageAreaToolListener* iatlistener; ImageAreaToolListener* iatlistener;
int press_x, press_y, action_x, action_y; int press_x, press_y, action_x, action_y;
double rot_deg; double rot_deg;
bool landscape; bool landscape;
const std::unique_ptr<rtengine::procparams::CropParams> cropParams; const std::unique_ptr<rtengine::procparams::CropParams> cropParams;
skipping to change at line 95 skipping to change at line 97
{ {
iatlistener = l; iatlistener = l;
} }
FileThumbnailButtonSet* getThumbButtonSet (); FileThumbnailButtonSet* getThumbButtonSet ();
void refreshThumbnailImage () override; void refreshThumbnailImage () override;
void refreshQuickThumbnailImage () override; void refreshQuickThumbnailImage () override;
void calcThumbnailSize () override; void calcThumbnailSize () override;
std::vector<Glib::RefPtr<Gdk::Pixbuf> > getIconsOnImageArea () override; std::vector<Glib::RefPtr<Gdk::Pixbuf>> getIconsOnImageArea () override;
std::vector<Glib::RefPtr<Gdk::Pixbuf> > getSpecificityIconsOnImageArea () ov std::vector<Glib::RefPtr<Gdk::Pixbuf>> getSpecificityIconsOnImageArea () ove
erride; rride;
void getIconSize (int& w, int& h) override; void getIconSize (int& w, int& h) const override;
// thumbnaillistener interface // thumbnaillistener interface
void procParamsChanged (Thumbnail* thm, int whoChangedIt) override; void procParamsChanged (Thumbnail* thm, int whoChangedIt) override;
// thumbimageupdatelistener interface // thumbimageupdatelistener interface
void updateImage(rtengine::IImage8* img, double scale, const rtengine::procp arams::CropParams& cropParams) override; void updateImage(rtengine::IImage8* img, double scale, const rtengine::procp arams::CropParams& cropParams) override;
void _updateImage(rtengine::IImage8* img, double scale, const rtengine::proc params::CropParams& cropParams); // inside gtk thread void _updateImage(rtengine::IImage8* img, double scale, const rtengine::proc params::CropParams& cropParams); // inside gtk thread
bool motionNotify (int x, int y) override; bool motionNotify (int x, int y) override;
bool pressNotify (int button, int type, int bstate, int x, int y) overr ide; bool pressNotify (int button, int type, int bstate, int x, int y) overr ide;
bool releaseNotify (int button, int type, int bstate, int x, int y) overr ide; bool releaseNotify (int button, int type, int bstate, int x, int y) overr ide;
 End of changes. 4 change blocks. 
6 lines changed or deleted 8 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)