aboutsummaryrefslogtreecommitdiffhomepage
path: root/win32/SurfaceGDI.h
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2025-03-20 16:46:11 +1100
committerNeil <nyamatongwe@gmail.com>2025-03-20 16:46:11 +1100
commit2f542786fd95e7bbce6c689934cb4988aa3fa1df (patch)
treed2d41c023eae2a6d3b13cf1450e9ba59e55920c5 /win32/SurfaceGDI.h
parentcb342d444c6c13671a5c1832d1723c073eca0a37 (diff)
downloadscintilla-mirror-2f542786fd95e7bbce6c689934cb4988aa3fa1df.tar.gz
Move SurfaceGDI, SurfaceD2D, ListBox, and associated code out of PlatWin.cxx to
new files SurfaceGDI.cxx, SurfaceD2D.cxx, and ListBox.cxx + associated headers.
Diffstat (limited to 'win32/SurfaceGDI.h')
-rw-r--r--win32/SurfaceGDI.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/win32/SurfaceGDI.h b/win32/SurfaceGDI.h
new file mode 100644
index 000000000..990b052fc
--- /dev/null
+++ b/win32/SurfaceGDI.h
@@ -0,0 +1,18 @@
+// Scintilla source code edit control
+/** @file SurfaceGDI.h
+ ** Definitions for drawing to GDI on Windows.
+ **/
+// Copyright 2025 by Neil Hodgson <neilh@scintilla.org>
+// The License.txt file describes the conditions under which this software may be distributed.
+
+#ifndef SURFACEGDI_H
+#define SURFACEGDI_H
+
+namespace Scintilla::Internal {
+
+std::shared_ptr<Font> FontGDI_Allocate(const FontParameters &fp);
+std::unique_ptr<Surface> SurfaceGDI_Allocate();
+
+}
+
+#endif