aboutsummaryrefslogtreecommitdiff
path: root/src/WebPagePreview.cpp
blob: c7b3e7e90a1b592a28a00a5ef9f0eda3f739717a (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/Nunito-Regular.ttf"), 10, 0),
        description(_description, ResourceCache::getFont("fonts/Nunito-Regular.ttf"), 10, 0)
    {
        
    }
}