#pragma once for our headers plus drive-by formatting

This commit is contained in:
Flössie
2019-10-31 10:20:50 +01:00
parent aacea7046c
commit add5c790d6
177 changed files with 946 additions and 1158 deletions

View File

@@ -16,20 +16,22 @@
* You should have received a copy of the GNU General Public License
* along with RawTherapee. If not, see <https://www.gnu.org/licenses/>.
*/
#ifndef __TOOLPANEL__
#define __TOOLPANEL__
#pragma once
#include <gtkmm.h>
#include <glibmm/ustring.h>
#include "../rtengine/rtengine.h"
#include "editbuffer.h"
#include "guiutils.h"
#include "multilangmgr.h"
#include "paramsedited.h"
#include "../rtengine/noncopyable.h"
class ToolPanel;
#include "../rtengine/noncopyable.h"
#include "../rtengine/rtengine.h"
class FoldableToolPanel;
class ToolPanel;
class ToolPanelListener
{
@@ -39,20 +41,23 @@ public:
};
/// @brief This class control the space around the group of tools inside a tab, as well as the space separating each tool. */
class ToolVBox : public Gtk::VBox
class ToolVBox :
public Gtk::VBox
{
public:
ToolVBox();
};
/// @brief This class control the space around a tool's block of parameter. */
class ToolParamBlock : public Gtk::VBox
class ToolParamBlock :
public Gtk::VBox
{
public:
ToolParamBlock();
};
class ToolPanel : public rtengine::NonCopyable
class ToolPanel :
public rtengine::NonCopyable
{
protected:
@@ -136,7 +141,8 @@ public:
}
};
class FoldableToolPanel : public ToolPanel
class FoldableToolPanel :
public ToolPanel
{
protected:
@@ -218,5 +224,3 @@ public:
return exp->signal_enabled_toggled();
}
};
#endif