summaryrefslogtreecommitdiff
path: root/Libraries/LibGfx/Palette.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Libraries/LibGfx/Palette.cpp')
-rw-r--r--Libraries/LibGfx/Palette.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/Libraries/LibGfx/Palette.cpp b/Libraries/LibGfx/Palette.cpp
index 928387cb97..904b7722ab 100644
--- a/Libraries/LibGfx/Palette.cpp
+++ b/Libraries/LibGfx/Palette.cpp
@@ -24,6 +24,8 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#include <AK/Badge.h>
+#include <AK/SharedBuffer.h>
#include <LibGfx/Palette.h>
namespace Gfx {
@@ -73,4 +75,13 @@ void Palette::set_color(ColorRole role, Color color)
theme.color[(int)role] = color;
}
+PaletteImpl::~PaletteImpl()
+{
+}
+
+void PaletteImpl::replace_internal_buffer(Badge<GUI::Application>, SharedBuffer& buffer)
+{
+ m_theme_buffer = buffer;
+}
+
}