1 11 package org.eclipse.swt.internal.photon; 12 13 14 import org.eclipse.swt.internal.*; 15 16 public class OS extends Platform { 17 static { 18 Library.loadLibrary ("swt"); 19 } 20 21 public static final int QNX_MAJOR; 22 public static final int QNX_MINOR; 23 public static final int QNX_MICRO; 24 static { 25 26 utsname udata = new utsname(); 27 OS.uname(udata); 28 29 33 int value = 0; 34 int i = 0; 35 while( udata.release[i] != '.' ) { 36 value = value * 10; 37 value += udata.release[i] - '0'; 38 i++; 39 } 40 QNX_MAJOR = value; 41 42 value = 0; 43 i++; 44 while( udata.release[i] != '.' ) { 45 value = value * 10; 46 value += udata.release[i] - '0'; 47 i++; 48 } 49 QNX_MINOR = value; 50 51 value = 0; 52 i++; 53 while( udata.release[i] != 0 ) { 54 value = value * 10; 55 value += udata.release[i] - '0'; 56 i++; 57 } 58 QNX_MICRO = value; 59 } 60 61 62 public static final int MAX_DESC_LENGTH = 0x20; 63 public static final int MAX_FONT_TAG = 0x50; 64 public static final int MAX_URL_LENGTH=1024; 65 public static final int NAME_MAX = 0xff; 66 public static final int PATH_MAX = 0x400; 67 public static final int PF_STYLE_BOLD = 0x1; 68 public static final int PF_STYLE_ITALIC = 0x2; 69 public static final int PHFONT_ALL_FONTS = 0x33; 70 public static final int PHFONT_ALL_SYMBOLS = 0xffffffff; 71 public static final int PHFONT_BITMAP = 0x2; 72 public static final int PHFONT_DONT_SHOW_LEGACY = 0x40; 73 public static final int PHFONT_FIXED = 0x20; 74 public static final int PHFONT_INFO_BLDITC = 0x8; 75 public static final int PHFONT_INFO_BOLD = 0x2; 76 public static final int PHFONT_INFO_FIXED = 0x10; 77 public static final int PHFONT_INFO_ITALIC = 0x4; 78 public static final int PHFONT_INFO_PLAIN = 0x1; 79 public static final int PHFONT_INFO_PROP = 0x20; 80 public static final int PHFONT_PROP = 0x10; 81 public static final int PHFONT_SCALABLE = 0x1; 82 public static final int Pg_ALPHA_OP_SRC_GLOBAL = 0x40000; 83 public static final int Pg_ALPHA_OP_SRC_MAP = 0x80000; 84 public static final int Pg_ARC = 0x2000; 85 public static final int Pg_ARC_PIE = 0x1000; 86 public static final int Pg_BACK_FILL = 0x100; 87 public static final int Pg_BEVEL_JOIN = 0x02; 88 public static final int Pg_BLEND_DST_ONE_MINUS_SRC_ALPHA = 0x5; 89 public static final int Pg_BLEND_SRC_SRC_ALPHA = 0x400; 90 public static final int Pg_BUTT_CAP = 0; 91 public static final int Pg_CLOSED = 0x1000; 92 public static final int Pg_DRAWMODE_OPAQUE = 0x0; 93 public static final int Pg_DRAWMODE_XOR = 0x1; 94 public static final int Pg_DRAW_FILL = 0x20; 95 public static final int Pg_DRAW_STROKE = 0x10; 96 public static final int Pg_DrawModeDSx = 0x6680; 97 public static final int Pg_DrawModeS = 0xcc80; 98 public static final int Pg_EXTENT_BASED = 0x100; 99 public static final int Pg_GRAD_HORIZONTAL = 0x3; 100 public static final int Pg_GRAD_LINEAR = 0x0; 101 public static final int Pg_GRAD_VERTICAL = 0x4; 102 public static final int Pg_IMAGE_CLASS_DIRECT = 0x20; 103 public static final int Pg_IMAGE_CLASS_MASK = 0x38; 104 public static final int Pg_IMAGE_CLASS_PALETTE = 0x10; 105 public static final int Pg_IMAGE_DIRECT_444 = 0x24; 106 public static final int Pg_IMAGE_DIRECT_555 = 0x23; 107 public static final int Pg_IMAGE_DIRECT_565 = 0x22; 108 public static final int Pg_IMAGE_DIRECT_888 = 0x21; 109 public static final int Pg_IMAGE_DIRECT_8888 = 0x20; 110 public static final int Pg_IMAGE_PALETTE_BYTE = 0x10; 111 public static final int Pg_IMAGE_PALETTE_NIBBLE = 0x11; 112 public static final int Pg_INDEX_COLOR = 0x2000000; 113 public static final int Pg_MITER_JOIN = 0; 114 public static final int Pg_PALSET_SOFT = 0x0; 115 public static final byte[] Pg_PAT_HALF = {(byte)0xAA, (byte)0x55, (byte)0xAA, (byte)0x55, (byte)0xAA, (byte)0x55, (byte)0xAA, (byte)0x55}; 116 public static final int Pg_ROUND_CAP = 0x01; 117 public static final int Pg_ROUND_JOIN = 0x01; 118 public static final int Pg_SQUARE_CAP = 2; 119 public static final int Pg_TEXT_LEFT = 0x1000; 120 public static final int Pg_TEXT_TOP = 0x4000; 121 public static final int Pg_TRANSPARENT = 0xffffffff; 122 public static final int Ph_BUTTON_ADJUST = 0x2; 123 public static final int Ph_BUTTON_MENU = 0x1; 124 public static final int Ph_BUTTON_SELECT = 0x4; 125 public static final int Ph_CONSUMED = 0x4; 126 public static final int Ph_CURSOR_BITMAP = 0xfb; 127 public static final int Ph_CURSOR_CLOCK = 0xe908; 128 public static final int Ph_CURSOR_CROSSHAIR = 0xe906; 129 public static final int Ph_CURSOR_DEFAULT_COLOR = 0xffffe0; 130 public static final int Ph_CURSOR_DONT = 0xe90a; 131 public static final int Ph_CURSOR_DRAG_BL = 0xe916; 132 public static final int Ph_CURSOR_DRAG_BOTTOM = 0xe910; 133 public static final int Ph_CURSOR_DRAG_BR = 0xe914; 134 public static final int Ph_CURSOR_DRAG_HORIZONTAL = 0xe912; 135 public static final int Ph_CURSOR_DRAG_LEFT = 0xe912; 136 public static final int Ph_CURSOR_DRAG_RIGHT = 0xe912; 137 public static final int Ph_CURSOR_DRAG_TL = 0xe914; 138 public static final int Ph_CURSOR_DRAG_TOP = 0xe910; 139 public static final int Ph_CURSOR_DRAG_TR = 0xe916; 140 public static final int Ph_CURSOR_DRAG_VERTICAL = 0xe910; 141 public static final int Ph_CURSOR_FINGER = 0xe90c; 142 public static final int Ph_CURSOR_INHERIT = 0x0; 143 public static final int Ph_CURSOR_INSERT = 0xe90e; 144 public static final int Ph_CURSOR_MOVE = 0xe904; 145 public static final int Ph_CURSOR_NO_INHERIT = 0x1; 146 public static final int Ph_CURSOR_POINTER = 0xe900; 147 public static final int Ph_CURSOR_POINT_WAIT = 0xe918; 148 public static final int Ph_CURSOR_QUESTION_POINT = 0xe91c; 149 public static final int Ph_DEV_RID = 0x1; 150 public static final int Ph_DRAG_KEY_MOTION = 0x20; 151 public static final int Ph_DRAG_TRACK = 0x10; 152 public static final int Ph_EVENT_DIRECT = 0x10; 153 public static final int Ph_EVENT_MSG = 0x1; 154 public static final int Ph_EV_BOUNDARY = 0x20; 155 public static final int Ph_EV_BUT_PRESS = 0x2; 156 public static final int Ph_EV_BUT_RELEASE = 0x4; 157 public static final int Ph_EV_DRAG = 0x200; 158 public static final int Ph_EV_DRAG_COMPLETE = 0x2; 159 public static final int Ph_EV_DRAG_KEY_EVENT = 0x3; 160 public static final int Ph_EV_DRAG_MOTION_EVENT = 0x4; 161 public static final int Ph_EV_KEY = 0x1; 162 public static final int Ph_EV_PTR_ENTER = 0x0; 163 public static final int Ph_EV_PTR_ENTER_FROM_CHILD = 0x4; 164 public static final int Ph_EV_PTR_LEAVE = 0x1; 165 public static final int Ph_EV_PTR_LEAVE_TO_CHILD = 0x5; 166 public static final int Ph_EV_PTR_MOTION = 0x18; 167 public static final int Ph_EV_PTR_MOTION_BUTTON = 0x10; 168 public static final int Ph_EV_PTR_MOTION_NOBUTTON = 0x8; 169 public static final int Ph_EV_PTR_STEADY = 0x2; 170 public static final int Ph_EV_PTR_UNSTEADY = 0x3; 171 public static final int Ph_EV_RELEASE_PHANTOM = 0x1; 172 public static final int Ph_EV_RELEASE_REAL = 0x0; 173 public static final int Ph_EV_TIMER = 0x10000; 174 public static final int Ph_FAKE_EVENT = 0x1; 175 public static final int Ph_FORCE_BOUNDARY = 0x400000; 176 public static final int Ph_GRAFX_REGION = 0x4; 177 public static final int Ph_NOT_CUAKEY = 0x10; 178 public static final int Ph_QUERY_CONSOLE = 0x0; 179 public static final int Ph_QUERY_GRAPHICS = 0x4; 180 public static final int Ph_QUERY_WORKSPACE = 0x2; 181 public static final int Ph_RELEASE_IMAGE_ALL = 0x1f; 182 public static final int Ph_RESIZE_MSG = 0x3; 183 public static final int Ph_TRACK_DRAG = 0xf; 184 public static final int Ph_WM_CLOSE = 0x1; 185 public static final int Ph_WM_EVSTATE_FOCUS = 0x0; 186 public static final int Ph_WM_EVSTATE_FOCUSLOST = 0x1; 187 public static final int Ph_WM_EVSTATE_HIDE = 0x0; 188 public static final int Ph_WM_EVSTATE_UNHIDE = 0x1; 189 public static final int Ph_WM_FOCUS = 0x4; 190 public static final int Ph_WM_HIDE = 0x40; 191 public static final int Ph_WM_ICON = 0x400; 192 public static final int Ph_WM_MAX = 0x800; 193 public static final int Ph_WM_MOVE = 0x200; 194 public static final int Ph_WM_RENDER_BORDER = 0x10; 195 public static final int Ph_WM_RENDER_MAX = 0x2000; 196 public static final int Ph_WM_RENDER_MENU = 0x100; 197 public static final int Ph_WM_RENDER_MIN = 0x1000; 198 public static final int Ph_WM_RENDER_RESIZE = 0x20; 199 public static final int Ph_WM_RENDER_TITLE = 0x80; 200 public static final int Ph_WM_RESIZE = 0x100; 201 public static final int Ph_WM_RESTORE = 0x8000; 202 public static final int Ph_WM_STATE_ISFOCUS = 0x8000; 203 public static final int Ph_WM_STATE_ISFRONT = 0x100; 204 public static final int Ph_WM_STATE_ISHIDDEN = 0x1; 205 public static final int Ph_WM_STATE_ISICONIFIED = 0x40; 206 public static final int Ph_WM_STATE_ISMAX = 0x2; 207 public static final int Ph_WM_STATE_ISMAXING = 0x4000; 208 public static final int Pk_Alt_L = 0xf0e9; 209 public static final int Pk_Alt_R = 0xf0ea; 210 public static final int Pk_BackSpace = 0xf008; 211 public static final int Pk_Break = 0xF06B; 212 public static final int Pk_Cancel = 0xf069; 213 public static final int Pk_Caps_Lock = 0xf0e5; 214 public static final int Pk_Clear = 0xf00b; 215 public static final int Pk_Control_L = 0xf0e3; 216 public static final int Pk_Control_R = 0xf0e4; 217 public static final int Pk_Delete = 0xf0ff; 218 public static final int Pk_Down = 0xf054; 219 public static final int Pk_End = 0xf057; 220 public static final int Pk_Escape = 0xf01b; 221 public static final int Pk_F1 = 0xf0be; 222 public static final int Pk_F10 = 0xf0c7; 223 public static final int Pk_F11 = 0xf0c8; 224 public static final int Pk_F12 = 0xf0c9; 225 public static final int Pk_F13 = 0xf0cA; 226 public static final int Pk_F14 = 0xf0cB; 227 public static final int Pk_F15 = 0xf0cC; 228 public static final int Pk_F2 = 0xf0bf; 229 public static final int Pk_F3 = 0xf0c0; 230 public static final int Pk_F4 = 0xf0c1; 231 public static final int Pk_F5 = 0xf0c2; 232 public static final int Pk_F6 = 0xf0c3; 233 public static final int Pk_F7 = 0xf0c4; 234 public static final int Pk_F8 = 0xf0c5; 235 public static final int Pk_F9 = 0xf0c6; 236 public static final int Pk_Home = 0xf050; 237 public static final int Pk_Help = 0xF06a; 238 public static final int Pk_Hyper_L = 0xf0ed; 239 public static final int Pk_Hyper_R = 0xf0ee; 240 public static final int Pk_Insert = 0xf063; 241 public static final int Pk_KF_Cap_Valid = 0x80; 242 public static final int Pk_KF_Key_Down = 0x1; 243 public static final int Pk_KF_Key_Repeat = 0x2; 244 public static final int Pk_KF_Scan_Valid = 0x20; 245 public static final int Pk_KF_Sym_Valid = 0x40; 246 public static final int Pk_KM_Alt = 0x4; 247 public static final int Pk_KM_Ctrl = 0x2; 248 public static final int Pk_KM_Num_Lock = 0x00020000; 249 public static final int Pk_KM_Shift = 0x1; 250 public static final int Pk_KP_Enter = 0xF08D; 251 public static final int Pk_KP_Tab = 0xf089; 252 public static final int Pk_KP_Equal = 0xF0BD; 253 public static final int Pk_KP_Multiply = 0xF0AA; 254 public static final int Pk_KP_Add = 0xF0AB; 255 public static final int Pk_KP_Separator = 0xF0AC; 256 public static final int Pk_KP_Subtract = 0xF0AD; 257 public static final int Pk_KP_Decimal = 0xF0AE; 258 public static final int Pk_KP_Divide = 0xF0AF; 259 public static final int Pk_KP_0 = 0xF0B0; 260 public static final int Pk_KP_1 = 0xF0B1; 261 public static final int Pk_KP_2 = 0xF0B2; 262 public static final int Pk_KP_3 = 0xF0B3; 263 public static final int Pk_KP_4 = 0xF0B4; 264 public static final int Pk_KP_5 = 0xF0B5; 265 public static final int Pk_KP_6 = 0xF0B6; 266 public static final int Pk_KP_7 = 0xF0B7; 267 public static final int Pk_KP_8 = 0xF0B8; 268 public static final int Pk_KP_9 = 0xF0B9; 269 public static final int Pk_Left = 0xf051; 270 public static final int Pk_Linefeed = 0xf00a; 271 public static final int Pk_Menu = 0xf067; 272 public static final int Pk_Next = 0xf056; 273 public static final int Pk_Num_Lock = 0xf07f; 274 public static final int Pk_Pause = 0xf013; 275 public static final int Pk_Pg_Down = 0xf056; 276 public static final int Pk_Pg_Up = 0xf055; 277 public static final int Pk_Print = 0xf061; 278 public static final int Pk_Prior = 0xf055; 279 public static final int Pk_Return = 0xf00d; 280 public static final int Pk_Right = 0xf053; 281 public static final int Pk_Scroll_Lock = 0xf014; 282 public static final int Pk_Shift_L = 0xf0e1; 283 public static final int Pk_Shift_R = 0xf0e2; 284 public static final int Pk_Tab = 0xf009; 285 public static final int Pk_Up = 0xf052; 286 public static final int Pt_ALL_BEVELS = 0xf00; 287 public static final int Pt_ALL_BUTTONS = 0x800000; 288 public static final int Pt_ALL_ETCHES = 0xf; 289 public static final int Pt_ALL_INLINES = 0xf000; 290 public static final int Pt_ALL_OUTLINES = 0xf0; 291 public static final int Pt_ALWAYS = 0x1; 292 public static final int Pt_ARG_ACCEL_KEY = 0xbca; 293 public static final int Pt_ARG_ACCEL_TEXT = 0x1b58; 294 public static final int Pt_ARG_ANCHOR_FLAGS = 0x2711; 295 public static final int Pt_ARG_AREA = 0x3e8; 296 public static final int Pt_ARG_BALLOON_COLOR = 0xbcc; 297 public static final int Pt_ARG_BALLOON_FILL_COLOR = 0xbcb; 298 public static final int Pt_ARG_BALLOON_POSITION = 0xbc8; 299 public static final int Pt_ARG_BASIC_FLAGS = 0x7df; 300 public static final int Pt_ARG_BEVEL_COLOR = 0x7e5; 301 public static final int Pt_ARG_BEVEL_CONTRAST = 0x7e4; 302 public static final int Pt_ARG_BEVEL_WIDTH = 0x3e9; 303 public static final int Pt_ARG_BITMAP_CURSOR = 0x3f9; 304 public static final int Pt_ARG_BUTTON_TYPE = 0x1b5a; 305 public static final int Pt_ARG_CBOX_FLAGS = 0x7918; 306 public static final int Pt_ARG_CBOX_MAX_VISIBLE_COUNT = 0x792b; 307 public static final int Pt_ARG_CBOX_SELECTION_ITEM = 0x7919; 308 public static final int Pt_ARG_CLIENT_NAME = 0x182BC; 309 public static final int Pt_ARG_COLOR = 0x7d1; 310 public static final int Pt_ARG_CONTAINER_FLAGS = 0x2715; 311 public static final int Pt_ARG_CURSOR_POSITION = 0xfa3; 312 public static final int Pt_ARG_CURSOR_TYPE = 0x3ea; 313 public static final int Pt_ARG_DARK_BEVEL_COLOR = 0x7d6; 314 public static final int Pt_ARG_FILL_COLOR = 0x7d2; 315 public static final int Pt_ARG_FLAGS = 0x3ee; 316 public static final int Pt_ARG_GAUGE_FLAGS = 0x5208; 317 public static final int Pt_ARG_GAUGE_FONT = 0x5209; 318 public static final int Pt_ARG_GAUGE_VALUE = 0x520c; 319 public static final int Pt_ARG_GROUP_FLAGS = 0x2af8; 320 public static final int Pt_ARG_GROUP_ORIENTATION = 0x2afa; 321 public static final int Pt_ARG_HEIGHT = 0x400; 322 public static final int Pt_ARG_HORIZONTAL_ALIGNMENT = 0xbb8; 323 public static final int Pt_ARG_INCREMENT = 0x7149; 324 public static final int Pt_ARG_INDICATOR_TYPE = 0x232a; 325 public static final int Pt_ARG_ITEMS = 0x59d9; 326 public static final int Pt_ARG_LABEL_IMAGE = 0xbb9; 327 public static final int Pt_ARG_LABEL_TYPE = 0xbbb; 328 public static final int Pt_ARG_LIGHT_BEVEL_COLOR = 0x7d0; 329 public static final int Pt_ARG_LINE_SPACING = 0xbcd; 330 public static final int Pt_ARG_LIST_FLAGS = 0x59da; 331 public static final int Pt_ARG_LIST_FONT = 0x59db; 332 public static final int Pt_ARG_LIST_ITEM_COUNT = 0x59e6; 333 public static final int Pt_ARG_LIST_SEL_COUNT = 0x59e7; 334 public static final int Pt_ARG_LIST_TOTAL_HEIGHT = 0x59e8; 335 public static final int Pt_ARG_MARGIN_BOTTOM = 0xbbc; 336 public static final int Pt_ARG_MARGIN_HEIGHT = 0x7d4; 337 public static final int Pt_ARG_MARGIN_LEFT = 0xbbd; 338 public static final int Pt_ARG_MARGIN_RIGHT = 0xbbe; 339 public static final int Pt_ARG_MARGIN_TOP = 0xbbf; 340 public static final int Pt_ARG_MARGIN_WIDTH = 0x7d5; 341 public static final int Pt_ARG_MAXIMUM = 0x520b; 342 public static final int Pt_ARG_MAX_LENGTH = 0xfa5; 343 public static final int Pt_ARG_MENU_FLAGS = 0x4a38; 344 public static final int Pt_ARG_MINIMUM = 0x520a; 345 public static final int Pt_ARG_MIN_HEIGHT = 1000 * 18 + 6; 346 public static final int Pt_ARG_MIN_WIDTH = 1000 * 18 + 7; 347 public static final int Pt_ARG_MODIFIER_KEYS = 0x1b5c; 348 public static final int Pt_ARG_MULTITEXT_LINE_SPACING = 0x138b; 349 public static final int Pt_ARG_MULTITEXT_NUM_LINES = 0x138e; 350 public static final int Pt_ARG_MULTITEXT_QUERY_LINE = 0x1392; 351 public static final int Pt_ARG_MULTITEXT_TABS = 0x1395; 352 public static final int Pt_ARG_MULTITEXT_TOP_LINE = 0x138f; 353 public static final int Pt_ARG_MULTITEXT_WRAP_FLAGS = 0x1389; 354 public static final int Pt_ARG_NUMERIC_FLAGS = 0xcf09; 355 public static final int Pt_ARG_NUMERIC_INCREMENT = 0xcf0b; 356 public static final int Pt_ARG_NUMERIC_MAX = 0xcf0e; 357 public static final int Pt_ARG_NUMERIC_MIN = 0xcf0d; 358 public static final int Pt_ARG_NUMERIC_SPACING = 0xcf19; 359 public static final int Pt_ARG_NUMERIC_UPDOWN_WIDTH = 0xcf0a; 360 public static final int Pt_ARG_NUMERIC_VALUE = 0xcf0c; 361 public static final int Pt_ARG_ORIENTATION = 0x520d; 362 public static final int Pt_ARG_OUTLINE_COLOR = 0x7e6; 363 public static final int Pt_ARG_PAGE_INCREMENT = 0x714d; 364 public static final int Pt_ARG_PG_CURRENT_INDEX = 0xfa05; 365 public static final int Pt_ARG_PG_FLAGS = 64 * 1000; 366 public static final int Pt_ARG_PG_PANEL_TITLES = 0xfa02; 367 public static final int Pt_ARG_POS = 0x3ef; 368 public static final int Pt_ARG_REGION_FLAGS = 0x3a9b; 369 public static final int Pt_ARG_REGION_OPAQUE = 0x3a9d; 370 public static final int Pt_ARG_REGION_SENSE = 0x3aa0; 371 public static final int Pt_ARG_RESIZE_FLAGS = 0x3f0; 372 public static final int Pt_ARG_SCROLLBAR_X_DISPLAY = 0x32ce; 373 public static final int Pt_ARG_SCROLLBAR_Y_DISPLAY = 0x32d0; 374 public static final int Pt_ARG_SELECTION_FILL_COLOR = 0x59e4; 375 public static final int Pt_ARG_SELECTION_INDEXES = 0x59de; 376 public static final int Pt_ARG_SELECTION_MODE = 0x59df; 377 public static final int Pt_ARG_SELECTION_TEXT_COLOR = 0x59e5; 378 public static final int Pt_ARG_SEP_FLAGS = 0x7530; 379 public static final int Pt_ARG_SEP_TYPE = 0x7532; 380 public static final int Pt_ARG_SLIDER_SIZE = 0x714f; 381 public static final int Pt_ARG_TEXT_CURSOR_WIDTH = 0xbf2; 382 public static final int Pt_ARG_TEXT_FLAGS = 0xfa8; 383 public static final int Pt_ARG_TEXT_FONT = 0xbc2; 384 public static final int Pt_ARG_TEXT_STRING = 0xbc3; 385 public static final int Pt_ARG_TIMER_INITIAL = 0xa028; 386 public static final int Pt_ARG_TITLE = 0x2717; 387 public static final int Pt_ARG_TITLE_FONT = 0x2718; 388 public static final int Pt_ARG_TOOLBAR_FLAGS = 0xee48; 389 public static final int Pt_ARG_TOP_ITEM_POS = 0x59e0; 390 public static final int Pt_ARG_USER_DATA = 0x3f6; 391 public static final int Pt_ARG_VERTICAL_ALIGNMENT = 0xbc7; 392 public static final int Pt_ARG_VISIBLE_COUNT = 0x59e1; 393 public static final int Pt_ARG_WEB_DATA = 0x186B6; 394 public static final int Pt_ARG_WEB_GET_URL = 0x186A0; 395 public static final int Pt_ARG_WEB_NAVIGATE_PAGE = 0x186A1; 396 public static final int Pt_ARG_WEB_OPTION = 0x186AC; 397 public static final int Pt_ARG_WEB_RELOAD = 0x186A6; 398 public static final int Pt_ARG_WEB_SERVER = 0x186A9; 399 public static final int Pt_ARG_WEB_STOP = 0x186A7; 400 public static final int Pt_ARG_WIDTH = 0x3ff; 401 public static final int Pt_ARG_WINDOW_MANAGED_FLAGS = 0x465b; 402 public static final int Pt_ARG_WINDOW_NOTIFY_FLAGS = 0x465c; 403 public static final int Pt_ARG_WINDOW_RENDER_FLAGS = 0x465d; 404 public static final int Pt_ARG_WINDOW_STATE = 0x465e; 405 public static final int Pt_ARG_WINDOW_TITLE = 0x465f; 406 public static final int Pt_BALLOON_BOTTOM = 0x3; 407 public static final int Pt_BALLOON_RIGHT = 0x0; 408 public static final int Pt_BLOCKED = 0x20000; 409 public static final int Pt_BOTTOM_ANCHORED_BOTTOM = 0x00000080; 410 public static final int Pt_BOTTOM_ANCHORED_TOP = 0x00000800; 411 public static final int Pt_BOTTOM_BEVEL = 0x200; 412 public static final int Pt_BOTTOM_ETCH = 0x2; 413 public static final int Pt_BOTTOM_INLINE = 0x2000; 414 public static final int Pt_BOTTOM_OUTLINE = 0x20; 415 public static final int Pt_CALLBACKS_ACTIVE = 0x4000000; 416 public static final int Pt_CB_ACTIVATE = 0x7d9; 417 public static final int Pt_CB_ARM = 0x7d7; 418 public static final int Pt_CB_GOT_FOCUS = 0x7da; 419 public static final int Pt_CB_LOST_FOCUS = 0x7db; 420 public static final int Pt_CB_MODIFY_VERIFY = 0xfa9; 421 public static final int Pt_CB_NUMERIC_CHANGED = 0xcf17; 422 public static final int Pt_CB_OUTBOUND = 0x3fe; 423 public static final int Pt_CB_PG_PANEL_SWITCHING = 0xfa0a; 424 public static final int Pt_CB_REALIZED = 0x3f4; 425 public static final int Pt_CB_RESIZE = 0x2713; 426 public static final int Pt_CB_SCROLL_MOVE = 0x7152; 427 public static final int Pt_CB_SELECTION = 0x59e2; 428 public static final int Pt_CB_SLIDER_MOVE = 0x5601; 429 public static final int Pt_CB_TEXT_CHANGED = 0xfaa; 430 public static final int Pt_CB_TIMER_ACTIVATE = 0xa02a; 431 public static final int Pt_CB_UNREALIZED = 0x3f5; 432 public static final int Pt_CB_WEB_CLOSE_WINDOW = 0x18713; 433 public static final int Pt_CB_WEB_COMPLETE = 0x18704; 434 public static final int Pt_CB_WEB_DATA_REQ = 0x1870F; 435 public static final int Pt_CB_WEB_METADATA = 0x18705; 436 public static final int Pt_CB_WEB_NEW_WINDOW = 0x18711; 437 public static final int Pt_CB_WEB_START = 0x1870B; 438 public static final int Pt_CB_WEB_STATUS = 0x18708; 439 public static final int Pt_CB_WEB_URL = 0x18706; 440 public static final int Pt_CB_WINDOW = 0x4661; 441 public static final int Pt_CENTER = 0x2; 442 public static final int Pt_COLORSELECT_ACCEPT = 0x8000; 443 public static final int Pt_COLORSELECT_MODAL = 0x4; 444 public static final int Pt_COMBOBOX_STATIC = 0x20; 445 public static final int Pt_CONSUME = 0x2; 446 public static final int Pt_CONTINUE = 0x0; 447 public static final int Pt_DELAY_REALIZE = 0x40; 448 public static final int Pt_EDITABLE = 0x2; 449 public static final int Pt_EMT_CHAR = 0x2; 450 public static final int Pt_EMT_NEWLINE = 0x4; 451 public static final int Pt_EMT_WORD = 0x1; 452 public static final int Pt_ENABLE_CUA = 0x10; 453 public static final int Pt_ENABLE_CUA_ARROWS = 0x20; 454 public static final int Pt_END = 0x2; 455 public static final int Pt_ETCHED_IN = 0x4; 456 public static final int Pt_ETCHED_OUT = 0x5; 457 public static final int Pt_ETCH_TITLE_AREA = 0x200; 458 public static final int Pt_FLAT_FILL = 0x10000; 459 public static final int Pt_FSDIALOG_BTN2 = 0x2; 460 public static final int Pt_FSR_NO_FCHECK = 0x100; 461 public static final int Pt_FSR_NO_SELECT_FILES = 0x2000; 462 public static final int Pt_FSR_SELECT_DIRS = 0x4000; 463 public static final int Pt_GAUGE_INDETERMINATE = 0x80; 464 public static final int Pt_GETS_FOCUS = 0x400; 465 public static final int Pt_GHOST = 0x1000000; 466 public static final int Pt_GROUP_EQUAL_SIZE = 0x2; 467 public static final int Pt_GROUP_EQUAL_SIZE_VERTICAL = 0x200; 468 public static final int Pt_GROUP_HORIZONTAL = 0x0; 469 public static final int Pt_HIGHLIGHTED = 0x100; 470 public static final int Pt_HORIZONTAL = 0x1; 471 public static final int Pt_HORIZONTAL_GRADIENT = 0x40000; 472 public static final int Pt_HOTKEYS_FIRST = 0x80; 473 public static final int Pt_IMAGE = 0x4; 474 public static final int Pt_LEFT = 0x0; 475 public static final int Pt_LEFT_ANCHORED_LEFT = 0x00000100; 476 public static final int Pt_LEFT_BEVEL = 0x400; 477 public static final int Pt_LEFT_ETCH = 0x4; 478 public static final int Pt_LEFT_INLINE = 0x4000; 479 public static final int Pt_LEFT_OUTLINE = 0x40; 480 public static final int Pt_LIST_SCROLLBAR_ALWAYS = 0x1; 481 public static final int Pt_LIST_SCROLLBAR_AS_REQUIRED = 0x2; 482 public static final int Pt_LIST_SELECTION_FINAL = 0x0; 483 public static final int Pt_MENUABLE = 0x8000000; 484 public static final int Pt_MENU_CHILD = 0x8; 485 public static final int Pt_MENU_RIGHT = 0x2; 486 public static final int Pt_MENU_TEXT = 0x1; 487 public static final int Pt_MODAL = 0x84; 488 public static final int Pt_NEVER = 0x0; 489 public static final int Pt_NOLINE = 0x6; 490 public static final int Pt_NO_PARENT = 0x1; 491 public static final int Pt_N_OF_MANY = 0x0; 492 public static final int Pt_NUMERIC_CHANGED = 0x1; 493 public static final int Pt_NUMERIC_UPDOWN_ACTIVATE = 0x8; 494 public static final int Pt_NUMERIC_UPDOWN_REPEAT = 0x4; 495 public static final int Pt_NUMERIC_WRAP= 0x04; 496 public static final int Pt_ONE_OF_MANY = 0x1; 497 public static final int Pt_PG_INVALID = 0xffff; 498 public static final int Pt_PG_SELECTOR_ON_BOTTOM = 0x0001; 499 public static final int Pt_PROCESS = 0x0; 500 public static final int Pt_RESIZE_XY_BITS = 0x3f00000; 501 public static final int Pt_RESIZE_X_ALWAYS = 0x800000; 502 public static final int Pt_RESIZE_Y_ALWAYS = 0x100000; 503 public static final int Pt_RIGHT = 0x1; 504 public static final int Pt_RIGHT_ANCHORED_RIGHT = 0x00000020; 505 public static final int Pt_RIGHT_BEVEL = 0x800; 506 public static final int Pt_RIGHT_ETCH = 0x8; 507 public static final int Pt_RIGHT_INLINE = 0x8000; 508 public static final int Pt_RIGHT_OUTLINE = 0x80; 509 public static final int Pt_SCROLL_DECREMENT = 0x1; 510 public static final int Pt_SCROLL_DRAGGED = 0x7; 511 public static final int Pt_SCROLL_INCREMENT = 0x2; 512 public static final int Pt_SCROLL_PAGE_DECREMENT = 0x4; 513 public static final int Pt_SCROLL_PAGE_INCREMENT = 0x3; 514 public static final int Pt_SCROLL_TO_MAX = 0x5; 515 public static final int Pt_SCROLL_TO_MIN = 0x6; 516 public static final int Pt_SELECTABLE = 0x80; 517 public static final int Pt_SELECTION_MODE_AUTO = 0x8200; 518 public static final int Pt_SELECTION_MODE_MULTIPLE = 0x8000; 519 public static final int Pt_SELECTION_MODE_NOCLEAR = 0x8400; 520 public static final int Pt_SELECTION_MODE_NOFOCUS = 0x9000; 521 public static final int Pt_SELECTION_MODE_NOMOVE = 0x8080; 522 public static final int Pt_SELECTION_MODE_SINGLE = 0x8020; 523 public static final int Pt_SELECTION_MODE_TOGGLE = 0x8800; 524 public static final int Pt_SELECT_NOREDRAW = 0x80000; 525 public static final int Pt_SEP_HORIZONTAL = 0x1; 526 public static final int Pt_SEP_VERTICAL = 0x0; 527 public static final int Pt_SET = 0x2; 528 public static final int Pt_SET_DRAW_F = 0x170014; 529 public static final int Pt_SHOW_TITLE = 0x100; 530 public static final int Pt_STATIC_GRADIENT = 0x100000; 531 public static final int Pt_TEXT_IMAGE = 0x8; 532 public static final int Pt_TOGGLE = 0x8; 533 public static final int Pt_TOOLBAR_DRAGGABLE = 0x1; 534 public static final int Pt_TOOLBAR_END_SEPARATOR = 0x40; 535 public static final int Pt_TOP = 0x0; 536 public static final int Pt_TOP_ANCHORED_TOP = 0x00000400; 537 public static final int Pt_TOP_BEVEL = 0x100; 538 public static final int Pt_TOP_ETCH = 0x1; 539 public static final int Pt_TOP_INLINE = 0x1000; 540 public static final int Pt_TOP_OUTLINE = 0x10; 541 public static final int Pt_VERTICAL = 0x0; 542 public static final int Pt_WEB_ACTION_DISPLAY = 0x1; 543 public static final int Pt_WEB_DATA_HEADER = 1; 544 public static final int Pt_WEB_DATA_BODY = 2; 545 public static final int Pt_WEB_DATA_CLOSE = 3; 546 public static final int Pt_WEB_DIRECTION_BACK = 6; 547 public static final int Pt_WEB_DIRECTION_CANCEL = 7; 548 public static final int Pt_WEB_DIRECTION_FWD = 5; 549 public static final int Pt_WEB_STATUS_CONNECT = 2; 550 public static final int Pt_WEB_STATUS_DEFAULT = 6; 551 public static final int Pt_WEB_STATUS_INFO = 4; 552 public static final int Pt_WEB_STATUS_MOUSE = 1; 553 public static final int Pt_WEB_STATUS_PROGRESS = 3; 554 public static final int Pt_WEB_STATUS_PRINT = 5; 555 public static final int Pt_Z_STRING = 0x1; 556 557 558 public static final native int PfDecomposeStemToID(byte[] pkszStem); 559 public static final native int PfExtentText(PhRect_t extent, PhPoint_t pos, int font, int str, int len); 560 public static final native int PfExtentText(PhRect_t extent, PhPoint_t pos, byte[] font, byte[] str, int len); 561 public static final native int PfExtentWideText(PhRect_t extent, PhPoint_t pos, byte[] font, char[] str, int len); 562 public static final native int PfFontDescription(int ptsID); 563 public static final native int PfFontFlags(int ptsID); 564 public static final native int PfFontSize(int ptsID); 565 public static final native int PfFreeFont(int ptsID); 566 public static final native int PfGenerateFontName(byte[] pkucDescription, int kuiFlags, int kuiSize, byte[] pucBuff); 567 public static final native int PfLoadMetrics(byte[] font); 568 public static final native int PfQueryFontInfo(byte[] font, FontQueryInfo info); 569 public static final native int PfQueryFonts(int symbol, int flags, int list, int n); 570 public static final native void PgAlphaOff(); 571 public static final native void PgAlphaOn(); 572 public static final native int PgCreateGC(int size); 573 public static final native void PgDestroyGC(int GC); 574 public static final native int PgDrawArc(PhPoint_t center, PhPoint_t radii, int start, int end, int flags); 575 public static final native void PgDrawArrow(PhRect_t rect, short unknown, int color, int flags); 576 public static final native int PgDrawBitmap(int ptr, int flags, PhPoint_t pos, PhDim_t size, int bpl, int tag); 577 public static final native int PgDrawEllipse(PhPoint_t center, PhPoint_t radii, int flags); 578 public static final native int PgDrawGradient(PhPoint_t ul, PhPoint_t lr, int gradient_type, int transition_type, int num_color_pts, int color1, int color2, int color3, int color4, int table_size, byte[] transition_table); 579 public static final native int PgDrawILine(int x1, int y1, int x2, int y2); 580 public static final native int PgDrawIPixel(int x,int y); 581 public static final native int PgDrawIRect(int ulx, int uly, int lrx, int lry, int flags); 582 public static final native int PgDrawImage(int ptr, int type, PhPoint_t pos, PhDim_t size, int bpl, int tag); 583 public static final native int PgDrawMultiTextArea(byte[] text, int len, PhRect_t canvas, int text_flags, int canvas_flags, int linespacing); 584 public static final native int PgDrawPhImageRectmx(PhPoint_t pos, int image, PhRect_t rect, int flags); 585 public static final native int PgDrawPolygon(short[] ptr, int num, PhPoint_t pos, int flags); 586 public static final native int PgDrawRoundRect(PhRect_t rect, PhPoint_t radii, int flags); 587 public static final native int PgDrawTImage(int ptr, int type, PhPoint_t pos, PhDim_t size, int bpl, int tag, int TransPtr, int TransBPl); 588 public static final native int PgDrawText(byte[] ptr, int len, PhPoint_t pos, int flags); 589 public static final native int PgExtentMultiText(PhRect_t extent, PhPoint_t pos, byte[] font, byte[] str, int n, int linespacing); 590 public static final native int PgFlush(); 591 public static final native int PgGetVideoMode(PgDisplaySettings_t settings); 592 public static final native int PgGetVideoModeInfo(short mode_number, PgVideoModeInfo_t mode_info); 593 public static final native int PgReadScreen(PhRect_t rect, int buffer); 594 public static final native int PgReadScreenSize(PhRect_t rect); 595 public static final native void PgSetAlpha(int alpha_op, PgMap_t src_alpha_map, int src_alpha_gradient, byte src_global_alpha, byte dst_global_alpha); 596 public static final native void PgSetClipping(short n, int rects); 597 public static final native int PgSetDrawBufferSize(int cmd_buf_len); 598 public static final native int PgSetDrawMode(int mode); 599 public static final native int PgSetFillColor(int color); 600 public static final native void PgSetFillTransPat(byte[] pat); 601 public static final native void PgSetFont(byte[] ff); 602 public static final native int PgSetGC(int GC); 603 public static final native int PgSetMultiClip(int num, int clip_list); 604 public static final native int PgSetPalette(int palette, int palette_id, short first_color, short num_colors, int flags, int tag); 605 public static final native void PgSetRegion(int rid); 606 public static final native int PgSetStrokeCap(int cap); 607 public static final native int PgSetStrokeColor(int color); 608 public static final native void PgSetStrokeDash(byte[] DashList, int ListLen, int DashScale); 609 public static final native int PgSetStrokeJoin(int join); 610 public static final native int PgSetStrokeWidth(int width); 611 public static final native int PgSetTextColor(int color); 612 public static final native void PgSetTextXORColor(int frgd, int bkgd); 613 public static final native void PgSetUserClip(PhRect_t ClipRect); 614 public static final native int PgShmemCreate(int size, byte[] name); 615 public static final native int PgShmemDestroy(int addr); 616 public static final native int PhAddMergeTiles(int tiles, int add_tiles, int[] added); 617 public static final native void PhAreaToRect(PhArea_t area, PhRect_t rect); 618 public static final native void PhBlit(int rid, PhRect_t rect, PhPoint_t offset); 619 public static final native int PhClipTilings(int tiles, int clip_tiles, int[] intersection); 620 public static final native int PhClipboardCopy(short ig, int n, byte[] clip); 621 public static final native int PhClipboardCopyString(short ig, byte[] string); 622 public static final native void PhClipboardPasteFinish(int cbdata); 623 public static final native int PhClipboardPasteStart(short ig); 624 public static final native int PhClipboardPasteString(short ig); 625 public static final native int PhClipboardPasteType(int cbdata, byte[] type); 626 public static final native int PhClipboardPasteTypeN(int cbdata, int n); 627 public static final native int PhCoalesceTiles(int tiles); 628 public static final native int PhCopyTiles(int tile); 629 public static final native int PhCreateImage(PhImage_t buffer, short width, short height, int type, int palette, int ncolors, int shmem); 630 public static final native int PhDCSetCurrent(int draw_context); 631 public static final native int PhDeTranslateTiles(int tile, int point_subtract); 632 public static final native int PhEventNext(int buffer, int size); 633 public static final native int PhEventPeek(int buffer, int size); 634 public static final native void PhFreeTiles(int tiles); 635 public static final native int PhGetData(int event); 636 public static final native int PhGetMsgSize(int event_buf); 637 public static final native int PhGetRects(int event); 638 public static final native int PhGetTile(); 639 public static final native int PhInitDrag(int rid, int flags, PhRect_t rect, PhRect_t boundary, int input_group, PhDim_t min, PhDim_t max, PhDim_t step, PhPoint_t ptrpos, short[] cursor); 640 public static final native int PhInputGroup(int event); 641 public static final native int PhIntersectTilings(int tile1, int tile2, short[] num_intersect_tiles); 642 public static final native int PhKeyToMb(byte[] buffer,PhKeyEvent_t keyevent); 643 public static final native int PhMakeGhostBitmap(int image); 644 public static final native int PhMakeTransBitmap(int image, int trans_color); 645 public static final native int PhMergeTiles(int tiles); 646 public static final native void PhMoveCursorAbs(int input_group, int x, int y); 647 public static final native int PhQueryCursor(short ig, PhCursorInfo_t buf); 648 public static final native int PhQueryRids(int flags, int rid, int input_group, int type, int sense, int emitter, PhRect_t rect, int[] rids, int num); 649 public static final native int PhRectIntersect(int rect1, int rect2); 650 public static final native int PhRectUnion(int rect1, int rect2); 651 public static final native int PhRectUnion(PhRect_t rect1, PhRect_t rect2); 652 public static final native int PhRectsToTiles(int rects, int num_rects); 653 public static final native int PhRegionQuery(int rid, PhRegion_t region, PhRect_t rect, int data, int data_len); 654 public static final native void PhReleaseImage(int image); 655 public static final native int PhSortTiles(int tiles); 656 public static final native int PhTilesToRects(int tiles, int[] num_rects); 657 public static final native int PhTranslateTiles(int tile, PhPoint_t point_add); 658 public static final native int PhWindowQueryVisible(int flag, int rid, int input_group, PhRect_t rect); 659 public static final native int PiCropImage(int image, PhRect_t bounds, int flags); 660 public static final native int PiDuplicateImage(int image, int flags); 661 public static final native int PmMemCreateMC(int image, PhDim_t dim, PhPoint_t translation); 662 public static final native int PmMemFlush(int mc, int image); 663 public static final native void PmMemReleaseMC(int mc); 664 public static final native int PmMemStart(int mc); 665 public static final native int PmMemStop(int mc); 666 public static final native void PtAddCallback(int widget, int callback_type, int callback, int data); 667 public static final native void PtAddEventHandler(int widget, int event_mask, int callback, int data); 668 public static final native void PtAddFilterCallback(int widget, int event_mask, int callback, int data); 669 public static final native void PtAddHotkeyHandler(int widget, int key_sym_cap, int key_mods, short flags, int data, int callback); 670 public static final native int PtAlert(int parent, PhPoint_t location, byte[] title, int image, byte[] message, byte[] msgFont, int btnCount, int[] buttons, int[] btnFonts, int defBtn, int escBtn, int flags); 671 public static final native int PtAppAddInput(int app_context, int pid, int input_func, int data); 672 public static final native int PtAppAddWorkProc(int app_context, int work_func, int data); 673 public static final native int PtAppCreatePulse(int app, int priority); 674 public static final native int PtAppDeletePulse(int app, int pulse_pid); 675 public static final native void PtAppProcessEvent(int app_context); 676 public static final native int PtAppPulseTrigger(int app, int pulse); 677 public static final native void PtAppRemoveInput(int app_context, int input_id); 678 public static final native void PtAppRemoveWorkProc(int app_context, int WorkProc_id); 679 public static final native int PtBeep(); 680 public static final native int PtBlit(int widget, PhRect_t source, PhPoint_t delta); 681 public static final native int PtBlockAllWindows(int skip, short cursor, int cursor_color); 682 public static final native int PtBlockWindow(int window, short cursor, int cursor_color); 683 public static final native int PtButton(); 684 public static final native void PtCalcBorder(int widget, PhRect_t rect); 685 public static final native int PtCalcCanvas(int widget, PhRect_t canvas_rect); 686 public static final native int PtClippedBlit(int widget, int src, PhPoint_t delta, int clip); 687 public static final native int PtColorSelect(int parent, byte[] title, PtColorSelectInfo_t info); 688 public static final native int PtComboBox(); 689 public static final native int PtContainer(); 690 public static final native int PtContainerFindFocus(int family_member); 691 public static final native int PtContainerFocusNext(int widget, PhEvent_t event); 692 public static final native int PtContainerFocusPrev(int widget, PhEvent_t event); 693 public static final native int PtContainerGiveFocus(int widget, PhEvent_t event); 694 public static final native int PtContainerHold(int container_widget); 695 public static final native int PtContainerRelease(int container_widget); 696 public static final native int PtCreateAppContext(); 697 public static final native int PtCreateWidget(int clazz, int parent, int n_args, int[] args); 698 public static final native int PtCreateWidgetClass(int superclass_ref, int size, int num_args, int[] arg); 699 public static final native int PtDamageExtent(int widget, PhRect_t extent); 700 public static final native int PtDamageWidget(int widget); 701 public static final native int PtDestroyWidget(int widget); 702 public static final native int PtDisjoint(); 703 public static final native int PtEnter(int flags); 704 public static final native int PtEventHandler(int event); 705 public static final native int PtExtentWidget(int widget); 706 public static final native int PtExtentWidgetFamily(int widget); 707 public static final native int PtFileSelection(int parent, PhPoint_t pos, byte[] title, byte[] root_dir, byte[] file_spec, byte[] btn1, byte[] btn2, byte[] format, PtFileSelectionInfo_t info, int flags); 708 public static final native int PtFindDisjoint(int widget); 709 public static final native int PtFlush(); 710 public static final native int PtFontSelection(int parent, PhPoint_t pos, byte[] title, byte[] font, int symbol, int flags, byte[] sample); 711 public static final native int PtForwardWindowEvent(PhWindowEvent_t event); 712 public static final native void PtFrameSize(int widget, int border_width, int[] left_border, int[] top_border, int[] right_border, int[] bottom_border); 713 public static final native void PtGetAbsPosition(int widget, short[] x, short[] y); 714 public static final native int PtGetResources(int widget, int n_args, int[] args); 715 public static final native int PtGlobalFocusNext(int widget, PhEvent_t event); 716 public static final native int PtGlobalFocusNextContainer(int widget, PhEvent_t event); 717 public static final native int PtGlobalFocusPrev(int widget, PhEvent_t event); 718 public static final native int PtGlobalFocusPrevContainer(int widget, PhEvent_t event); 719 public static final native int PtGroup(); 720 public static final native int PtHit(int container, int n, PhRect_t rect); 721 public static final native int PtHold(); 722 public static final native int PtInflateBalloon(int win, int me, int position, byte[] string, byte[] font, int fill, int text_color); 723 public static final native int PtInit(byte[] name); 724 public static final native int PtIsFocused(int widget); 725 public static final native int PtLabel(); 726 public static final native int PtLeave(int flags); 727 public static final native int PtList(); 728 public static final native int PtListAddItems(int widget, int[] items, int item_count, int position); 729 public static final native int PtListDeleteAllItems(int widget); 730 public static final native int PtListDeleteItemPos(int widget, int item_count, int position); 731 public static final native void PtListGotoPos(int widget, int pos); 732 public static final native int PtListItemPos(int widget, byte[] item); 733 public static final native int PtListReplaceItemPos(int widget, int[] new_items, int item_count, int position); 734 public static final native void PtListSelectPos(int widget, int pos); 735 public static final native void PtListUnselectPos(int widget, int pos); 736 public static final native void PtMainLoop(); 737 public static final native int PtMenu(); 738 public static final native int PtMenuBar(); 739 public static final native int PtMenuButton(); 740 public static final native int PtMultiText(); 741 public static final native int PtNextTopLevelWidget(int widget); 742 public static final native int PtNumericInteger (); 743 public static final native int PtPane(); 744 public static final native int PtPanelGroup(); 745 public static final native void PtPositionMenu(int widget, PhEvent_t event); 746 public static final native int PtProgress(); 747 public static final native int PtReParentWidget(int widget, int parent); 748 public static final native int PtRealizeWidget(int widget); 749 public static final native int PtRegion(); 750 public static final native int PtRelease(); 751 public static final native void PtRemoveCallback(int widget, int callback_type, int callback, int data); 752 public static final native void PtRemoveHotkeyHandler(int widget, int key_sym_cap, int key_mods, short flags, int data, int callback); 753 public static final native int PtScrollArea(); 754 public static final native int PtScrollContainer(); 755 public static final native int PtScrollbar(); 756 public static final native void PtSendEventToWidget(int widget, int event); 757 public static final native int PtSeparator(); 758 public static final native int PtSetAreaFromWidgetCanvas(int widget, PhRect_t canvas_rect, PhArea_t area); 759 public static final native int PtSetParentWidget(int widget); 760 public static final native int PtSetResource(int widget, int type, int value, int length); 761 public static final native int PtSetResources(int widget, int n_args, int[] args); 762 public static final native int PtSlider(); 763 public static final native void PtSuperClassDraw(int wc_ref, int widget, int damage); 764 public static final native int PtSyncWidget(int widget); 765 public static final native int PtText(); 766 public static final native int PtTextGetSelection(int widget, int[] start, int[] end); 767 public static final native int PtTextModifyText(int widget, int start, int end, int insert_pos, byte[] text, int length); 768 public static final native int PtTextModifyText(int widget, int start, int end, int insert_pos, int text, int length); 769 public static final native int PtTextSetSelection(int widget, int[] start, int[] end); 770 public static final native int PtTimer(); 771 public static final native int PtToggleButton(); 772 public static final native int PtToolbar(); 773 public static final native void PtUnblockWindows(int bl); 774 public static final native int PtUnrealizeWidget(int widget); 775 public static final native int PtValidParent(int widget_parent, int class_ref); 776 public static final native int PtWebClient(); 777 public static final native int PtWidgetArea(int widget, PhArea_t area); 778 public static final native int PtWidgetBrotherBehind(int widget); 779 public static final native int PtWidgetBrotherInFront(int widget); 780 public static final native int PtWidgetCanvas(int widget, int canvas_rect); 781 public static final native int PtWidgetCanvas(int widget, PhRect_t canvas_rect); 782 public static final native int PtWidgetChildBack(int widget); 783 public static final native int PtWidgetChildFront(int widget); 784 public static final native int PtWidgetClass(int widget); 785 public static final native int PtWidgetExtent(int widget, int extent); 786 public static final native int PtWidgetExtent(int widget, PhRect_t extent); 787 public static final native int PtWidgetFlags(int widget); 788 public static final native int PtWidgetInsert(int widget, int new_sibling, int behind); 789 public static final native int PtWidgetIsClassMember(int widget, int clazz); 790 public static final native boolean PtWidgetIsRealized(int widget); 791 public static final native int PtWidgetOffset(int widget, PhPoint_t offset); 792 public static final native int PtWidgetParent(int widget); 793 public static final native int PtWidgetPreferredSize(int widget, PhDim_t dim); 794 public static final native int PtWidgetRid(int widget); 795 public static final native int PtWidgetToBack(int widget); 796 public static final native int PtWidgetToFront(int widget); 797 public static final native int PtWindow(); 798 public static final native int PtWindowFocus(int widget); 799 public static final native int PtWindowGetState(int widget); 800 public static final native void PtWindowToBack(int widget); 801 public static final native void PtWindowToFront(int widget); 802 public static final native void free(int ptr); 803 public static final native int getenv(byte[] name); 804 public static final native int malloc(int size); 805 public static final native void memmove(int dest, PhPoint_t src, int size); 806 public static final native void memmove(int[] dest, int src, int size); 807 public static final native void memmove(int dest, int[] src, int size); 808 public static final native void memmove(int dest, PhTile_t src, int size); 809 public static final native void memmove(PhTile_t dest, int src, int size); 810 public static final native void memmove(PtCallbackInfo_t dest, int src, int size); 811 public static final native void memmove(PhWindowEvent_t dest, int src, int size); 812 public static final native void memmove(byte[] dest, int src, int size); 813 public static final native void memmove(int dest, byte[] src, int size); 814 public static final native void memmove(int dest, PhRect_t src, int size); 815 public static final native void memmove(PhRect_t dest, int src, int size); 816 public static final native void memmove(short[] dest, int src, int size); 817 public static final native void memmove(int dest, int src, int size); 818 public static final native void memmove(int dest, PhImage_t src, int size); 819 public static final native void memmove(PhImage_t dest, int src, int size); 820 public static final native void memmove(FontDetails dest, int src, int size); 821 public static final native void memmove(int dest, PhPointerEvent_t src, int size); 822 public static final native void memmove(PhPointerEvent_t dest, int src, int size); 823 public static final native void memmove(PhEvent_t dest, int src, int size); 824 public static final native void memmove(int dest, PhEvent_t src, int size); 825 public static final native void memmove(PhKeyEvent_t dest, int src, int size); 826 public static final native void memmove(PtScrollbarCallback_t dest, int src, int size); 827 public static final native void memmove(int dest, PhArea_t src, int size); 828 public static final native void memmove(PgAlpha_t dest, int src, int size); 829 public static final native void memmove(int dest, PgAlpha_t src, int size); 830 public static final native void memmove(PtTextCallback_t dest, int src, int size); 831 public static final native void memmove(int dest, PtTextCallback_t src, int size); 832 public static final native void memmove(PgMap_t dest, int src, int size); 833 public static final native void memmove(int dest, PhCursorDef_t src, int size); 834 public static final native void memmove(PhClipHeader dest, int src, int size); 835 public static final native void memmove(byte[] dest, PhClipHeader src, int size); 836 public static final native void memmove(PtWebStatusCallback_t dest, int src, int size); 837 public static final native void memmove(PtWebDataReqCallback_t dest, int src, int size); 838 public static final native void memmove(PtWebWindowCallback_t dest, int src, int size); 839 public static final native void memmove(PtWebMetaDataCallback_t dest, int src, int size); 840 public static final native void memmove(int dest, PtWebClientData_t src, int size); 841 public static final native void memset(int dest, int c, int length); 842 public static final native int strdup(int string); 843 public static final native int strlen(int string); 844 public static final native int uname(utsname udata); 845 846 } 847 | Popular Tags |