aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ViewStyle.h
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2011-08-10 23:56:59 +1000
committernyamatongwe <devnull@localhost>2011-08-10 23:56:59 +1000
commit6860b289d19541ccb8d5be31c81c0f1aa992e9d7 (patch)
treea956b90c8d42a4f6041dce7251007f0b7e8e12d7 /src/ViewStyle.h
parent4b3344ecf4e02df4ad1530e4b46d477457d73f95 (diff)
downloadscintilla-mirror-6860b289d19541ccb8d5be31c81c0f1aa992e9d7.tar.gz
Implement 'technology' concept which will allow GDI and Direct2D/DirectWrite
to run at the same time for different windows and operations.
Diffstat (limited to 'src/ViewStyle.h')
-rw-r--r--src/ViewStyle.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ViewStyle.h b/src/ViewStyle.h
index b038a9b54..b15b9163c 100644
--- a/src/ViewStyle.h
+++ b/src/ViewStyle.h
@@ -48,7 +48,7 @@ public:
FontRealised *frNext;
FontRealised(const FontSpecification &fs);
virtual ~FontRealised();
- void Realise(Surface &surface, int zoomLevel);
+ void Realise(Surface &surface, int zoomLevel, int technology);
FontRealised *Find(const FontSpecification &fs);
void FindMaxAscentDescent(unsigned int &maxAscent, unsigned int &maxDescent);
};
@@ -67,6 +67,7 @@ public:
Style *styles;
LineMarker markers[MARKER_MAX + 1];
Indicator indicators[INDIC_MAX + 1];
+ int technology;
int lineHeight;
unsigned int maxAscent;
unsigned int maxDescent;