move blueprints out of the sidebar into Ctrl+C / Ctrl+V dialogs
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
#include <QColor>
|
||||
#include <QFont>
|
||||
#include <QPixmap>
|
||||
#include <QSize>
|
||||
#include <QString>
|
||||
|
||||
// Renders `text` followed by `icon` to its right, vertically centered, onto a
|
||||
@@ -15,6 +16,11 @@
|
||||
QPixmap renderCaptionWithIcon(const QString& text, const QPixmap& icon,
|
||||
const QFont& font, const QColor& textColor);
|
||||
|
||||
// A pixmap's size in device-independent pixels. The pixmaps composed by
|
||||
// renderCaptionWithIcon and its callers are rasterized at the device pixel ratio, so
|
||||
// their raw size is not the size to lay them out at.
|
||||
QSize getLogicalSize(const QPixmap& pixmap);
|
||||
|
||||
// Item id of the building blocks resource, whose icon stands in for the "Blocks"
|
||||
// word wherever a cost or stock is captioned (REQ-UI-BLOCKS-ICON, REQ-UI-BUILD-COST,
|
||||
// REQ-UI-EXPAND-BUTTON). It lives next to the caption helper because every caller of
|
||||
|
||||
Reference in New Issue
Block a user