Update to the new drawing mode

This commit is contained in:
Edouard Dupin 2012-07-19 16:54:44 +02:00
parent d1708610c7
commit ae2bea1918
2 changed files with 3 additions and 3 deletions

View File

@ -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)

View File

@ -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)