feat: port Printers app to MTK toolkit
This commit is contained in:
@@ -297,17 +297,8 @@ void wp_render() {
|
||||
|
||||
Color pageview_bg = wp->page_view_mode ? btn_active : btn_bg;
|
||||
c.fill_rounded_rect(WP_BTN_PAGEVIEW_X, 6, 24, 24, 3, pageview_bg);
|
||||
{
|
||||
// Draw a small page icon: rectangle with lines
|
||||
int px = WP_BTN_PAGEVIEW_X + 4;
|
||||
int py = 9;
|
||||
// Page outline
|
||||
c.rect(px, py, 14, 18, colors::TEXT_COLOR);
|
||||
// Lines inside page
|
||||
c.hline(px + 2, py + 4, 10, colors::TEXT_COLOR);
|
||||
c.hline(px + 2, py + 8, 10, colors::TEXT_COLOR);
|
||||
c.hline(px + 2, py + 12, 6, colors::TEXT_COLOR);
|
||||
}
|
||||
wp_draw_ui_icon_button(c, WP_BTN_PAGEVIEW_X, 6, 24, 24, g_icon_page_view, "\xA7",
|
||||
pageview_bg, colors::TEXT_COLOR);
|
||||
|
||||
c.hline(0, WP_TOOLBAR_H - 1, c.w, colors::BORDER);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user