~unity-team/nux/nux.armel-fixes

« back to all changes in this revision

Viewing changes to Nux/TextEntry.h

  • Committer: Tarmac
  • Author(s): Thomas Moenicke
  • Date: 2012-10-15 15:56:23 UTC
  • mfrom: (688.1.1 nux)
  • Revision ID: tarmac-20121015155623-ur12fkmf7y2ik1od
TextEntry: as Draw(..) is virtual, DrawText() should be virtual as well. Approved by Thomas Moenicke, Nicolas d'Offay.

Show diffs side-by-side

added added

removed removed

Lines of Context:
279
279
    /** Draw the Cursor to the canvas */
280
280
    void DrawCursor(CairoGraphics* canvas);
281
281
    /** Draw the text to the canvas */
282
 
    void DrawText(CairoGraphics* canvas);
 
282
    virtual void DrawText(CairoGraphics* canvas);
283
283
 
284
284
    void GetCursorRects(Rect* strong, Rect* weak);
285
285