Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
proview
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Esteban Blanc
proview
Commits
53a3fc22
Commit
53a3fc22
authored
Nov 01, 2018
by
Christoffer Ackelman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
QT: Fixed glow text cursor.
parent
bba6e3e2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
6 deletions
+1
-6
xtt/lib/glow/qt/glow_draw_qt.cqt
xtt/lib/glow/qt/glow_draw_qt.cqt
+1
-6
No files found.
xtt/lib/glow/qt/glow_draw_qt.cqt
View file @
53a3fc22
...
@@ -201,11 +201,6 @@ static QPainter* get_painter(
...
@@ -201,11 +201,6 @@ static QPainter* get_painter(
}
}
}
}
static QPainter* get_painter(GlowDrawQt* draw_ctx, int painter_type, int size)
{
return get_painter(draw_ctx->m_wind->buffer, draw_ctx, painter_type, size);
}
static QColor glow_allocate_named_color(
static QColor glow_allocate_named_color(
GlowDrawQt* draw_ctx, const char* named_color)
GlowDrawQt* draw_ctx, const char* named_color)
{
{
...
@@ -1324,7 +1319,7 @@ int GlowDrawQt::text_cursor(GlowWind* wind, int x, int y, char* text, int len,
...
@@ -1324,7 +1319,7 @@ int GlowDrawQt::text_cursor(GlowWind* wind, int x, int y, char* text, int len,
QPainter* painter = get_painter(w->buffer, this, color, 1);
QPainter* painter = get_painter(w->buffer, this, color, 1);
if (w->clip_on) {
if (w->clip_on) {
set_clip(w,
get_painter(this, painter_type, idx)
);
set_clip(w,
painter
);
}
}
// debug_print("cursor %d,%d to %d,%d\n", x + width, y + descent, x + width, y - height + descent);
// debug_print("cursor %d,%d to %d,%d\n", x + width, y + descent, x + width, y - height + descent);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment