AWind
Label.h
1 #pragma once
2 /*
3  AWind.h - Arduino window library support for Color TFT LCD Boards
4  Copyright (C)2015 Andrei Degtiarev. All right reserved
5 
6 
7  You can always find the latest version of the library at
8  https://github.com/AndreiDegtiarev/AWind
9 
10 
11  This library is free software; you can redistribute it and/or
12  modify it under the terms of the CC BY-NC-SA 3.0 license.
13  Please see the included documents for further information.
14 
15  Commercial use of this library requires you to buy a license that
16  will allow commercial use. This includes using the library,
17  modified or not, as a tool to sell products.
18 
19  The license applies to all part of the library including the
20  examples and tools supplied with the library.
21 */
22 #include "TextBoxString.h"
24 class Label : public TextBoxTString<const __FlashStringHelper>
25 {
26 public:
28 
35  Label(int left,int top,int width,int height,const __FlashStringHelper * text):TextBoxTString<const __FlashStringHelper>(left,top,width,height,text,F("Label"))
36  {
37  SetFont(SmallFont);
38  }
39 };
void SetFont(uint8_t *font)
Sets font.
Definition: TextBox.h:64
Text box for string. It is templat class and can be used for differnt type of string (see bellow type...
Definition: TextBoxString.h:25
Label(int left, int top, int width, int height, const __FlashStringHelper *text)
Constructor.
Definition: Label.h:35
Implement Label control.
Definition: Label.h:24