mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-22 06:09:09 -04:00
first attempt at fixing statistics layout for high DPI screens, using the font metrics to determine the scaling ratio
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8553 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
da8b6cbae1
commit
7334e4d5de
5 changed files with 159 additions and 130 deletions
|
@ -32,7 +32,6 @@
|
|||
|
||||
#include <stdint.h>
|
||||
|
||||
#define HOR_SPC 2 /** Space between data points */
|
||||
#define SCALE_WIDTH 75 /** Width of the scale */
|
||||
#define MINUSER_SCALE 2000 /** 2000 users is the minimum scale */
|
||||
#define SCROLL_STEP 4 /** Horizontal change on graph update */
|
||||
|
@ -43,8 +42,6 @@
|
|||
#define RSDHT_COLOR Qt::magenta
|
||||
#define ALLDHT_COLOR Qt::yellow
|
||||
|
||||
#define FONT_SIZE 11
|
||||
|
||||
// This class provides a source value that the graph can retrieve on demand.
|
||||
// In order to use your own source, derive from RSGraphSource and overload the value() method.
|
||||
//
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue