Remove Ion::Charset

This commit is contained in:
Léa Saviot
2019-01-11 17:37:23 +01:00
committed by Émilie Feral
parent f576e31ff1
commit 65e5adafac
83 changed files with 453 additions and 470 deletions

View File

@@ -76,7 +76,7 @@ SolutionsController::SolutionsController(Responder * parentResponder, EquationSt
m_contentView(this)
{
m_delta2Layout = HorizontalLayout::Builder(VerticalOffsetLayout::Builder(CodePointLayout::Builder('2', KDFont::SmallFont), VerticalOffsetLayoutNode::Type::Superscript), LayoutHelper::String("-4ac", 4, KDFont::SmallFont));
char deltaB[] = {Ion::Charset::CapitalDelta, '=', 'b'};
const char * deltaB = "Δ=b";
static_cast<HorizontalLayout&>(m_delta2Layout).addOrMergeChildAtIndex(LayoutHelper::String(deltaB, 3, KDFont::SmallFont), 0, false);
for (int i = 0; i < EquationStore::k_maxNumberOfExactSolutions; i++) {
m_exactValueCells[i].setParentResponder(m_contentView.selectableTableView());