rcbench
Servo and ESC test bench: panel, IOmcu and shared C
Loading...
Searching...
No Matches
ui_watermark.h File Reference

The SIMULATION watermark: the mark that the numbers behind it are modelled. More...

#include "gfx.h"

Go to the source code of this file.

Functions

void ui_watermark (gfx_canvas_t *c)
void ui_watermark_invalidate (void)

Detailed Description

The SIMULATION watermark: the mark that the numbers behind it are modelled.

It is written across the whole screen, corner to corner, at 15% opacity: readable through, and not croppable out of a photograph. A caption in a corner would not stop a simulated reading being quoted as a measured one.

SPDX-License-Identifier: MIT

Function Documentation

◆ ui_watermark()

void ui_watermark ( gfx_canvas_t * c)

Draw "SIMULATION" across the whole canvas, blended over what is there.

◆ ui_watermark_invalidate()

void ui_watermark_invalidate ( void )

Drop the cached stencil, so the next call rebuilds it.