Blame c++/freetype/src/freetypeview.h

b8976b
#ifndef FREETYPEVIEW_H
b8976b
#define FREETYPEVIEW_H
b8976b
b8976b
#include "view.h"
b8976b
b8976b
class FreeTypeView: public View {
b8976b
public:
b8976b
	class Params {
b8976b
	public:
b8976b
		std::string family;
b8976b
		bool bold;
b8976b
		bool italic;
b8976b
		Real size;
b8976b
b8976b
		Vector2 position;
b8976b
		Color color;
b8976b
b8976b
		std::string text;
b8976b
b8976b
		Params(): bold(), italic(), size() { }
b8976b
	};
b8976b
	
b8976b
	Params params;
b8976b
	Cairo::RefPtr<cairo::imagesurface> surface;</cairo::imagesurface>
b8976b
	
b8976b
	FreeTypeView();
b8976b
	~FreeTypeView();
b8976b
	
b8976b
	bool on_timeout();
b8976b
	
b8976b
	void update_surface();
b8976b
	void on_draw_view(const Cairo::RefPtr<cairo::context> &context);</cairo::context>
b8976b
};
b8976b
b8976b
#endif
b8976b