[DEV] better viewer

This commit is contained in:
2015-07-01 22:00:09 +02:00
parent 0692b6f8bc
commit 3ce856c1c6
5 changed files with 46 additions and 16 deletions

View File

@@ -30,13 +30,13 @@ void appl::Windows::init() {
setTitle("example 001_HelloWord");
std::string composition = std::string("");
composition += "<sizer mode='vert'>\n";
composition += " <sizer mode='hori'>\n";
composition += " <button name='bt-record'>\n";
composition += " <sizer mode='hori' lock='true' min-size='10,10%'>\n";
composition += " <button name='bt-record' expend='true' fill='true'>\n";
composition += " <label>\n";
composition += " Start/Stop record\n";
composition += " </label>\n";
composition += " </button>\n";
composition += " <button name='bt-generate'>\n";
composition += " <button name='bt-generate' expend='true' fill='true'>\n";
composition += " <label>\n";
composition += " Start/Stop Generate\n";
composition += " </label>\n";

View File

@@ -41,12 +41,11 @@ class MainApplication : public ewol::context::Application {
audio::river::initString(configurationRiver);
// TODO : Remove this : Move if in the windows properties
_context.setSize(vec2(800, 600));
// select internal data for font ...
_context.getFontDefault().setUseExternal(true);
_context.getFontDefault().set("FreeSerif;DejaVuSansMono", 19);
_context.getFontDefault().setSize(19);
audio::river::widget::TemporalViewer::createManagerWidget(_context.getWidgetManager());