CHintbox: use default text frame depends from default height and width

Origin commit data
------------------
Commit: b9d44a3fc8
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-10-09 (Sun, 09 Oct 2016)
This commit is contained in:
2016-10-09 17:29:59 +02:00
parent ba90b113f0
commit 3c1dc9d123

View File

@@ -37,7 +37,7 @@
#define HINTBOX_MAX_HEIGHT 420
#define HINTBOX_DEFAULT_TIMEOUT 5
//frame around hint container as indent
#define W_FRAME 15
#define W_FRAME std::max(HINTBOX_MIN_WIDTH, HINTBOX_MIN_HEIGHT) * 2/100
//frame color around hint/message box
#define HINTBOX_DEFAULT_FRAME_COLOR COL_FRAME