src/widgets/colorindexinput.h

Sun, 09 Apr 2023 01:12:00 +0300

author
Teemu Piippo <teemu.s.piippo@gmail.com>
date
Sun, 09 Apr 2023 01:12:00 +0300
changeset 359
73b6c478378e
parent 264
76a025db4948
permissions
-rw-r--r--

The renderer now centers on the grid origin, not the part origin

#pragma once
#include "src/colors.h"

class ColorIndexInput : public QWidget
{
	Q_OBJECT
	const ColorTable* colorTable = nullptr;
	class Ui_ColorIndexInput& ui;
public:
	ColorIndexInput(QWidget *parent = nullptr);
	~ColorIndexInput();
	ldraw::Color selectedColor() const;
	void setSelectedColor(ldraw::Color color);
Q_SIGNALS:
	void colorChanged(ldraw::Color color);
private:
};

mercurial