Subversion Repositories DIN Is Noise

Rev

Rev 2009 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
1528 jag 1
/*
2
* label.h
2097 jag 3
* DIN Is Noise is copyright (c) 2006-2024 Jagannathan Sampath
1713 jag 4
* DIN Is Noise is released under GNU Public License 2.0
1528 jag 5
* For more information, please visit https://dinisnoise.org/
6
*/
7
 
8
#ifndef __label
9
#define __label
10
 
11
#include <string>
12
#include "widget.h"
13
 
14
struct label : widget {
15
 
16
  std::string text;
17
  void set_text (const std::string& txt);
18
 
19
  label (const std::string& t = "");
20
 
21
  void update ();
22
  void draw ();
23
 
24
};
25
 
26
void set_label (label& l, const char** lbls, int i);
27
 
28
#endif