[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/macgui.h,v
From: |
Miles Bader |
Subject: |
[Emacs-diffs] Changes to emacs/src/macgui.h,v |
Date: |
Wed, 23 Apr 2008 05:55:45 +0000 |
CVSROOT: /cvsroot/emacs
Module name: emacs
Changes by: Miles Bader <miles> 08/04/23 05:55:42
Index: src/macgui.h
===================================================================
RCS file: /cvsroot/emacs/emacs/src/macgui.h,v
retrieving revision 1.44
retrieving revision 1.45
diff -u -b -r1.44 -r1.45
--- src/macgui.h 18 Apr 2008 02:56:42 -0000 1.44
+++ src/macgui.h 23 Apr 2008 05:55:34 -0000 1.45
@@ -126,6 +126,10 @@
#endif
#endif
+#ifndef CGFLOAT_DEFINED
+typedef float CGFloat;
+#endif
+
typedef WindowRef Window;
#if TARGET_API_MAC_CARBON
typedef ScrapRef Selection;
@@ -149,6 +153,7 @@
#define mac_size_window SizeWindow
#define mac_get_global_mouse GetGlobalMouse
#define mac_is_window_toolbar_visible IsWindowToolbarVisible
+#define mac_rect_make(f, x, y, w, h) CGRectMake (x, y, w, h)
typedef GWorldPtr Pixmap;
#define Cursor ThemeCursor