/*
 * Xournal++
 *
 * A color to select in the toolbar
 *
 * @author Xournal++ Team
 * https://github.com/xournalpp/xournalpp
 *
 * @license GNU GPLv2 or later
 */

#pragma once

#include <XournalType.h>

class XojColor
{
public:
	XojColor(int color, string name);
	virtual ~XojColor();

public:
	int getColor();
	string getName();

private:
	XOJ_TYPE_ATTRIB;

	int color;
	// the localized name of the color
	string name;
};
