CheeseBoard
A library for use with the CheeseBoard Cheddar platform
src
GfxSignalStrength.h
1
#pragma once
2
3
#include <Arduino.h>
4
#include <stdint.h>
5
#include "GfxItem.h"
6
11
class
GfxSignalStrength
:
public
GfxItem
{
12
public
:
13
GfxSignalStrength
();
14
void
setSignal(uint8_t percent);
15
void
draw
(uint16_t xOffset=0, uint16_t yOffset=0);
16
uint16_t
width
();
17
uint16_t
height
();
18
19
protected
:
20
String _text;
21
uint8_t _signal;
22
23
};
24
GfxItem
Definition:
GfxItem.h:5
GfxSignalStrength
Definition:
GfxSignalStrength.h:11
GfxSignalStrength::width
uint16_t width()
Definition:
GfxSignalStrength.cpp:20
GfxSignalStrength::height
uint16_t height()
Definition:
GfxSignalStrength.cpp:25
GfxSignalStrength::draw
void draw(uint16_t xOffset=0, uint16_t yOffset=0)
Definition:
GfxSignalStrength.cpp:10
Generated by
1.8.13