X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b0d0494ff5a441a73a1d5ec80148777c19df7201..65136283847d6fa6cae889d9f4748d1912a37f8d:/contrib/src/stc/ScintillaWX.h diff --git a/contrib/src/stc/ScintillaWX.h b/contrib/src/stc/ScintillaWX.h index d0d383d507..06b6fec310 100644 --- a/contrib/src/stc/ScintillaWX.h +++ b/contrib/src/stc/ScintillaWX.h @@ -99,6 +99,7 @@ public: virtual void Initialise(); virtual void Finalise(); virtual void StartDrag(); + virtual bool SetIdle(bool on); virtual void SetTicking(bool on); virtual void SetMouseCapture(bool on); virtual bool HaveMouseCapture(); @@ -142,7 +143,8 @@ public: void DoAddChar(int key); int DoKeyDown(int key, bool shift, bool ctrl, bool alt, bool meta, bool* consumed); void DoTick() { Tick(); } - + void DoOnIdle(wxIdleEvent& evt); + #if wxUSE_DRAG_AND_DROP bool DoDropText(long x, long y, const wxString& data); wxDragResult DoDragEnter(wxCoord x, wxCoord y, wxDragResult def); @@ -156,12 +158,14 @@ public: // helpers - void FullPaint(); + void FullPaint(wxDC *dc); bool CanPaste(); bool GetHideSelection() { return hideSelection; } void DoScrollToLine(int line); void DoScrollToColumn(int column); void ClipChildren(wxDC& dc, PRectangle rect); + void SetUseAntiAliasing(bool useAA); + bool GetUseAntiAliasing(); private: bool capturedMouse;