mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 01:37:35 +00:00
GTextEditor: Improvements to cursor rendering.
The view now scrolls along with you as you move the cursor around.
This commit is contained in:
parent
dff57909a7
commit
1ac71d1fb1
4 changed files with 31 additions and 27 deletions
|
@ -52,6 +52,8 @@ public:
|
|||
void translate(int dx, int dy) { m_translation.move_by(dx, dy); }
|
||||
void translate(const Point& delta) { m_translation.move_by(delta); }
|
||||
|
||||
Point translation() const { return m_translation; }
|
||||
|
||||
GraphicsBitmap* target() { return m_target.ptr(); }
|
||||
|
||||
private:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue