Update to the new drawing mode
This commit is contained in:
parent
d1708610c7
commit
ae2bea1918
@ -152,14 +152,14 @@ void CodeView::CalculateMaxSize(void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void CodeView::OnDraw(void)
|
void CodeView::OnDraw(ewol::DrawProperty& displayProp)
|
||||||
{
|
{
|
||||||
m_OObjectsColored[ m_currentDrawId].Draw();
|
m_OObjectsColored[ m_currentDrawId].Draw();
|
||||||
m_OObjectTextNormal[ m_currentDrawId].Draw();
|
m_OObjectTextNormal[ m_currentDrawId].Draw();
|
||||||
m_OObjectTextBold[ m_currentDrawId].Draw();
|
m_OObjectTextBold[ m_currentDrawId].Draw();
|
||||||
m_OObjectTextItalic[ m_currentDrawId].Draw();
|
m_OObjectTextItalic[ m_currentDrawId].Draw();
|
||||||
m_OObjectTextBoldItalic[m_currentDrawId].Draw();
|
m_OObjectTextBoldItalic[m_currentDrawId].Draw();
|
||||||
WidgetScrooled::OnDraw();
|
WidgetScrooled::OnDraw(displayProp);
|
||||||
}
|
}
|
||||||
|
|
||||||
void CodeView::OnRegenerateDisplay(void)
|
void CodeView::OnRegenerateDisplay(void)
|
||||||
|
@ -113,7 +113,7 @@ class CodeView :public ewol::WidgetScrooled
|
|||||||
private:
|
private:
|
||||||
void CalculateMaxSize(void);
|
void CalculateMaxSize(void);
|
||||||
protected:
|
protected:
|
||||||
virtual void OnDraw(void);
|
virtual void OnDraw(ewol::DrawProperty& displayProp);
|
||||||
};
|
};
|
||||||
|
|
||||||
#define EDN_CAST_CODE_VIEW(curentPointer) EWOL_CAST(TYPE_EOBJECT_EDN_CODE_VIEW,CodeView,curentPointer)
|
#define EDN_CAST_CODE_VIEW(curentPointer) EWOL_CAST(TYPE_EOBJECT_EDN_CODE_VIEW,CodeView,curentPointer)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user