added missing tools
This commit is contained in:
1 parent
9afe83e68e
commit
534c172874
2 files changed
+45
No files matched your search
@@ -122,6 +122,9 @@ void sprite(Dpi::Canvas &canvas, int xDst, int yDst, const GraphicSetItem &item)
|
||||
|
||||
void frame(Dpi::Canvas &canvas, int x0, int y0, int x1, int y1, QColor cl0, QColor cl1);
|
||||
void rframe(Dpi::Canvas &canvas, int x0, int y0, int x1, int y1, QColor cl0, QColor cl1);
|
||||
// A "double line" bevel effect (one line in cl0, a second offset by one
|
||||
// pixel in cl1), e.g. used to separate a label from its value.
|
||||
void dLine(Dpi::Canvas &canvas, int x0, int x1, int y, QColor cl0, QColor cl1);
|
||||
void btnFrame(Dpi::Canvas &canvas, const QRect &rect, const Texture &texture);
|
||||
void editFrame(Dpi::Canvas &canvas, const QRect &rect, const Texture &texture);
|
||||
// Unimplemented in the original ScreenTools.pas too (body is commented out there).
|
||||
@@ -152,4 +155,8 @@ void imageOpCBC(Dpi::Bitmap &dst, Dpi::Bitmap &src, int xDst, int yDst, int xSrc
|
||||
int width, int height, int color0, int color2);
|
||||
void imageOpCCC(Dpi::Bitmap &bmp, int x, int y, int width, int height, int color0, int color1, int color2);
|
||||
|
||||
// ScreenTools.pas's TurnToYear(): maps a game turn to a calendar year
|
||||
// (negative = BC), using the same variable-length-era table as the original.
|
||||
int turnToYear(int turn);
|
||||
|
||||
} // namespace Cevo
|
||||
Reference in new issue
Block a user