summaryrefslogtreecommitdiffstats
path: root/src/TextViewLog.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2021-01-02 14:02:44 +0100
committerDavid Robillard <d@drobilla.net>2021-01-02 14:02:44 +0100
commit663a5d01b1931b97370ed8feff3ae229a9cc7ea4 (patch)
treeaba74794cb45f06734bd80bbf53d79f947008e54 /src/TextViewLog.hpp
parent1936aace80b5594078d874e9b661a9a91e461279 (diff)
downloadpatchage-663a5d01b1931b97370ed8feff3ae229a9cc7ea4.tar.gz
patchage-663a5d01b1931b97370ed8feff3ae229a9cc7ea4.tar.bz2
patchage-663a5d01b1931b97370ed8feff3ae229a9cc7ea4.zip
Format all code with clang-format
Diffstat (limited to 'src/TextViewLog.hpp')
-rw-r--r--src/TextViewLog.hpp30
1 files changed, 15 insertions, 15 deletions
diff --git a/src/TextViewLog.hpp b/src/TextViewLog.hpp
index 52c1b2c..9840303 100644
--- a/src/TextViewLog.hpp
+++ b/src/TextViewLog.hpp
@@ -39,29 +39,29 @@ class Widget;
class TextViewLog : public ILog
{
public:
- explicit TextViewLog(Widget<Gtk::TextView>& text_view);
+ explicit TextViewLog(Widget<Gtk::TextView>& text_view);
- TextViewLog(const TextViewLog&) = delete;
- TextViewLog& operator=(const TextViewLog&) = delete;
+ TextViewLog(const TextViewLog&) = delete;
+ TextViewLog& operator=(const TextViewLog&) = delete;
- TextViewLog(TextViewLog&&) = delete;
- TextViewLog& operator=(TextViewLog&&) = delete;
+ TextViewLog(TextViewLog&&) = delete;
+ TextViewLog& operator=(TextViewLog&&) = delete;
- ~TextViewLog() override = default;
+ ~TextViewLog() override = default;
- void info(const std::string& msg) override;
- void error(const std::string& msg) override;
- void warning(const std::string& msg) override;
+ void info(const std::string& msg) override;
+ void error(const std::string& msg) override;
+ void warning(const std::string& msg) override;
- int min_height() const;
+ int min_height() const;
- const Widget<Gtk::TextView>& text_view() const { return _text_view; }
- Widget<Gtk::TextView>& text_view() { return _text_view; }
+ const Widget<Gtk::TextView>& text_view() const { return _text_view; }
+ Widget<Gtk::TextView>& text_view() { return _text_view; }
private:
- Glib::RefPtr<Gtk::TextTag> _error_tag;
- Glib::RefPtr<Gtk::TextTag> _warning_tag;
- Widget<Gtk::TextView>& _text_view;
+ Glib::RefPtr<Gtk::TextTag> _error_tag;
+ Glib::RefPtr<Gtk::TextTag> _warning_tag;
+ Widget<Gtk::TextView>& _text_view;
};
} // namespace patchage