[apps/code/varbox] Subtitles and basic items are displayed properly

This commit is contained in:
Léa Saviot
2020-04-03 17:52:15 +02:00
committed by Émilie Feral
parent 34a1a8e35f
commit 96d68d6b44
9 changed files with 39 additions and 18 deletions

View File

@@ -14,7 +14,7 @@ public:
TableCell(),
m_scriptNodeView()
{}
void setScriptNode(ScriptNode * node) { m_scriptNode = scriptNode; }
void setScriptNode(ScriptNode * node);
void setScriptStore(ScriptStore * scriptStore) { m_scriptNodeView.setScriptStore(scriptStore); }
/* TableCell */
@@ -37,7 +37,7 @@ protected:
m_scriptNode(nullptr),
m_scriptStore(nullptr)
{}
void setScriptNode(ScriptNode * node) { m_scriptNode = scriptNode; }
void setScriptNode(ScriptNode * node) { m_scriptNode = node; }
void setScriptStore(ScriptStore * scriptStore) { m_scriptStore = scriptStore; }
void drawRect(KDContext * ctx, KDRect rect) const override;
virtual KDSize minimalSizeForOptimalDisplay() const override;