summaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
Diffstat (limited to 'components')
-rw-r--r--components/channels.cpp6
-rw-r--r--components/chatinputindicator.cpp4
-rw-r--r--components/chatinputindicator.hpp4
-rw-r--r--components/chatmessage.cpp4
-rw-r--r--components/chatmessage.hpp2
-rw-r--r--components/completer.cpp4
-rw-r--r--components/completer.hpp2
-rw-r--r--components/friendslist.cpp2
-rw-r--r--components/friendslist.hpp2
-rw-r--r--components/lazyimage.cpp2
-rw-r--r--components/memberlist.cpp4
-rw-r--r--components/memberlist.hpp2
-rw-r--r--components/ratelimitindicator.cpp2
-rw-r--r--components/ratelimitindicator.hpp2
-rw-r--r--components/statusindicator.cpp2
-rw-r--r--components/statusindicator.hpp4
16 files changed, 24 insertions, 24 deletions
diff --git a/components/channels.cpp b/components/channels.cpp
index b4769d9..da31de0 100644
--- a/components/channels.cpp
+++ b/components/channels.cpp
@@ -2,9 +2,9 @@
#include <algorithm>
#include <map>
#include <unordered_map>
-#include "../abaddon.hpp"
-#include "../imgmanager.hpp"
-#include "../util.hpp"
+#include "abaddon.hpp"
+#include "imgmanager.hpp"
+#include "util.hpp"
#include "statusindicator.hpp"
ChannelList::ChannelList()
diff --git a/components/chatinputindicator.cpp b/components/chatinputindicator.cpp
index acc2aa6..9b063b2 100644
--- a/components/chatinputindicator.cpp
+++ b/components/chatinputindicator.cpp
@@ -1,7 +1,7 @@
#include <filesystem>
#include "chatinputindicator.hpp"
-#include "../abaddon.hpp"
-#include "../util.hpp"
+#include "abaddon.hpp"
+#include "util.hpp"
constexpr static const int MaxUsersInIndicator = 4;
diff --git a/components/chatinputindicator.hpp b/components/chatinputindicator.hpp
index 3b007b3..ec70dfb 100644
--- a/components/chatinputindicator.hpp
+++ b/components/chatinputindicator.hpp
@@ -1,8 +1,8 @@
#pragma once
#include <gtkmm.h>
#include <unordered_map>
-#include "../discord/message.hpp"
-#include "../discord/user.hpp"
+#include "discord/message.hpp"
+#include "discord/user.hpp"
class ChatInputIndicator : public Gtk::Box {
public:
diff --git a/components/chatmessage.cpp b/components/chatmessage.cpp
index f7ca6a5..aa4fc2e 100644
--- a/components/chatmessage.cpp
+++ b/components/chatmessage.cpp
@@ -1,6 +1,6 @@
#include "chatmessage.hpp"
-#include "../abaddon.hpp"
-#include "../util.hpp"
+#include "abaddon.hpp"
+#include "util.hpp"
#include "lazyimage.hpp"
#include <unordered_map>
diff --git a/components/chatmessage.hpp b/components/chatmessage.hpp
index f319449..8b69117 100644
--- a/components/chatmessage.hpp
+++ b/components/chatmessage.hpp
@@ -1,6 +1,6 @@
#pragma once
#include <gtkmm.h>
-#include "../discord/discord.hpp"
+#include "discord/discord.hpp"
class ChatMessageItemContainer : public Gtk::Box {
public:
diff --git a/components/completer.cpp b/components/completer.cpp
index 258acb8..327ef95 100644
--- a/components/completer.cpp
+++ b/components/completer.cpp
@@ -1,7 +1,7 @@
#include <unordered_set>
#include "completer.hpp"
-#include "../abaddon.hpp"
-#include "../util.hpp"
+#include "abaddon.hpp"
+#include "util.hpp"
constexpr const int CompleterHeight = 150;
constexpr const int MaxCompleterEntries = 30;
diff --git a/components/completer.hpp b/components/completer.hpp
index a669824..6bd8be9 100644
--- a/components/completer.hpp
+++ b/components/completer.hpp
@@ -2,7 +2,7 @@
#include <gtkmm.h>
#include <functional>
#include "lazyimage.hpp"
-#include "../discord/snowflake.hpp"
+#include "discord/snowflake.hpp"
constexpr static int CompleterImageSize = 24;
diff --git a/components/friendslist.cpp b/components/friendslist.cpp
index ec78b57..3896f02 100644
--- a/components/friendslist.cpp
+++ b/components/friendslist.cpp
@@ -1,5 +1,5 @@
#include "friendslist.hpp"
-#include "../abaddon.hpp"
+#include "abaddon.hpp"
#include "lazyimage.hpp"
using namespace std::string_literals;
diff --git a/components/friendslist.hpp b/components/friendslist.hpp
index 0101db6..460ad32 100644
--- a/components/friendslist.hpp
+++ b/components/friendslist.hpp
@@ -1,6 +1,6 @@
#pragma once
#include <gtkmm.h>
-#include "../discord/objects.hpp"
+#include "discord/objects.hpp"
class FriendsListAddComponent : public Gtk::Box {
public:
diff --git a/components/lazyimage.cpp b/components/lazyimage.cpp
index 5574c6c..49bbdeb 100644
--- a/components/lazyimage.cpp
+++ b/components/lazyimage.cpp
@@ -1,5 +1,5 @@
#include "lazyimage.hpp"
-#include "../abaddon.hpp"
+#include "abaddon.hpp"
LazyImage::LazyImage(int w, int h, bool use_placeholder)
: m_width(w)
diff --git a/components/memberlist.cpp b/components/memberlist.cpp
index ffc210b..0c4d9bc 100644
--- a/components/memberlist.cpp
+++ b/components/memberlist.cpp
@@ -1,6 +1,6 @@
#include "memberlist.hpp"
-#include "../abaddon.hpp"
-#include "../util.hpp"
+#include "abaddon.hpp"
+#include "util.hpp"
#include "lazyimage.hpp"
#include "statusindicator.hpp"
diff --git a/components/memberlist.hpp b/components/memberlist.hpp
index 180e76d..60a25bc 100644
--- a/components/memberlist.hpp
+++ b/components/memberlist.hpp
@@ -3,7 +3,7 @@
#include <mutex>
#include <unordered_map>
#include <optional>
-#include "../discord/discord.hpp"
+#include "discord/discord.hpp"
class LazyImage;
class StatusIndicator;
diff --git a/components/ratelimitindicator.cpp b/components/ratelimitindicator.cpp
index fe187db..ac4ef4b 100644
--- a/components/ratelimitindicator.cpp
+++ b/components/ratelimitindicator.cpp
@@ -1,5 +1,5 @@
#include "ratelimitindicator.hpp"
-#include "../abaddon.hpp"
+#include "abaddon.hpp"
#include <filesystem>
RateLimitIndicator::RateLimitIndicator()
diff --git a/components/ratelimitindicator.hpp b/components/ratelimitindicator.hpp
index d6ada43..b4dbb69 100644
--- a/components/ratelimitindicator.hpp
+++ b/components/ratelimitindicator.hpp
@@ -2,7 +2,7 @@
#include <gtkmm.h>
#include <unordered_map>
#include <chrono>
-#include "../discord/message.hpp"
+#include "discord/message.hpp"
class RateLimitIndicator : public Gtk::Box {
public:
diff --git a/components/statusindicator.cpp b/components/statusindicator.cpp
index a0616c0..42eb170 100644
--- a/components/statusindicator.cpp
+++ b/components/statusindicator.cpp
@@ -1,5 +1,5 @@
#include "statusindicator.hpp"
-#include "../abaddon.hpp"
+#include "abaddon.hpp"
static const constexpr int Diameter = 8;
static const auto OnlineColor = Gdk::RGBA("#43B581");
diff --git a/components/statusindicator.hpp b/components/statusindicator.hpp
index 9949b0d..b2cf0bd 100644
--- a/components/statusindicator.hpp
+++ b/components/statusindicator.hpp
@@ -1,7 +1,7 @@
#pragma once
#include <gtkmm.h>
-#include "../discord/snowflake.hpp"
-#include "../discord/activity.hpp"
+#include "discord/snowflake.hpp"
+#include "discord/activity.hpp"
class StatusIndicator : public Gtk::Widget {
public: