[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/macgui.h,v [EMACS_22_BASE]
From: |
YAMAMOTO Mitsuharu |
Subject: |
[Emacs-diffs] Changes to emacs/src/macgui.h,v [EMACS_22_BASE] |
Date: |
Sat, 19 Apr 2008 01:24:57 +0000 |
CVSROOT: /sources/emacs
Module name: emacs
Branch: EMACS_22_BASE
Changes by: YAMAMOTO Mitsuharu <mituharu> 08/04/19 01:24:57
Index: macgui.h
===================================================================
RCS file: /sources/emacs/emacs/src/macgui.h,v
retrieving revision 1.37.2.4
retrieving revision 1.37.2.5
diff -u -b -r1.37.2.4 -r1.37.2.5
--- macgui.h 6 Apr 2008 01:58:05 -0000 1.37.2.4
+++ macgui.h 19 Apr 2008 01:24:57 -0000 1.37.2.5
@@ -124,6 +124,10 @@
#endif
#endif
+#ifndef CGFLOAT_DEFINED
+typedef float CGFloat;
+#endif
+
typedef WindowRef Window;
#if TARGET_API_MAC_CARBON
typedef ScrapRef Selection;
@@ -147,6 +151,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