mirror of
https://github.com/Swordfish90/cool-retro-term.git
synced 2025-09-25 06:32:43 +01:00
New fonts and font management improved.
This commit is contained in:
@@ -155,7 +155,7 @@ KTerminalDisplay::KTerminalDisplay(QQuickItem *parent) :
|
||||
,_isFixedSize(false)
|
||||
,_resizeTimer(0)
|
||||
,_flowControlWarningEnabled(false)
|
||||
,_lineSpacing(0)
|
||||
,_lineSpacing(2)
|
||||
,_colorsInverted(false)
|
||||
,_cursorShape(BlockCursor)
|
||||
,m_session(0)
|
||||
|
@@ -70,6 +70,7 @@ class KONSOLEPRIVATE_EXPORT KTerminalDisplay : public QQuickPaintedItem
|
||||
Q_PROPERTY(bool ShowIMEOnClick READ autoVKB WRITE setAutoVKB NOTIFY changedAutoVKB)
|
||||
|
||||
|
||||
|
||||
public:
|
||||
KTerminalDisplay(QQuickItem *parent = 0);
|
||||
~KTerminalDisplay();
|
||||
@@ -95,7 +96,7 @@ public:
|
||||
/** Specifies whether or not text can blink. */
|
||||
void setBlinkingTextEnabled(bool blink);
|
||||
|
||||
void setLineSpacing(uint);
|
||||
Q_INVOKABLE void setLineSpacing(uint);
|
||||
uint lineSpacing() const;
|
||||
|
||||
void emitSelection(bool useXselection,bool appendReturn);
|
||||
|
@@ -165,5 +165,11 @@ Module {
|
||||
Parameter { name: "session"; type: "KSession"; isPointer: true }
|
||||
}
|
||||
Method { name: "getSession"; type: "KSession*" }
|
||||
|
||||
//My additions
|
||||
Method {
|
||||
name: "setLineSpacing"
|
||||
Parameter { name: "i"; type: "uint"}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user