#pragma once #include "image.qh" CLASS(XonoticScreenshotImage, XonoticImage) METHOD(XonoticScreenshotImage, configureXonoticScreenshotImage, void(entity)); METHOD(XonoticScreenshotImage, load, void(entity, string)); METHOD(XonoticScreenshotImage, draw, void(entity)); ATTRIB(XonoticScreenshotImage, focusable, float, 1); // mousePress and mouseDrag work only if focusable is set METHOD(XonoticScreenshotImage, mousePress, bool(XonoticScreenshotImage this, vector pos)); METHOD(XonoticScreenshotImage, mouseDrag, float(entity, vector)); METHOD(XonoticScreenshotImage, mouseMove, float(entity, vector)); METHOD(XonoticScreenshotImage, resizeNotify, void(entity, vector, vector, vector, vector)); ATTRIB(XonoticScreenshotImage, realFontSize, vector, '0 0 0'); ATTRIB(XonoticScreenshotImage, fontSize, float, SKINFONTSIZE_NORMAL); ATTRIB(XonoticScreenshotImage, showTitle, float, 1); ATTRIB(XonoticScreenshotImage, screenshotTime, float, 0); ATTRIB(XonoticScreenshotImage, screenshotTitle, string); ENDCLASS(XonoticScreenshotImage) entity makeXonoticScreenshotImage();