aboutsummaryrefslogtreecommitdiff
path: root/src/textadept.h
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2008-09-19 23:51:01 -0400
committermitchell <70453897+667e-11@users.noreply.github.com>2008-09-19 23:51:01 -0400
commit8c86c21b2fcd2c62a1f70b6d553983991a066889 (patch)
tree71d9aceafa42ea1b988527f34e1994a143ab4916 /src/textadept.h
parent8ae92281275204bcb25114ddcc169981ef9b45ed (diff)
downloadtextadept-8c86c21b2fcd2c62a1f70b6d553983991a066889.tar.gz
textadept-8c86c21b2fcd2c62a1f70b6d553983991a066889.zip
Added preliminary support for Textadept on Windows.
Diffstat (limited to 'src/textadept.h')
-rw-r--r--src/textadept.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/textadept.h b/src/textadept.h
index 8c858142..395a462f 100644
--- a/src/textadept.h
+++ b/src/textadept.h
@@ -26,13 +26,21 @@ extern GtkWidget
extern GtkEntryCompletion *command_entry_completion;
extern GtkTreeStore *cec_store, *pm_store;
extern lua_State *lua;
+#ifndef WIN32
static const char *textadept_home = "/usr/share/textadept/";
+#else
+static const char *textadept_home = "C:\\Program Files\\textadept";
+#endif
static long SS(ScintillaObject *sci, unsigned int msg, unsigned long wParam=0,
long lParam=0) {
return scintilla_send_message(sci, msg, wParam, lParam);
}
+#ifdef WIN32
+#define bool gboolean
+#endif
+
// textadept.c
void create_ui();
GtkWidget* new_scintilla_window(sptr_t default_id=NULL);