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

namespace dchat
{
    SfmlWebPagePreview::SfmlWebPagePreview(const std::string &_title, const std::string &_description) : 
        title(_title, ResourceCache::getFont("fonts/Nunito-Regular.ttf"), 18.0f * Settings::getScaling(), 0),
        description(_description, ResourceCache::getFont("fonts/Nunito-Regular.ttf"), 18.0f * Settings::getScaling(), 0)
    {
        
    }
}