[apps/graph] Wrap in namespace Graph

Change-Id: I08b37438f42749ff86e105770cd5aa566f84a237
This commit is contained in:
Émilie Feral
2016-10-13 16:06:00 +02:00
parent fef2e3ae68
commit 96a9ac3a9c
34 changed files with 205 additions and 90 deletions

View File

@@ -1,5 +1,7 @@
#include "function_expression_view.h"
namespace Graph {
FunctionExpressionView::FunctionExpressionView() :
FunctionCell()
{
@@ -17,3 +19,5 @@ void FunctionExpressionView::drawRect(KDContext * ctx, KDRect rect) const {
KDPoint origin(0, 0.5f*(m_frame.height() - expressionSize.height()));
m_function->layout()->draw(ctx, origin, text, background);
}
}