- Comence a implementar el selector de plantilles
This commit is contained in:
@@ -56,13 +56,13 @@ namespace draw
|
||||
|
||||
void clear(const uint8_t val)
|
||||
{
|
||||
if (!stencil) return;
|
||||
if (!enabled || !stencil) return;
|
||||
memset(stencil->pixels, val, stencil->w*stencil->h);
|
||||
}
|
||||
|
||||
void set(const uint8_t val)
|
||||
{
|
||||
if (!stencil) return;
|
||||
if (!enabled || !stencil) return;
|
||||
value = val;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user