aboutsummaryrefslogtreecommitdiff
path: root/include/lineview.h
blob: 0015450259d26b914882debec0974bb222f29167 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#ifndef NEWSBOAT_LINEVIEW_H_
#define NEWSBOAT_LINEVIEW_H_

#include <string>

#include "stflpp.h"

namespace newsboat {

class LineView {
public:
	LineView(Stfl::Form& form, const std::string& name);

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

	void show();
	void hide();

private:
	Stfl::Form& f;
	const std::string name;
};

} // namespace newsboat

#endif /* NEWSBOAT_LINEVIEW_H_ */