Subversion Repositories DIN Is Noise

Rev

Rev 2097 | Blame | Compare with Previous | Last modification | View Log | RSS feed

/*
* label.h
* DIN Is Noise is copyright (c) 2006-2025 Jagannathan Sampath
* DIN Is Noise is released under GNU Public License 2.0
* For more information, please visit https://dinisnoise.org/
*/


#ifndef __label
#define __label

#include <string>
#include "widget.h"

struct label : widget {

  std::string text;
  void set_text (const std::string& txt);

  label (const std::string& t = "");

  void update ();
  void draw ();

};

void set_label (label& l, const char** lbls, int i);

#endif