comparison dwt/internal/BidiUtil.d @ 128:07399639c0c8

Added DWT extension to dwt.widgets.MessageBox
author Jacob Carlborg <doob@me.com>
date Sat, 17 Jan 2009 16:26:49 +0100
parents d8635bb48c7c
children
comparison
equal deleted inserted replaced
127:8086e7b181a3 128:07399639c0c8
11 * Port to the D programming language: 11 * Port to the D programming language:
12 * Jacob Carlborg <doob@me.com> 12 * Jacob Carlborg <doob@me.com>
13 *******************************************************************************/ 13 *******************************************************************************/
14 module dwt.internal.BidiUtil; 14 module dwt.internal.BidiUtil;
15 15
16 import dwt.dwthelper.Runnable;
17 import dwt.dwthelper.utils; 16 import dwt.dwthelper.utils;
18 import dwt.graphics.GC; 17 import dwt.graphics.GC;
19 import dwt.widgets.Control; 18 import dwt.widgets.Control;
19
20 import objc = dwt.internal.objc.runtime;
20 21
21 /* 22 /*
22 * This class is supplied so that the StyledText code that supports bidi text (supported 23 * This class is supplied so that the StyledText code that supports bidi text (supported
23 * for win platforms) is not platform dependent. Bidi text is not implemented on 24 * for win platforms) is not platform dependent. Bidi text is not implemented on
24 * emulated platforms. 25 * emulated platforms.
45 public static const int GLYPHSHAPE = 0; 46 public static const int GLYPHSHAPE = 0;
46 47
47 /* 48 /*
48 * Not implemented. 49 * Not implemented.
49 */ 50 */
50 public static void addLanguageListener(int /*long*/ hwnd, Runnable runnable) { 51 public static void addLanguageListener(objc.id hwnd, Runnable runnable) {
51 } 52 }
52 public static void addLanguageListener (Control control, Runnable runnable) { 53 public static void addLanguageListener (Control control, Runnable runnable) {
53 } 54 }
54 /* 55 /*
55 * Not implemented. 56 * Not implemented.
96 return 0; 97 return 0;
97 } 98 }
98 /* 99 /*
99 * Not implemented. 100 * Not implemented.
100 */ 101 */
101 public static void removeLanguageListener(int /*long*/ hwnd) { 102 public static void removeLanguageListener(objc.id hwnd) {
102 } 103 }
103 public static void removeLanguageListener (Control control) { 104 public static void removeLanguageListener (Control control) {
104 } 105 }
105 /* 106 /*
106 * Not implemented. 107 * Not implemented.
108 public static void setKeyboardLanguage(int language) { 109 public static void setKeyboardLanguage(int language) {
109 } 110 }
110 /* 111 /*
111 * Not implemented. 112 * Not implemented.
112 */ 113 */
113 public static boolean setOrientation(int /*long*/ hwnd, int orientation) { 114 public static boolean setOrientation(objc.id hwnd, int orientation) {
114 return false; 115 return false;
115 } 116 }
116 public static boolean setOrientation (Control control, int orientation) { 117 public static boolean setOrientation (Control control, int orientation) {
117 return false; 118 return false;
118 } 119 }