projects
/
claws.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
update copyright year
[claws.git]
/
src
/
plugins
/
litehtml_viewer
/
litehtml
/
el_title.cpp
1
#include "html.h"
2
#include "el_title.h"
3
#include "document.h"
4
5
litehtml::el_title::el_title(const std::shared_ptr<litehtml::document>& doc) : litehtml::html_tag(doc)
6
{
7
8
}
9
10
litehtml::el_title::~el_title()
11
{
12
13
}
14
15
void litehtml::el_title::parse_attributes()
16
{
17
tstring text;
18
get_text(text);
19
get_document()->container()->set_caption(text.c_str());
20
}