stopwatch opt (#2578)

* stopwatch opt

* comments

* format

* fxi ms display when user tune display level
This commit is contained in:
sommermorgentraum
2025-03-21 10:34:10 +08:00
committed by GitHub
parent 4ecc9d04fe
commit 0ce6ea8318
6 changed files with 283 additions and 22 deletions
+2 -1
View File
@@ -1,5 +1,6 @@
/*
* Copyright (C) 2014 Jared Boone, ShareBrained Technology, Inc.
* copyleft Mr. Robot
*
* This file is part of PortaPack.
*
@@ -69,7 +70,7 @@ class Painter {
Painter(const Painter&) = delete;
Painter(Painter&&) = delete;
int draw_char(Point p, const Style& style, char c);
int draw_char(Point p, const Style& style, char c, uint8_t zoom_factor = 1);
int draw_string(Point p, const Style& style, std::string_view text);
int draw_string(Point p, const Font& font, Color foreground, Color background, std::string_view text);