aboutsummaryrefslogtreecommitdiff
path: root/src/WebPagePreview.cpp
blob: 3922e73368fd1a3724d6c9beb4274041336348c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#include "../include/WebPagePreview.hpp"
#include "../include/ResourceCache.hpp"

namespace dchat
{
    WebPagePreview::WebPagePreview(const sf::String &_title, const sf::String &_description) : 
        title(_title, ResourceCache::getFont("fonts/Roboto-Regular.ttf"), 10, 0),
        description(_description, ResourceCache::getFont("fonts/Roboto-Regular.ttf"), 10, 0)
    {
        
    }
}