summaryrefslogtreecommitdiff
path: root/desktop/browser_history.h
diff options
context:
space:
mode:
authorMichael Drake <michael.drake@codethink.co.uk>2019-08-02 21:23:06 +0100
committerMichael Drake <michael.drake@codethink.co.uk>2019-08-02 21:23:06 +0100
commit813a284e9e4fe4f4b1482de18488414636abad2b (patch)
treeab35ac40c5247d3baad9263cc9eae51faa800c6d /desktop/browser_history.h
parentab03b204ba42e79dd5047ffb2867043495a8b802 (diff)
downloadnetsurf-813a284e9e4fe4f4b1482de18488414636abad2b.tar.gz
netsurf-813a284e9e4fe4f4b1482de18488414636abad2b.tar.bz2
Local history: Consolidate thumbnail dimensions.
Diffstat (limited to 'desktop/browser_history.h')
-rw-r--r--desktop/browser_history.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/desktop/browser_history.h b/desktop/browser_history.h
index 9b6f1fd42..06041ebf4 100644
--- a/desktop/browser_history.h
+++ b/desktop/browser_history.h
@@ -35,6 +35,17 @@
#include "utils/errors.h"
+#include "content/handlers/css/utils.h"
+
+#define LOCAL_HISTORY_WIDTH \
+ (FIXTOINT(nscss_pixels_css_to_physical(INTTOFIX(116))))
+#define LOCAL_HISTORY_HEIGHT \
+ (FIXTOINT(nscss_pixels_css_to_physical(INTTOFIX(100))))
+#define LOCAL_HISTORY_RIGHT_MARGIN \
+ (FIXTOINT(nscss_pixels_css_to_physical(INTTOFIX(50))))
+#define LOCAL_HISTORY_BOTTOM_MARGIN \
+ (FIXTOINT(nscss_pixels_css_to_physical(INTTOFIX(30))))
+
struct browser_window;
struct history_entry;
struct bitmap;