diff options
| author | Crystalwarrior <varsash@gmail.com> | 2019-10-03 23:17:21 +0300 |
|---|---|---|
| committer | Crystalwarrior <varsash@gmail.com> | 2019-10-03 23:17:21 +0300 |
| commit | 9451822e0929643f638b3c79d4fd646df98b567a (patch) | |
| tree | f18b162136df795f36a318d8a2775d8cdacd75ac /include | |
| parent | cfc3312840ed9053dd1a8a292f3d0c1f818dc3a7 (diff) | |
Fix move func making characters slowly move to the left every frame on animated chars which are sized differently from viewport
Add a new get_qfont function
Fix message box font being different from every other font due to incorrect font loading scheme
Fix ui_evidence_save and ui_evidence_load tooltips being wrong
Diffstat (limited to 'include')
| -rw-r--r-- | include/courtroom.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/courtroom.h b/include/courtroom.h index f72e106..e800415 100644 --- a/include/courtroom.h +++ b/include/courtroom.h @@ -127,6 +127,9 @@ public: //sets font size based on theme ini files void set_font(QWidget *widget, QString class_name, QString p_identifier); + //Get the properly constructed font + QFont get_qfont(QString font_name, int f_pointsize); + //actual operation of setting the font on a widget void set_qfont(QWidget *widget, QString class_name, QFont font, QColor f_color = Qt::black, bool bold = false); |
