Formatted all .cc and .h code in rtengine, rtexif and rtgui using astyle
This commit is contained in:
@@ -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,70 +23,71 @@
|
||||
#include "toolpanel.h"
|
||||
#include "guiutils.h"
|
||||
|
||||
class IPTCPanel : public Gtk::VBox, public ToolPanel {
|
||||
class IPTCPanel : public Gtk::VBox, public ToolPanel
|
||||
{
|
||||
|
||||
private:
|
||||
rtengine::procparams::IPTCPairs changeList;
|
||||
rtengine::procparams::IPTCPairs defChangeList;
|
||||
rtengine::procparams::IPTCPairs embeddedData;
|
||||
|
||||
Gtk::TextView* captionView;
|
||||
Glib::RefPtr<Gtk::TextBuffer> captionText;
|
||||
Gtk::Entry* captionWriter;
|
||||
Gtk::Entry* headline;
|
||||
Gtk::Entry* instructions;
|
||||
Gtk::ComboBoxEntryText* keyword;
|
||||
Gtk::ListViewText* keywords;
|
||||
Gtk::Button* addKW;
|
||||
Gtk::Button* delKW;
|
||||
Gtk::ComboBoxEntryText* category;
|
||||
Gtk::ComboBoxEntryText* suppCategory;
|
||||
Gtk::ListViewText* suppCategories;
|
||||
Gtk::Button* addSC;
|
||||
Gtk::Button* delSC;
|
||||
private:
|
||||
rtengine::procparams::IPTCPairs changeList;
|
||||
rtengine::procparams::IPTCPairs defChangeList;
|
||||
rtengine::procparams::IPTCPairs embeddedData;
|
||||
|
||||
Gtk::Entry* author;
|
||||
Gtk::Entry* authorPos;
|
||||
Gtk::Entry* credit;
|
||||
Gtk::Entry* source;
|
||||
Gtk::Entry* copyright;
|
||||
Gtk::Entry* city;
|
||||
Gtk::Entry* province;
|
||||
Gtk::Entry* country;
|
||||
Gtk::Entry* title;
|
||||
Gtk::Entry* dateCreated;
|
||||
Gtk::Entry* transReference;
|
||||
Gtk::TextView* captionView;
|
||||
Glib::RefPtr<Gtk::TextBuffer> captionText;
|
||||
Gtk::Entry* captionWriter;
|
||||
Gtk::Entry* headline;
|
||||
Gtk::Entry* instructions;
|
||||
Gtk::ComboBoxEntryText* keyword;
|
||||
Gtk::ListViewText* keywords;
|
||||
Gtk::Button* addKW;
|
||||
Gtk::Button* delKW;
|
||||
Gtk::ComboBoxEntryText* category;
|
||||
Gtk::ComboBoxEntryText* suppCategory;
|
||||
Gtk::ListViewText* suppCategories;
|
||||
Gtk::Button* addSC;
|
||||
Gtk::Button* delSC;
|
||||
|
||||
Gtk::Button* reset;
|
||||
Gtk::Button* file;
|
||||
Gtk::Button* copy;
|
||||
Gtk::Button* paste;
|
||||
Gtk::Entry* author;
|
||||
Gtk::Entry* authorPos;
|
||||
Gtk::Entry* credit;
|
||||
Gtk::Entry* source;
|
||||
Gtk::Entry* copyright;
|
||||
Gtk::Entry* city;
|
||||
Gtk::Entry* province;
|
||||
Gtk::Entry* country;
|
||||
Gtk::Entry* title;
|
||||
Gtk::Entry* dateCreated;
|
||||
Gtk::Entry* transReference;
|
||||
|
||||
sigc::connection conns[16];
|
||||
|
||||
void applyChangeList ();
|
||||
void updateChangeList ();
|
||||
|
||||
public:
|
||||
IPTCPanel ();
|
||||
|
||||
void read (const rtengine::procparams::ProcParams* pp, const ParamsEdited* pedited=NULL);
|
||||
void write (rtengine::procparams::ProcParams* pp, ParamsEdited* pedited=NULL);
|
||||
void setDefaults (const rtengine::procparams::ProcParams* defParams, const ParamsEdited* pedited=NULL);
|
||||
|
||||
void setImageData (const rtengine::ImageMetaData* id);
|
||||
Gtk::Button* reset;
|
||||
Gtk::Button* file;
|
||||
Gtk::Button* copy;
|
||||
Gtk::Button* paste;
|
||||
|
||||
void notifyListener ();
|
||||
sigc::connection conns[16];
|
||||
|
||||
void addKeyWord ();
|
||||
void delKeyWord ();
|
||||
void addSuppCategory ();
|
||||
void delSuppCategory ();
|
||||
|
||||
void resetClicked ();
|
||||
void fileClicked ();
|
||||
void copyClicked ();
|
||||
void pasteClicked ();
|
||||
void applyChangeList ();
|
||||
void updateChangeList ();
|
||||
|
||||
public:
|
||||
IPTCPanel ();
|
||||
|
||||
void read (const rtengine::procparams::ProcParams* pp, const ParamsEdited* pedited = NULL);
|
||||
void write (rtengine::procparams::ProcParams* pp, ParamsEdited* pedited = NULL);
|
||||
void setDefaults (const rtengine::procparams::ProcParams* defParams, const ParamsEdited* pedited = NULL);
|
||||
|
||||
void setImageData (const rtengine::ImageMetaData* id);
|
||||
|
||||
void notifyListener ();
|
||||
|
||||
void addKeyWord ();
|
||||
void delKeyWord ();
|
||||
void addSuppCategory ();
|
||||
void delSuppCategory ();
|
||||
|
||||
void resetClicked ();
|
||||
void fileClicked ();
|
||||
void copyClicked ();
|
||||
void pasteClicked ();
|
||||
};
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user