Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Utilities
Konsole
Commits
b6e85177
Commit
b6e85177
authored
Oct 02, 2020
by
Gustavo Carneiro
Committed by
Kurt Hindenburg
Oct 07, 2020
Browse files
Remove function prototypes.
parent
68ab8f55
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/terminalDisplay/TerminalDisplay.h
View file @
b6e85177
...
...
@@ -656,50 +656,6 @@ private Q_SLOTS:
private:
Q_DISABLE_COPY
(
TerminalDisplay
)
// -- Drawing helpers --
// divides the part of the display specified by 'rect' into
// fragments according to their colors and styles and calls
// drawTextFragment() or drawPrinterFriendlyTextFragment()
// to draw the fragments
void
drawContents
(
QPainter
&
painter
,
const
QRect
&
rect
);
// draw a transparent rectangle over the line of the current match
void
drawCurrentResultRect
(
QPainter
&
painter
);
// draw a thin highlight on the left of the screen for lines that have been scrolled into view
void
highlightScrolledLines
(
QPainter
&
painter
);
// compute which region need to be repainted for scrolled lines highlight
QRegion
highlightScrolledLinesRegion
(
bool
nothingChanged
);
// draws a section of text, all the text in this section
// has a common color and style
void
drawTextFragment
(
QPainter
&
painter
,
const
QRect
&
rect
,
const
QString
&
text
,
const
Character
*
style
);
void
drawPrinterFriendlyTextFragment
(
QPainter
&
painter
,
const
QRect
&
rect
,
const
QString
&
text
,
const
Character
*
style
);
// draws the background for a text fragment
// if useOpacitySetting is true then the color's alpha value will be set to
// the display's transparency (set with setOpacity()), otherwise the background
// will be drawn fully opaque
void
drawBackground
(
QPainter
&
painter
,
const
QRect
&
rect
,
const
QColor
&
backgroundColor
,
bool
useOpacitySetting
);
// draws the cursor character
void
drawCursor
(
QPainter
&
painter
,
const
QRect
&
rect
,
const
QColor
&
foregroundColor
,
const
QColor
&
backgroundColor
,
QColor
&
characterColor
);
// draws the characters or line graphics in a text fragment
void
drawCharacters
(
QPainter
&
painter
,
const
QRect
&
rect
,
const
QString
&
text
,
const
Character
*
style
,
const
QColor
&
characterColor
);
// draws a string of line graphics
void
drawLineCharString
(
QPainter
&
painter
,
int
x
,
int
y
,
const
QString
&
str
,
const
Character
*
attributes
);
// draws the preedit string for input methods
void
drawInputMethodPreeditString
(
QPainter
&
painter
,
const
QRect
&
rect
);
// --
// the area where the preedit string for input methods will be draw
QRect
preeditRect
()
const
;
...
...
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