diff options
author | Steve Northover | 2004-08-10 22:08:59 +0000 |
---|---|---|
committer | Steve Northover | 2004-08-10 22:08:59 +0000 |
commit | 73689a8a220b036d97224b0ca3c5b0b6a7948c55 (patch) | |
tree | c4b7751fd9d9d143eaea322fe3f8a9a1d012cf54 | |
parent | 6dc9967069dd28c50603bd1249587ea05c6cccac (diff) | |
download | eclipse.platform.swt-73689a8a220b036d97224b0ca3c5b0b6a7948c55.tar.gz eclipse.platform.swt-73689a8a220b036d97224b0ca3c5b0b6a7948c55.tar.xz eclipse.platform.swt-73689a8a220b036d97224b0ca3c5b0b6a7948c55.zip |
5016
10 files changed, 593 insertions, 431 deletions
diff --git a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/org.eclipse.swt.internal.carbon.OS.properties b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/org.eclipse.swt.internal.carbon.OS.properties index 69da2ce49b..2b2c8c9fff 100644 --- a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/org.eclipse.swt.internal.carbon.OS.properties +++ b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/org.eclipse.swt.internal.carbon.OS.properties @@ -2106,6 +2106,11 @@ OS_GetWindowRegion_0=cast=(WindowRef) OS_GetWindowRegion_1=cast=(WindowRegionCode) OS_GetWindowRegion_2=cast=(RgnHandle) +OS_GetWindowResizeLimits= +OS_GetWindowResizeLimits_0=cast=WindowRef +OS_GetWindowResizeLimits_1=cast=HISize * +OS_GetWindowResizeLimits_2=cast=HISize * + OS_GetWindowStructureWidths= OS_GetWindowStructureWidths_0=cast=(WindowRef) OS_GetWindowStructureWidths_1=cast=(Rect *) @@ -3341,6 +3346,11 @@ OS_SetWindowModality_0=cast=(WindowRef) OS_SetWindowModality_1=cast=(WindowModality) OS_SetWindowModality_2=cast=(WindowRef) +OS_SetWindowResizeLimits= +OS_SetWindowResizeLimits_0=cast=WindowRef +OS_SetWindowResizeLimits_1=cast=(HISize *) +OS_SetWindowResizeLimits_2=cast=(HISize *) + OS_SetWindowTitleWithCFString= OS_SetWindowTitleWithCFString_0=cast=(WindowRef) OS_SetWindowTitleWithCFString_1=cast=(CFStringRef) diff --git a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/org.eclipse.swt.internal.gtk.OS.properties b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/org.eclipse.swt.internal.gtk.OS.properties index c948dba2a7..a4cfceb08e 100644 --- a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/org.eclipse.swt.internal.gtk.OS.properties +++ b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/org.eclipse.swt.internal.gtk.OS.properties @@ -163,6 +163,19 @@ GdkGCValues_line_style=cast=(GdkLineStyle) GdkGCValues_cap_style=cast=(GdkCapStyle) GdkGCValues_join_style=cast=(GdkJoinStyle) +org_eclipse_swt_internal_gtk_GdkGeometry= +GdkGeometry_min_width= +GdkGeometry_min_height= +GdkGeometry_max_width= +GdkGeometry_max_height= +GdkGeometry_base_width= +GdkGeometry_base_height= +GdkGeometry_width_inc= +GdkGeometry_height_inc= +GdkGeometry_min_aspect= +GdkGeometry_max_aspect= +GdkGeometry_win_gravity= + org_eclipse_swt_internal_gtk_GdkImage= GdkImage_type=cast=(GdkImageType) GdkImage_visual=cast=(GdkVisual *) @@ -488,6 +501,8 @@ OS_GdkEvent_sizeof= OS_GdkGCValues_sizeof= +OS_GdkGeometry_sizeof= + OS_GdkImage_sizeof= OS_GdkRectangle_sizeof= @@ -3299,6 +3314,12 @@ OS_gtk_window_set_destroy_with_parent= OS_gtk_window_set_destroy_with_parent_0=cast=(GtkWindow *) OS_gtk_window_set_destroy_with_parent_1=cast=(gboolean) +OS_gtk_window_set_geometry_hints= +OS_gtk_window_set_geometry_hints_0=cast=GtkWindow * +OS_gtk_window_set_geometry_hints_1=cast=(GtkWidget *) +OS_gtk_window_set_geometry_hints_2= +OS_gtk_window_set_geometry_hints_3= + OS_gtk_window_set_modal= OS_gtk_window_set_modal_0=cast=(GtkWindow *) OS_gtk_window_set_modal_1=cast=(gboolean) diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/os.c b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/os.c index bed2b157eb..1fafa2ff81 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/os.c +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/os.c @@ -1,13 +1,13 @@ /******************************************************************************* - * Copyright (c) 2000, 2004 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ +* Copyright (c) 2000, 2004 IBM Corporation and others. +* All rights reserved. This program and the accompanying materials +* are made available under the terms of the Common Public License v1.0 +* which accompanies this distribution, and is available at +* http://www.eclipse.org/legal/cpl-v10.html +* +* Contributors: +* IBM Corporation - initial API and implementation +*******************************************************************************/ #include "swt.h" #include "os_structs.h" @@ -5324,6 +5324,24 @@ JNIEXPORT jint JNICALL OS_NATIVE(GetWindowRegion) } #endif +#ifndef NO_GetWindowResizeLimits +JNIEXPORT jint JNICALL OS_NATIVE(GetWindowResizeLimits) + (JNIEnv *env, jclass that, jint arg0, jobject arg1, jobject arg2) +{ + CGPoint _arg1, *lparg1=NULL; + CGPoint _arg2, *lparg2=NULL; + jint rc; + OS_NATIVE_ENTER(env, that, GetWindowResizeLimits_FUNC); + if (arg1) lparg1 = getCGPointFields(env, arg1, &_arg1); + if (arg2) lparg2 = getCGPointFields(env, arg2, &_arg2); + rc = (jint)GetWindowResizeLimits((WindowRef)arg0, (HISize *)lparg1, (HISize *)lparg2); + if (arg2) setCGPointFields(env, arg2, lparg2); + if (arg1) setCGPointFields(env, arg1, lparg1); + OS_NATIVE_EXIT(env, that, GetWindowResizeLimits_FUNC); + return rc; +} +#endif + #ifndef NO_GetWindowStructureWidths JNIEXPORT void JNICALL OS_NATIVE(GetWindowStructureWidths) (JNIEnv *env, jclass that, jint arg0, jobject arg1) @@ -8988,6 +9006,24 @@ JNIEXPORT jint JNICALL OS_NATIVE(SetWindowModality) } #endif +#ifndef NO_SetWindowResizeLimits +JNIEXPORT jint JNICALL OS_NATIVE(SetWindowResizeLimits) + (JNIEnv *env, jclass that, jint arg0, jobject arg1, jobject arg2) +{ + CGPoint _arg1, *lparg1=NULL; + CGPoint _arg2, *lparg2=NULL; + jint rc; + OS_NATIVE_ENTER(env, that, SetWindowResizeLimits_FUNC); + if (arg1) lparg1 = getCGPointFields(env, arg1, &_arg1); + if (arg2) lparg2 = getCGPointFields(env, arg2, &_arg2); + rc = (jint)SetWindowResizeLimits((WindowRef)arg0, (HISize *)lparg1, (HISize *)lparg2); + if (arg2) setCGPointFields(env, arg2, lparg2); + if (arg1) setCGPointFields(env, arg1, lparg1); + OS_NATIVE_EXIT(env, that, SetWindowResizeLimits_FUNC); + return rc; +} +#endif + #ifndef NO_SetWindowTitleWithCFString JNIEXPORT jint JNICALL OS_NATIVE(SetWindowTitleWithCFString) (JNIEnv *env, jclass that, jint arg0, jint arg1) diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/os_stats.c b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/os_stats.c index 5722bc5181..374d15c436 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/os_stats.c +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/os_stats.c @@ -1,21 +1,21 @@ /******************************************************************************* - * Copyright (c) 2000, 2004 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ +* Copyright (c) 2000, 2004 IBM Corporation and others. +* All rights reserved. This program and the accompanying materials +* are made available under the terms of the Common Public License v1.0 +* which accompanies this distribution, and is available at +* http://www.eclipse.org/legal/cpl-v10.html +* +* Contributors: +* IBM Corporation - initial API and implementation +*******************************************************************************/ #include "swt.h" #include "os_structs.h" #ifdef NATIVE_STATS -int OS_nativeFunctionCount = 747; -int OS_nativeFunctionCallCount[747]; +int OS_nativeFunctionCount = 749; +int OS_nativeFunctionCallCount[749]; char * OS_nativeFunctionNames[] = { "AECountItems", "AEGetNthPtr", @@ -396,6 +396,7 @@ char * OS_nativeFunctionNames[] = { "GetWindowModality", "GetWindowPort", "GetWindowRegion", + "GetWindowResizeLimits", "GetWindowStructureWidths", "HIComboBoxAppendTextItem", "HIComboBoxCopyTextItemAtIndex", @@ -680,6 +681,7 @@ char * OS_nativeFunctionNames[] = { "SetWindowGroupOwner", "SetWindowGroupParent", "SetWindowModality", + "SetWindowResizeLimits", "SetWindowTitleWithCFString", "ShowWindow", "SizeControl", diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/os_stats.h b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/os_stats.h index 287a69507e..074a96c60a 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/os_stats.h +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/os_stats.h @@ -1,13 +1,13 @@ /******************************************************************************* - * Copyright (c) 2000, 2004 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ +* Copyright (c) 2000, 2004 IBM Corporation and others. +* All rights reserved. This program and the accompanying materials +* are made available under the terms of the Common Public License v1.0 +* which accompanies this distribution, and is available at +* http://www.eclipse.org/legal/cpl-v10.html +* +* Contributors: +* IBM Corporation - initial API and implementation +*******************************************************************************/ #ifdef NATIVE_STATS int OS_nativeFunctionCallCount[]; @@ -398,371 +398,373 @@ char* OS_nativeFunctionNames[]; #define GetWindowModality_FUNC 376 #define GetWindowPort_FUNC 377 #define GetWindowRegion_FUNC 378 -#define GetWindowStructureWidths_FUNC 379 -#define HIComboBoxAppendTextItem_FUNC 380 -#define HIComboBoxCopyTextItemAtIndex_FUNC 381 -#define HIComboBoxCreate_FUNC 382 -#define HIComboBoxGetItemCount_FUNC 383 -#define HIComboBoxInsertTextItemAtIndex_FUNC 384 -#define HIComboBoxRemoveItemAtIndex_FUNC 385 -#define HIObjectCopyClassID_FUNC 386 -#define HIObjectCreate_FUNC 387 -#define HIObjectRegisterSubclass_FUNC 388 -#define HIViewAddSubview_FUNC 389 -#define HIViewClick_FUNC 390 -#define HIViewConvertPoint_FUNC 391 -#define HIViewCreateOffscreenImage_FUNC 392 -#define HIViewFindByID_FUNC 393 -#define HIViewGetFirstSubview_FUNC 394 -#define HIViewGetFrame_FUNC 395 -#define HIViewGetLastSubview_FUNC 396 -#define HIViewGetNextView_FUNC 397 -#define HIViewGetRoot_FUNC 398 -#define HIViewGetSizeConstraints_FUNC 399 -#define HIViewGetSubviewHit_FUNC 400 -#define HIViewGetViewForMouseEvent_FUNC 401 -#define HIViewIsVisible_FUNC 402 -#define HIViewRemoveFromSuperview_FUNC 403 -#define HIViewSetBoundsOrigin_FUNC 404 -#define HIViewSetDrawingEnabled_FUNC 405 -#define HIViewSetFrame_FUNC 406 -#define HIViewSetNeedsDisplay_FUNC 407 -#define HIViewSetNeedsDisplayInRegion_FUNC 408 -#define HIViewSetVisible_FUNC 409 -#define HIViewSetZOrder_FUNC 410 -#define HIViewSimulateClick_FUNC 411 -#define HLock_FUNC 412 -#define HMGetTagDelay_FUNC 413 -#define HMHideTag_FUNC 414 -#define HMInstallControlContentCallback_FUNC 415 -#define HMSetTagDelay_FUNC 416 -#define HUnlock_FUNC 417 -#define HandleControlClick_FUNC 418 -#define HandleControlSetCursor_FUNC 419 -#define HiWord_FUNC 420 -#define HideWindow_FUNC 421 -#define HiliteMenu_FUNC 422 -#define IconRefToIconFamily_FUNC 423 -#define InitContextualMenus_FUNC 424 -#define InitCursor_FUNC 425 -#define InitDataBrowserCallbacks_FUNC 426 -#define InitDataBrowserCustomCallbacks_FUNC 427 -#define InsertMenu_FUNC 428 -#define InsertMenuItemTextWithCFString_FUNC 429 -#define InstallEventHandler_FUNC 430 -#define InstallEventLoopTimer_FUNC 431 -#define InstallReceiveHandler_FUNC 432 -#define InstallTrackingHandler_FUNC 433 -#define InvalWindowRect_FUNC 434 -#define InvalWindowRgn_FUNC 435 -#define InvertRect_FUNC 436 -#define InvertRgn_FUNC 437 -#define IsControlActive_FUNC 438 -#define IsControlEnabled_FUNC 439 -#define IsControlVisible_FUNC 440 -#define IsDataBrowserItemSelected_FUNC 441 -#define IsMenuCommandEnabled_FUNC 442 -#define IsMenuItemEnabled_FUNC 443 -#define IsValidControlHandle_FUNC 444 -#define IsValidMenu_FUNC 445 -#define IsValidWindowPtr_FUNC 446 -#define IsWindowActive_FUNC 447 -#define IsWindowCollapsed_FUNC 448 -#define IsWindowVisible_FUNC 449 -#define KeyTranslate_FUNC 450 -#define KillPoly_FUNC 451 -#define LineTo_FUNC 452 -#define LoWord_FUNC 453 -#define LockPortBits_FUNC 454 -#define Long2Fix_FUNC 455 -#define MenuSelect_FUNC 456 -#define MoveControl_FUNC 457 -#define MoveTo_FUNC 458 -#define MoveWindow_FUNC 459 -#define NavCreateChooseFolderDialog_FUNC 460 -#define NavCreateGetFileDialog_FUNC 461 -#define NavCreatePutFileDialog_FUNC 462 -#define NavDialogDispose_FUNC 463 -#define NavDialogGetReply_FUNC 464 -#define NavDialogGetSaveFileName_FUNC 465 -#define NavDialogGetUserAction_FUNC 466 -#define NavDialogRun_FUNC 467 -#define NavDialogSetSaveFileName_FUNC 468 -#define NavGetDefaultDialogCreationOptions_FUNC 469 -#define NewControl_FUNC 470 -#define NewDrag_FUNC 471 -#define NewGWorldFromPtr_FUNC 472 -#define NewHandle_FUNC 473 -#define NewHandleClear_FUNC 474 -#define NewPtr_FUNC 475 -#define NewPtrClear_FUNC 476 -#define NewRgn_FUNC 477 -#define OffsetRect_FUNC 478 -#define OffsetRgn_FUNC 479 -#define OpenDataBrowserContainer_FUNC 480 -#define OpenPoly_FUNC 481 -#define OpenRgn_FUNC 482 -#define PMCreatePageFormat_FUNC 483 -#define PMCreatePrintSettings_FUNC 484 -#define PMCreateSession_FUNC 485 -#define PMFlattenPageFormat_FUNC 486 -#define PMFlattenPrintSettings_FUNC 487 -#define PMGetAdjustedPageRect_FUNC 488 -#define PMGetAdjustedPaperRect_FUNC 489 -#define PMGetCollate_FUNC 490 -#define PMGetCopies_FUNC 491 -#define PMGetFirstPage_FUNC 492 -#define PMGetJobNameCFString_FUNC 493 -#define PMGetLastPage_FUNC 494 -#define PMGetPageRange_FUNC 495 -#define PMGetResolution_FUNC 496 -#define PMRelease_FUNC 497 -#define PMSessionBeginDocumentNoDialog_FUNC 498 -#define PMSessionBeginPageNoDialog_FUNC 499 -#define PMSessionCopyDestinationLocation_FUNC 500 -#define PMSessionCreatePrinterList_FUNC 501 -#define PMSessionDefaultPageFormat_FUNC 502 -#define PMSessionDefaultPrintSettings_FUNC 503 -#define PMSessionEndDocumentNoDialog_FUNC 504 -#define PMSessionEndPageNoDialog_FUNC 505 -#define PMSessionError_FUNC 506 -#define PMSessionGetDestinationType_FUNC 507 -#define PMSessionGetGraphicsContext_FUNC 508 -#define PMSessionPageSetupDialog_FUNC 509 -#define PMSessionPrintDialog_FUNC 510 -#define PMSessionSetCurrentPrinter_FUNC 511 -#define PMSessionSetDestination_FUNC 512 -#define PMSessionSetDocumentFormatGeneration_FUNC 513 -#define PMSessionSetError_FUNC 514 -#define PMSessionUseSheets_FUNC 515 -#define PMSessionValidatePageFormat_FUNC 516 -#define PMSessionValidatePrintSettings_FUNC 517 -#define PMSetCollate_FUNC 518 -#define PMSetFirstPage_FUNC 519 -#define PMSetJobNameCFString_FUNC 520 -#define PMSetLastPage_FUNC 521 -#define PMSetPageRange_FUNC 522 -#define PMUnflattenPageFormat_FUNC 523 -#define PMUnflattenPrintSettings_FUNC 524 -#define PaintOval_FUNC 525 -#define PaintPoly_FUNC 526 -#define PaintRect_FUNC 527 -#define PaintRoundRect_FUNC 528 -#define PenSize_FUNC 529 -#define PickColor_FUNC 530 -#define PopUpMenuSelect_FUNC 531 -#define PostEvent_FUNC 532 -#define PostEventToQueue_FUNC 533 -#define PtInRect_FUNC 534 -#define PtInRgn_FUNC 535 -#define PutScrapFlavor_FUNC 536 -#define QDBeginCGContext_FUNC 537 -#define QDEndCGContext_FUNC 538 -#define QDFlushPortBuffer_FUNC 539 -#define QDGlobalToLocalPoint_FUNC 540 -#define QDLocalToGlobalPoint_FUNC 541 -#define QDSetDirtyRegion_FUNC 542 -#define QDSetPatternOrigin_FUNC 543 -#define QDSwapTextFlags_FUNC 544 -#define RGBBackColor_FUNC 545 -#define RGBForeColor_FUNC 546 -#define ReceiveNextEvent_FUNC 547 -#define RectInRgn_FUNC 548 -#define RectRgn_FUNC 549 -#define RegisterAppearanceClient_FUNC 550 -#define ReleaseEvent_FUNC 551 -#define ReleaseIconRef_FUNC 552 -#define ReleaseMenu_FUNC 553 -#define ReleaseWindow_FUNC 554 -#define ReleaseWindowGroup_FUNC 555 -#define RemoveControlProperty_FUNC 556 -#define RemoveDataBrowserItems_FUNC 557 -#define RemoveDataBrowserTableViewColumn_FUNC 558 -#define RemoveEventHandler_FUNC 559 -#define RemoveEventLoopTimer_FUNC 560 -#define RemoveReceiveHandler_FUNC 561 -#define RemoveTrackingHandler_FUNC 562 -#define RepositionWindow_FUNC 563 -#define ReshapeCustomWindow_FUNC 564 -#define RetainEvent_FUNC 565 -#define RetainMenu_FUNC 566 -#define RetainWindow_FUNC 567 -#define RevealDataBrowserItem_FUNC 568 -#define RunStandardAlert_FUNC 569 -#define ScrollRect_FUNC 570 -#define SectRect_FUNC 571 -#define SectRgn_FUNC 572 -#define SelectWindow_FUNC 573 -#define SendBehind_FUNC 574 -#define SendEventToEventTarget_FUNC 575 -#define SetBevelButtonContentInfo_FUNC 576 -#define SetClip_FUNC 577 -#define SetControl32BitMaximum_FUNC 578 -#define SetControl32BitMinimum_FUNC 579 -#define SetControl32BitValue_FUNC 580 -#define SetControlAction_FUNC 581 -#define SetControlBounds_FUNC 582 -#define SetControlColorProc_FUNC 583 -#define SetControlData__IIIII_FUNC 584 -#define SetControlData__IIIILorg_eclipse_swt_internal_carbon_ControlButtonContentInfo_2_FUNC 585 -#define SetControlData__IIIILorg_eclipse_swt_internal_carbon_ControlTabInfoRecV1_2_FUNC 586 -#define SetControlData__IIIILorg_eclipse_swt_internal_carbon_Rect_2_FUNC 587 -#define SetControlData__IIII_3B_FUNC 588 -#define SetControlData__IIII_3I_FUNC 589 -#define SetControlData__IIII_3S_FUNC 590 -#define SetControlFontStyle_FUNC 591 -#define SetControlPopupMenuHandle_FUNC 592 -#define SetControlProperty_FUNC 593 -#define SetControlReference_FUNC 594 -#define SetControlTitleWithCFString_FUNC 595 -#define SetControlViewSize_FUNC 596 -#define SetControlVisibility_FUNC 597 -#define SetCursor_FUNC 598 -#define SetDataBrowserCallbacks_FUNC 599 -#define SetDataBrowserCustomCallbacks_FUNC 600 -#define SetDataBrowserHasScrollBars_FUNC 601 -#define SetDataBrowserItemDataBooleanValue_FUNC 602 -#define SetDataBrowserItemDataButtonValue_FUNC 603 -#define SetDataBrowserItemDataIcon_FUNC 604 -#define SetDataBrowserItemDataItemID_FUNC 605 -#define SetDataBrowserItemDataText_FUNC 606 -#define SetDataBrowserListViewDisclosureColumn_FUNC 607 -#define SetDataBrowserListViewHeaderBtnHeight_FUNC 608 -#define SetDataBrowserListViewHeaderDesc_FUNC 609 -#define SetDataBrowserScrollPosition_FUNC 610 -#define SetDataBrowserSelectedItems_FUNC 611 -#define SetDataBrowserSelectionFlags_FUNC 612 -#define SetDataBrowserSortOrder_FUNC 613 -#define SetDataBrowserTableViewColumnPosition_FUNC 614 -#define SetDataBrowserTableViewHiliteStyle_FUNC 615 -#define SetDataBrowserTableViewItemRow_FUNC 616 -#define SetDataBrowserTableViewNamedColumnWidth_FUNC 617 -#define SetDataBrowserTarget_FUNC 618 -#define SetDragAllowableActions_FUNC 619 -#define SetDragDropAction_FUNC 620 -#define SetDragInputProc_FUNC 621 -#define SetEventLoopTimerNextFireTime_FUNC 622 -#define SetEventParameter__IIII_3C_FUNC 623 -#define SetEventParameter__IIII_3S_FUNC 624 -#define SetFontInfoForSelection_FUNC 625 -#define SetFrontProcess_FUNC 626 -#define SetFrontProcessWithOptions_FUNC 627 -#define SetGWorld_FUNC 628 -#define SetItemMark_FUNC 629 -#define SetKeyboardFocus_FUNC 630 -#define SetMenuCommandMark_FUNC 631 -#define SetMenuFont_FUNC 632 -#define SetMenuItemCommandKey_FUNC 633 -#define SetMenuItemHierarchicalMenu_FUNC 634 -#define SetMenuItemIconHandle_FUNC 635 -#define SetMenuItemKeyGlyph_FUNC 636 -#define SetMenuItemModifiers_FUNC 637 -#define SetMenuItemRefCon_FUNC 638 -#define SetMenuItemTextWithCFString_FUNC 639 -#define SetMenuTitleWithCFString_FUNC 640 -#define SetOrigin_FUNC 641 -#define SetPort_FUNC 642 -#define SetPortBounds_FUNC 643 -#define SetPortWindowPort_FUNC 644 -#define SetPt_FUNC 645 -#define SetRect_FUNC 646 -#define SetRectRgn_FUNC 647 -#define SetRootMenu_FUNC 648 -#define SetThemeBackground_FUNC 649 -#define SetThemeCursor_FUNC 650 -#define SetThemeDrawingState_FUNC 651 -#define SetThemeTextColor_FUNC 652 -#define SetThemeWindowBackground_FUNC 653 -#define SetUpControlBackground_FUNC 654 -#define SetWRefCon_FUNC 655 -#define SetWindowActivationScope_FUNC 656 -#define SetWindowBounds_FUNC 657 -#define SetWindowDefaultButton_FUNC 658 -#define SetWindowGroup_FUNC 659 -#define SetWindowGroupOwner_FUNC 660 -#define SetWindowGroupParent_FUNC 661 -#define SetWindowModality_FUNC 662 -#define SetWindowTitleWithCFString_FUNC 663 -#define ShowWindow_FUNC 664 -#define SizeControl_FUNC 665 -#define SizeWindow_FUNC 666 -#define StillDown_FUNC 667 -#define SyncCGContextOriginWithPort_FUNC 668 -#define SysBeep_FUNC 669 -#define TXNActivate_FUNC 670 -#define TXNAdjustCursor_FUNC 671 -#define TXNClick_FUNC 672 -#define TXNCopy_FUNC 673 -#define TXNCut_FUNC 674 -#define TXNDataSize_FUNC 675 -#define TXNDeleteObject_FUNC 676 -#define TXNDraw_FUNC 677 -#define TXNEchoMode_FUNC 678 -#define TXNFocus_FUNC 679 -#define TXNGetData_FUNC 680 -#define TXNGetLineCount_FUNC 681 -#define TXNGetLineMetrics_FUNC 682 -#define TXNGetRectBounds_FUNC 683 -#define TXNGetSelection_FUNC 684 -#define TXNGetTXNObjectControls_FUNC 685 -#define TXNGetViewRect_FUNC 686 -#define TXNInitTextension_FUNC 687 -#define TXNNewObject_FUNC 688 -#define TXNOffsetToPoint_FUNC 689 -#define TXNPaste_FUNC 690 -#define TXNPointToOffset_FUNC 691 -#define TXNSelectAll_FUNC 692 -#define TXNSetBackground_FUNC 693 -#define TXNSetData_FUNC 694 -#define TXNSetFrameBounds_FUNC 695 -#define TXNSetRectBounds_FUNC 696 -#define TXNSetSelection_FUNC 697 -#define TXNSetTXNObjectControls_FUNC 698 -#define TXNSetTypeAttributes_FUNC 699 -#define TXNShowSelection_FUNC 700 -#define TestControl_FUNC 701 -#define TextFace_FUNC 702 -#define TextFont_FUNC 703 -#define TextMode_FUNC 704 -#define TextSize_FUNC 705 -#define TextWidth_FUNC 706 -#define TrackDrag_FUNC 707 -#define TrackMouseLocationWithOptions_FUNC 708 -#define UnionRect_FUNC 709 -#define UnionRgn_FUNC 710 -#define UnlockPortBits_FUNC 711 -#define UpdateControls_FUNC 712 -#define UpdateDataBrowserItems_FUNC 713 -#define UpgradeScriptInfoToTextEncoding_FUNC 714 -#define WaitMouseMoved_FUNC 715 -#define X2Fix_FUNC 716 -#define ZoomWindowIdeal_FUNC 717 -#define kHIViewWindowContentID_FUNC 718 -#define kPMDocumentFormatPDF_FUNC 719 -#define kPMGraphicsContextCoreGraphics_FUNC 720 -#define memcpy__III_FUNC 721 -#define memcpy__ILorg_eclipse_swt_internal_carbon_ATSUTab_2I_FUNC 722 -#define memcpy__ILorg_eclipse_swt_internal_carbon_BitMap_2I_FUNC 723 -#define memcpy__ILorg_eclipse_swt_internal_carbon_Cursor_2I_FUNC 724 -#define memcpy__ILorg_eclipse_swt_internal_carbon_EventRecord_2I_FUNC 725 -#define memcpy__ILorg_eclipse_swt_internal_carbon_FontSelectionQDStyle_2I_FUNC 726 -#define memcpy__ILorg_eclipse_swt_internal_carbon_HMHelpContentRec_2I_FUNC 727 -#define memcpy__ILorg_eclipse_swt_internal_carbon_PixMap_2I_FUNC 728 -#define memcpy__ILorg_eclipse_swt_internal_carbon_RGBColor_2I_FUNC 729 -#define memcpy__ILorg_eclipse_swt_internal_carbon_Rect_2I_FUNC 730 -#define memcpy__I_3BI_FUNC 731 -#define memcpy__I_3CI_FUNC 732 -#define memcpy__I_3II_FUNC 733 -#define memcpy__Lorg_eclipse_swt_internal_carbon_ATSTrapezoid_2II_FUNC 734 -#define memcpy__Lorg_eclipse_swt_internal_carbon_FontSelectionQDStyle_2II_FUNC 735 -#define memcpy__Lorg_eclipse_swt_internal_carbon_GDevice_2II_FUNC 736 -#define memcpy__Lorg_eclipse_swt_internal_carbon_HMHelpContentRec_2II_FUNC 737 -#define memcpy__Lorg_eclipse_swt_internal_carbon_PixMap_2II_FUNC 738 -#define memcpy__Lorg_eclipse_swt_internal_carbon_Rect_2II_FUNC 739 -#define memcpy___3BII_FUNC 740 -#define memcpy___3B_3CI_FUNC 741 -#define memcpy___3CII_FUNC 742 -#define memcpy___3C_3BI_FUNC 743 -#define memcpy___3FII_FUNC 744 -#define memcpy___3III_FUNC 745 -#define memset_FUNC 746 +#define GetWindowResizeLimits_FUNC 379 +#define GetWindowStructureWidths_FUNC 380 +#define HIComboBoxAppendTextItem_FUNC 381 +#define HIComboBoxCopyTextItemAtIndex_FUNC 382 +#define HIComboBoxCreate_FUNC 383 +#define HIComboBoxGetItemCount_FUNC 384 +#define HIComboBoxInsertTextItemAtIndex_FUNC 385 +#define HIComboBoxRemoveItemAtIndex_FUNC 386 +#define HIObjectCopyClassID_FUNC 387 +#define HIObjectCreate_FUNC 388 +#define HIObjectRegisterSubclass_FUNC 389 +#define HIViewAddSubview_FUNC 390 +#define HIViewClick_FUNC 391 +#define HIViewConvertPoint_FUNC 392 +#define HIViewCreateOffscreenImage_FUNC 393 +#define HIViewFindByID_FUNC 394 +#define HIViewGetFirstSubview_FUNC 395 +#define HIViewGetFrame_FUNC 396 +#define HIViewGetLastSubview_FUNC 397 +#define HIViewGetNextView_FUNC 398 +#define HIViewGetRoot_FUNC 399 +#define HIViewGetSizeConstraints_FUNC 400 +#define HIViewGetSubviewHit_FUNC 401 +#define HIViewGetViewForMouseEvent_FUNC 402 +#define HIViewIsVisible_FUNC 403 +#define HIViewRemoveFromSuperview_FUNC 404 +#define HIViewSetBoundsOrigin_FUNC 405 +#define HIViewSetDrawingEnabled_FUNC 406 +#define HIViewSetFrame_FUNC 407 +#define HIViewSetNeedsDisplay_FUNC 408 +#define HIViewSetNeedsDisplayInRegion_FUNC 409 +#define HIViewSetVisible_FUNC 410 +#define HIViewSetZOrder_FUNC 411 +#define HIViewSimulateClick_FUNC 412 +#define HLock_FUNC 413 +#define HMGetTagDelay_FUNC 414 +#define HMHideTag_FUNC 415 +#define HMInstallControlContentCallback_FUNC 416 +#define HMSetTagDelay_FUNC 417 +#define HUnlock_FUNC 418 +#define HandleControlClick_FUNC 419 +#define HandleControlSetCursor_FUNC 420 +#define HiWord_FUNC 421 +#define HideWindow_FUNC 422 +#define HiliteMenu_FUNC 423 +#define IconRefToIconFamily_FUNC 424 +#define InitContextualMenus_FUNC 425 +#define InitCursor_FUNC 426 +#define InitDataBrowserCallbacks_FUNC 427 +#define InitDataBrowserCustomCallbacks_FUNC 428 +#define InsertMenu_FUNC 429 +#define InsertMenuItemTextWithCFString_FUNC 430 +#define InstallEventHandler_FUNC 431 +#define InstallEventLoopTimer_FUNC 432 +#define InstallReceiveHandler_FUNC 433 +#define InstallTrackingHandler_FUNC 434 +#define InvalWindowRect_FUNC 435 +#define InvalWindowRgn_FUNC 436 +#define InvertRect_FUNC 437 +#define InvertRgn_FUNC 438 +#define IsControlActive_FUNC 439 +#define IsControlEnabled_FUNC 440 +#define IsControlVisible_FUNC 441 +#define IsDataBrowserItemSelected_FUNC 442 +#define IsMenuCommandEnabled_FUNC 443 +#define IsMenuItemEnabled_FUNC 444 +#define IsValidControlHandle_FUNC 445 +#define IsValidMenu_FUNC 446 +#define IsValidWindowPtr_FUNC 447 +#define IsWindowActive_FUNC 448 +#define IsWindowCollapsed_FUNC 449 +#define IsWindowVisible_FUNC 450 +#define KeyTranslate_FUNC 451 +#define KillPoly_FUNC 452 +#define LineTo_FUNC 453 +#define LoWord_FUNC 454 +#define LockPortBits_FUNC 455 +#define Long2Fix_FUNC 456 +#define MenuSelect_FUNC 457 +#define MoveControl_FUNC 458 +#define MoveTo_FUNC 459 +#define MoveWindow_FUNC 460 +#define NavCreateChooseFolderDialog_FUNC 461 +#define NavCreateGetFileDialog_FUNC 462 +#define NavCreatePutFileDialog_FUNC 463 +#define NavDialogDispose_FUNC 464 +#define NavDialogGetReply_FUNC 465 +#define NavDialogGetSaveFileName_FUNC 466 +#define NavDialogGetUserAction_FUNC 467 +#define NavDialogRun_FUNC 468 +#define NavDialogSetSaveFileName_FUNC 469 +#define NavGetDefaultDialogCreationOptions_FUNC 470 +#define NewControl_FUNC 471 +#define NewDrag_FUNC 472 +#define NewGWorldFromPtr_FUNC 473 +#define NewHandle_FUNC 474 +#define NewHandleClear_FUNC 475 +#define NewPtr_FUNC 476 +#define NewPtrClear_FUNC 477 +#define NewRgn_FUNC 478 +#define OffsetRect_FUNC 479 +#define OffsetRgn_FUNC 480 +#define OpenDataBrowserContainer_FUNC 481 +#define OpenPoly_FUNC 482 +#define OpenRgn_FUNC 483 +#define PMCreatePageFormat_FUNC 484 +#define PMCreatePrintSettings_FUNC 485 +#define PMCreateSession_FUNC 486 +#define PMFlattenPageFormat_FUNC 487 +#define PMFlattenPrintSettings_FUNC 488 +#define PMGetAdjustedPageRect_FUNC 489 +#define PMGetAdjustedPaperRect_FUNC 490 +#define PMGetCollate_FUNC 491 +#define PMGetCopies_FUNC 492 +#define PMGetFirstPage_FUNC 493 +#define PMGetJobNameCFString_FUNC 494 +#define PMGetLastPage_FUNC 495 +#define PMGetPageRange_FUNC 496 +#define PMGetResolution_FUNC 497 +#define PMRelease_FUNC 498 +#define PMSessionBeginDocumentNoDialog_FUNC 499 +#define PMSessionBeginPageNoDialog_FUNC 500 +#define PMSessionCopyDestinationLocation_FUNC 501 +#define PMSessionCreatePrinterList_FUNC 502 +#define PMSessionDefaultPageFormat_FUNC 503 +#define PMSessionDefaultPrintSettings_FUNC 504 +#define PMSessionEndDocumentNoDialog_FUNC 505 +#define PMSessionEndPageNoDialog_FUNC 506 +#define PMSessionError_FUNC 507 +#define PMSessionGetDestinationType_FUNC 508 +#define PMSessionGetGraphicsContext_FUNC 509 +#define PMSessionPageSetupDialog_FUNC 510 +#define PMSessionPrintDialog_FUNC 511 +#define PMSessionSetCurrentPrinter_FUNC 512 +#define PMSessionSetDestination_FUNC 513 +#define PMSessionSetDocumentFormatGeneration_FUNC 514 +#define PMSessionSetError_FUNC 515 +#define PMSessionUseSheets_FUNC 516 +#define PMSessionValidatePageFormat_FUNC 517 +#define PMSessionValidatePrintSettings_FUNC 518 +#define PMSetCollate_FUNC 519 +#define PMSetFirstPage_FUNC 520 +#define PMSetJobNameCFString_FUNC 521 +#define PMSetLastPage_FUNC 522 +#define PMSetPageRange_FUNC 523 +#define PMUnflattenPageFormat_FUNC 524 +#define PMUnflattenPrintSettings_FUNC 525 +#define PaintOval_FUNC 526 +#define PaintPoly_FUNC 527 +#define PaintRect_FUNC 528 +#define PaintRoundRect_FUNC 529 +#define PenSize_FUNC 530 +#define PickColor_FUNC 531 +#define PopUpMenuSelect_FUNC 532 +#define PostEvent_FUNC 533 +#define PostEventToQueue_FUNC 534 +#define PtInRect_FUNC 535 +#define PtInRgn_FUNC 536 +#define PutScrapFlavor_FUNC 537 +#define QDBeginCGContext_FUNC 538 +#define QDEndCGContext_FUNC 539 +#define QDFlushPortBuffer_FUNC 540 +#define QDGlobalToLocalPoint_FUNC 541 +#define QDLocalToGlobalPoint_FUNC 542 +#define QDSetDirtyRegion_FUNC 543 +#define QDSetPatternOrigin_FUNC 544 +#define QDSwapTextFlags_FUNC 545 +#define RGBBackColor_FUNC 546 +#define RGBForeColor_FUNC 547 +#define ReceiveNextEvent_FUNC 548 +#define RectInRgn_FUNC 549 +#define RectRgn_FUNC 550 +#define RegisterAppearanceClient_FUNC 551 +#define ReleaseEvent_FUNC 552 +#define ReleaseIconRef_FUNC 553 +#define ReleaseMenu_FUNC 554 +#define ReleaseWindow_FUNC 555 +#define ReleaseWindowGroup_FUNC 556 +#define RemoveControlProperty_FUNC 557 +#define RemoveDataBrowserItems_FUNC 558 +#define RemoveDataBrowserTableViewColumn_FUNC 559 +#define RemoveEventHandler_FUNC 560 +#define RemoveEventLoopTimer_FUNC 561 +#define RemoveReceiveHandler_FUNC 562 +#define RemoveTrackingHandler_FUNC 563 +#define RepositionWindow_FUNC 564 +#define ReshapeCustomWindow_FUNC 565 +#define RetainEvent_FUNC 566 +#define RetainMenu_FUNC 567 +#define RetainWindow_FUNC 568 +#define RevealDataBrowserItem_FUNC 569 +#define RunStandardAlert_FUNC 570 +#define ScrollRect_FUNC 571 +#define SectRect_FUNC 572 +#define SectRgn_FUNC 573 +#define SelectWindow_FUNC 574 +#define SendBehind_FUNC 575 +#define SendEventToEventTarget_FUNC 576 +#define SetBevelButtonContentInfo_FUNC 577 +#define SetClip_FUNC 578 +#define SetControl32BitMaximum_FUNC 579 +#define SetControl32BitMinimum_FUNC 580 +#define SetControl32BitValue_FUNC 581 +#define SetControlAction_FUNC 582 +#define SetControlBounds_FUNC 583 +#define SetControlColorProc_FUNC 584 +#define SetControlData__IIIII_FUNC 585 +#define SetControlData__IIIILorg_eclipse_swt_internal_carbon_ControlButtonContentInfo_2_FUNC 586 +#define SetControlData__IIIILorg_eclipse_swt_internal_carbon_ControlTabInfoRecV1_2_FUNC 587 +#define SetControlData__IIIILorg_eclipse_swt_internal_carbon_Rect_2_FUNC 588 +#define SetControlData__IIII_3B_FUNC 589 +#define SetControlData__IIII_3I_FUNC 590 +#define SetControlData__IIII_3S_FUNC 591 +#define SetControlFontStyle_FUNC 592 +#define SetControlPopupMenuHandle_FUNC 593 +#define SetControlProperty_FUNC 594 +#define SetControlReference_FUNC 595 +#define SetControlTitleWithCFString_FUNC 596 +#define SetControlViewSize_FUNC 597 +#define SetControlVisibility_FUNC 598 +#define SetCursor_FUNC 599 +#define SetDataBrowserCallbacks_FUNC 600 +#define SetDataBrowserCustomCallbacks_FUNC 601 +#define SetDataBrowserHasScrollBars_FUNC 602 +#define SetDataBrowserItemDataBooleanValue_FUNC 603 +#define SetDataBrowserItemDataButtonValue_FUNC 604 +#define SetDataBrowserItemDataIcon_FUNC 605 +#define SetDataBrowserItemDataItemID_FUNC 606 +#define SetDataBrowserItemDataText_FUNC 607 +#define SetDataBrowserListViewDisclosureColumn_FUNC 608 +#define SetDataBrowserListViewHeaderBtnHeight_FUNC 609 +#define SetDataBrowserListViewHeaderDesc_FUNC 610 +#define SetDataBrowserScrollPosition_FUNC 611 +#define SetDataBrowserSelectedItems_FUNC 612 +#define SetDataBrowserSelectionFlags_FUNC 613 +#define SetDataBrowserSortOrder_FUNC 614 +#define SetDataBrowserTableViewColumnPosition_FUNC 615 +#define SetDataBrowserTableViewHiliteStyle_FUNC 616 +#define SetDataBrowserTableViewItemRow_FUNC 617 +#define SetDataBrowserTableViewNamedColumnWidth_FUNC 618 +#define SetDataBrowserTarget_FUNC 619 +#define SetDragAllowableActions_FUNC 620 +#define SetDragDropAction_FUNC 621 +#define SetDragInputProc_FUNC 622 +#define SetEventLoopTimerNextFireTime_FUNC 623 +#define SetEventParameter__IIII_3C_FUNC 624 +#define SetEventParameter__IIII_3S_FUNC 625 +#define SetFontInfoForSelection_FUNC 626 +#define SetFrontProcess_FUNC 627 +#define SetFrontProcessWithOptions_FUNC 628 +#define SetGWorld_FUNC 629 +#define SetItemMark_FUNC 630 +#define SetKeyboardFocus_FUNC 631 +#define SetMenuCommandMark_FUNC 632 +#define SetMenuFont_FUNC 633 +#define SetMenuItemCommandKey_FUNC 634 +#define SetMenuItemHierarchicalMenu_FUNC 635 +#define SetMenuItemIconHandle_FUNC 636 +#define SetMenuItemKeyGlyph_FUNC 637 +#define SetMenuItemModifiers_FUNC 638 +#define SetMenuItemRefCon_FUNC 639 +#define SetMenuItemTextWithCFString_FUNC 640 +#define SetMenuTitleWithCFString_FUNC 641 +#define SetOrigin_FUNC 642 +#define SetPort_FUNC 643 +#define SetPortBounds_FUNC 644 +#define SetPortWindowPort_FUNC 645 +#define SetPt_FUNC 646 +#define SetRect_FUNC 647 +#define SetRectRgn_FUNC 648 +#define SetRootMenu_FUNC 649 +#define SetThemeBackground_FUNC 650 +#define SetThemeCursor_FUNC 651 +#define SetThemeDrawingState_FUNC 652 +#define SetThemeTextColor_FUNC 653 +#define SetThemeWindowBackground_FUNC 654 +#define SetUpControlBackground_FUNC 655 +#define SetWRefCon_FUNC 656 +#define SetWindowActivationScope_FUNC 657 +#define SetWindowBounds_FUNC 658 +#define SetWindowDefaultButton_FUNC 659 +#define SetWindowGroup_FUNC 660 +#define SetWindowGroupOwner_FUNC 661 +#define SetWindowGroupParent_FUNC 662 +#define SetWindowModality_FUNC 663 +#define SetWindowResizeLimits_FUNC 664 +#define SetWindowTitleWithCFString_FUNC 665 +#define ShowWindow_FUNC 666 +#define SizeControl_FUNC 667 +#define SizeWindow_FUNC 668 +#define StillDown_FUNC 669 +#define SyncCGContextOriginWithPort_FUNC 670 +#define SysBeep_FUNC 671 +#define TXNActivate_FUNC 672 +#define TXNAdjustCursor_FUNC 673 +#define TXNClick_FUNC 674 +#define TXNCopy_FUNC 675 +#define TXNCut_FUNC 676 +#define TXNDataSize_FUNC 677 +#define TXNDeleteObject_FUNC 678 +#define TXNDraw_FUNC 679 +#define TXNEchoMode_FUNC 680 +#define TXNFocus_FUNC 681 +#define TXNGetData_FUNC 682 +#define TXNGetLineCount_FUNC 683 +#define TXNGetLineMetrics_FUNC 684 +#define TXNGetRectBounds_FUNC 685 +#define TXNGetSelection_FUNC 686 +#define TXNGetTXNObjectControls_FUNC 687 +#define TXNGetViewRect_FUNC 688 +#define TXNInitTextension_FUNC 689 +#define TXNNewObject_FUNC 690 +#define TXNOffsetToPoint_FUNC 691 +#define TXNPaste_FUNC 692 +#define TXNPointToOffset_FUNC 693 +#define TXNSelectAll_FUNC 694 +#define TXNSetBackground_FUNC 695 +#define TXNSetData_FUNC 696 +#define TXNSetFrameBounds_FUNC 697 +#define TXNSetRectBounds_FUNC 698 +#define TXNSetSelection_FUNC 699 +#define TXNSetTXNObjectControls_FUNC 700 +#define TXNSetTypeAttributes_FUNC 701 +#define TXNShowSelection_FUNC 702 +#define TestControl_FUNC 703 +#define TextFace_FUNC 704 +#define TextFont_FUNC 705 +#define TextMode_FUNC 706 +#define TextSize_FUNC 707 +#define TextWidth_FUNC 708 +#define TrackDrag_FUNC 709 +#define TrackMouseLocationWithOptions_FUNC 710 +#define UnionRect_FUNC 711 +#define UnionRgn_FUNC 712 +#define UnlockPortBits_FUNC 713 +#define UpdateControls_FUNC 714 +#define UpdateDataBrowserItems_FUNC 715 +#define UpgradeScriptInfoToTextEncoding_FUNC 716 +#define WaitMouseMoved_FUNC 717 +#define X2Fix_FUNC 718 +#define ZoomWindowIdeal_FUNC 719 +#define kHIViewWindowContentID_FUNC 720 +#define kPMDocumentFormatPDF_FUNC 721 +#define kPMGraphicsContextCoreGraphics_FUNC 722 +#define memcpy__III_FUNC 723 +#define memcpy__ILorg_eclipse_swt_internal_carbon_ATSUTab_2I_FUNC 724 +#define memcpy__ILorg_eclipse_swt_internal_carbon_BitMap_2I_FUNC 725 +#define memcpy__ILorg_eclipse_swt_internal_carbon_Cursor_2I_FUNC 726 +#define memcpy__ILorg_eclipse_swt_internal_carbon_EventRecord_2I_FUNC 727 +#define memcpy__ILorg_eclipse_swt_internal_carbon_FontSelectionQDStyle_2I_FUNC 728 +#define memcpy__ILorg_eclipse_swt_internal_carbon_HMHelpContentRec_2I_FUNC 729 +#define memcpy__ILorg_eclipse_swt_internal_carbon_PixMap_2I_FUNC 730 +#define memcpy__ILorg_eclipse_swt_internal_carbon_RGBColor_2I_FUNC 731 +#define memcpy__ILorg_eclipse_swt_internal_carbon_Rect_2I_FUNC 732 +#define memcpy__I_3BI_FUNC 733 +#define memcpy__I_3CI_FUNC 734 +#define memcpy__I_3II_FUNC 735 +#define memcpy__Lorg_eclipse_swt_internal_carbon_ATSTrapezoid_2II_FUNC 736 +#define memcpy__Lorg_eclipse_swt_internal_carbon_FontSelectionQDStyle_2II_FUNC 737 +#define memcpy__Lorg_eclipse_swt_internal_carbon_GDevice_2II_FUNC 738 +#define memcpy__Lorg_eclipse_swt_internal_carbon_HMHelpContentRec_2II_FUNC 739 +#define memcpy__Lorg_eclipse_swt_internal_carbon_PixMap_2II_FUNC 740 +#define memcpy__Lorg_eclipse_swt_internal_carbon_Rect_2II_FUNC 741 +#define memcpy___3BII_FUNC 742 +#define memcpy___3B_3CI_FUNC 743 +#define memcpy___3CII_FUNC 744 +#define memcpy___3C_3BI_FUNC 745 +#define memcpy___3FII_FUNC 746 +#define memcpy___3III_FUNC 747 +#define memset_FUNC 748 diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/os_structs.c b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/os_structs.c index 3db4b1f706..1359c01c4f 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/os_structs.c +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/os_structs.c @@ -1,13 +1,13 @@ /******************************************************************************* - * Copyright (c) 2000, 2004 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ +* Copyright (c) 2000, 2004 IBM Corporation and others. +* All rights reserved. This program and the accompanying materials +* are made available under the terms of the Common Public License v1.0 +* which accompanies this distribution, and is available at +* http://www.eclipse.org/legal/cpl-v10.html +* +* Contributors: +* IBM Corporation - initial API and implementation +*******************************************************************************/ #include "swt.h" #include "os_structs.h" diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/os_structs.h b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/os_structs.h index 016e97cea1..7bee11cc62 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/os_structs.h +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/os_structs.h @@ -1,13 +1,13 @@ /******************************************************************************* - * Copyright (c) 2000, 2004 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ +* Copyright (c) 2000, 2004 IBM Corporation and others. +* All rights reserved. This program and the accompanying materials +* are made available under the terms of the Common Public License v1.0 +* which accompanies this distribution, and is available at +* http://www.eclipse.org/legal/cpl-v10.html +* +* Contributors: +* IBM Corporation - initial API and implementation +*******************************************************************************/ #include "os.h" diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/OS.java b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/OS.java index ae685fcf56..3a25f6f2c0 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/OS.java +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/OS.java @@ -1053,6 +1053,7 @@ public static final native int GetWindowGroupOfClass (int windowClass); public static final native int GetWindowModality(int inWindow, int[] outModalKind, int[] outUnavailableWindow); public static final native int GetWindowPort(int wHandle); public static final native int GetWindowRegion(int window, short inRegionCode, int ioWinRgn); +public static final native int GetWindowResizeLimits (int inWindow, CGPoint inMinLimits, CGPoint inMaxLimits); public static final native void GetWindowStructureWidths(int intWindow, Rect outRect); public static final native int HandleControlSetCursor(int control, Point localPoint, int modifiers, boolean[] cursorWasSet); public static final native int HIComboBoxAppendTextItem(int inComboBox, int inText, int[] outIndex); @@ -1337,6 +1338,7 @@ public static final native int SetWindowGroup(int inWindow, int inNewGroup); public static final native int SetWindowGroupOwner(int inGroup, int inWindow); public static final native int SetWindowGroupParent(int inGroup, int inNewGroup); public static final native int SetWindowModality(int inWindow, int inModalKind, int inUnavailableWindow); +public static final native int SetWindowResizeLimits (int inWindow, CGPoint inMinLimits, CGPoint inMaxLimits); public static final native int SetWindowTitleWithCFString(int wHandle, int sHandle); public static final native void ShowWindow(int wHandle); public static final native void SizeControl(int cHandle, short w, short h); diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GdkGeometry.java b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GdkGeometry.java new file mode 100644 index 0000000000..7776dcb022 --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GdkGeometry.java @@ -0,0 +1,28 @@ +/******************************************************************************* + * Copyright (c) 2000, 2004 IBM Corporation and others. All rights reserved. + * The contents of this file are made available under the terms + * of the GNU Lesser General Public License (LGPL) Version 2.1 that + * accompanies this distribution (lgpl-v21.txt). The LGPL is also + * available at http://www.gnu.org/licenses/lgpl.html. If the version + * of the LGPL at http://www.gnu.org is different to the version of + * the LGPL accompanying this distribution and there is any conflict + * between the two license versions, the terms of the LGPL accompanying + * this distribution shall govern. + *******************************************************************************/ +package org.eclipse.swt.internal.gtk; + + +public class GdkGeometry { + public int min_width; + public int min_height; + public int max_width; + public int max_height; + public int base_width; + public int base_height; + public int width_inc; + public int height_inc; + public double min_aspect; + public double max_aspect; + public int win_gravity; + public static final int sizeof = OS.GdkGeometry_sizeof(); +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Shell.java b/bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Shell.java index 712833dc60..e6987a5466 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Shell.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Shell.java @@ -13,6 +13,7 @@ package org.eclipse.swt.widgets; import org.eclipse.swt.internal.carbon.OS; import org.eclipse.swt.internal.carbon.Rect; +import org.eclipse.swt.internal.carbon.CGPoint; import org.eclipse.swt.internal.carbon.CGRect; import org.eclipse.swt.SWT; @@ -109,6 +110,9 @@ public class Shell extends Decorations { Region region; Rect rgnRect; + static int DEFAULT_SHELL_WIDTH = -1; + static int DEFAULT_SHELL_HEIGHT = 0; + /** * Constructs a new instance of this class. This is equivalent * to calling <code>Shell((Display) null)</code>. @@ -465,6 +469,15 @@ void createHandle () { OS.SetWindowGroupParent (windowGroup, parentGroup); } OS.SetWindowGroupOwner (windowGroup, shellHandle); + CGPoint inMinLimits = new CGPoint (), inMaxLimits = new CGPoint (); + OS.GetWindowResizeLimits (shellHandle, inMinLimits, inMaxLimits); + if (DEFAULT_SHELL_WIDTH == -1) DEFAULT_SHELL_WIDTH = (int) inMinLimits.x; + inMinLimits.y = (int) 0; + int trim = SWT.TITLE | SWT.CLOSE | SWT.MIN | SWT.MAX; + if ((style & SWT.NO_TRIM) != 0 || (style & trim) == 0) { + inMinLimits.x = (int) 0; + } + OS.SetWindowResizeLimits (shellHandle, inMinLimits, inMaxLimits); } void createWidget () { @@ -621,6 +634,17 @@ public boolean getMinimized () { return OS.IsWindowCollapsed (shellHandle); } +public Point getMinimumSize () { + checkWidget(); + Rect rect = new Rect (); + OS.GetWindowStructureWidths (shellHandle, rect); + CGPoint inMinLimits = new CGPoint (), inMaxLimits = new CGPoint (); + OS.GetWindowResizeLimits (shellHandle, inMinLimits, inMaxLimits); + int width = Math.max (1, (int) inMinLimits.x + (rect.left + rect.right)); + int height = Math.max (1, (int) inMinLimits.y + (rect.top + rect.bottom)); + return new Point (width, height); +} + float [] getParentBackground () { return null; } @@ -875,9 +899,9 @@ int kEventWindowGetRegion (int nextHandler, int theEvent, int userData) { if (result == OS.noErr) return result; if (region == null || region.isDisposed ()) return OS.eventNotHandledErr; short [] regionCode = new short [1]; - OS.GetEventParameter (theEvent, OS.kEventParamWindowRegionCode , OS.typeWindowRegionCode , null, 2, null, regionCode); + OS.GetEventParameter (theEvent, OS.kEventParamWindowRegionCode, OS.typeWindowRegionCode , null, 2, null, regionCode); int [] temp = new int [1]; - OS.GetEventParameter (theEvent, OS.kEventParamRgnHandle , OS.typeQDRgnHandle , null, 4, null, temp); + OS.GetEventParameter (theEvent, OS.kEventParamRgnHandle, OS.typeQDRgnHandle , null, 4, null, temp); int hRegion = temp [0]; switch (regionCode [0]) { case OS.kWindowContentRgn: @@ -1135,9 +1159,27 @@ void setActiveControl (Control control) { public void setBounds (int x, int y, int width, int height) { checkWidget (); - width = Math.max (0, width); - height = Math.max (0, height); + setBounds (x, y, Math.max (0, width), Math.max (0, height), true, true); +} + +void setBounds (int x, int y, int width, int height, boolean move, boolean resize) { Rect rect = new Rect (); + if (!move) { + OS.GetWindowBounds (shellHandle, (short) OS.kWindowStructureRgn, rect); + x = rect.left; + y = rect.top; + } + if (!resize) { + OS.GetWindowBounds (shellHandle, (short) OS.kWindowStructureRgn, rect); + width = rect.right - rect.left; + height = rect.bottom - rect.top; + } else { + OS.GetWindowStructureWidths (shellHandle, rect); + CGPoint inMinLimits = new CGPoint (), inMaxLimits = new CGPoint (); + OS.GetWindowResizeLimits (shellHandle, inMinLimits, inMaxLimits); + width = Math.max (1, Math.max (width, (int) inMinLimits.x + (rect.left + rect.right))); + height = Math.max (1, Math.max (height, (int) inMinLimits.y + (rect.top + rect.bottom))); + } OS.SetRect (rect, (short) x, (short) y, (short) (x + width), (short) (y + height)); OS.SetWindowBounds (shellHandle, (short) OS.kWindowStructureRgn, rect); } @@ -1181,12 +1223,7 @@ public void setImeInputMode (int mode) { public void setLocation (int x, int y) { checkWidget(); - Rect rect = new Rect (); - OS.GetWindowBounds (shellHandle, (short) OS.kWindowStructureRgn, rect); - int width = rect.right - rect.left; - int height = rect.bottom - rect.top; - OS.SetRect (rect, (short) x, (short) y, (short) (x + width), (short) (y + height)); - OS.SetWindowBounds (shellHandle, (short) OS.kWindowStructureRgn, rect); + setBounds (x, y, 0, 0, true, false); } public void setMaximized (boolean maximized) { @@ -1208,6 +1245,35 @@ public void setMinimized (boolean minimized) { OS.CollapseWindow (shellHandle, minimized); } +public void setMinimumSize (int width, int height) { + checkWidget(); + Rect rect = new Rect (); + OS.GetWindowStructureWidths (shellHandle, rect); + CGPoint inMinLimits = new CGPoint (), inMaxLimits = new CGPoint (); + OS.GetWindowResizeLimits (shellHandle, inMinLimits, inMaxLimits); + if (width == SWT.DEFAULT) { + int trim = SWT.TITLE | SWT.CLOSE | SWT.MIN | SWT.MAX; + if ((style & SWT.NO_TRIM) == 0 && (style & trim) != 0) { + width = DEFAULT_SHELL_WIDTH; + } else { + width = 0; + } + } + if (height == SWT.DEFAULT) height = DEFAULT_SHELL_HEIGHT; + inMinLimits.x = Math.max (0, (int) width - (rect.left + rect.right)); + inMinLimits.y = Math.max (0, (int) height - (rect.top + rect.bottom)); + OS.SetWindowResizeLimits (shellHandle, inMinLimits, inMaxLimits); + Point size = getSize (); + int newWidth = Math.max (size.x, width), newHeight = Math.max (size.y, height); + if (newWidth != size.x || newHeight != size.y) setSize (newWidth, newHeight); +} + +public void setMinimumSize (Point size) { + checkWidget(); + if (size == null) error (SWT.ERROR_NULL_ARGUMENT); + setMinimumSize (size.x, size.y); +} + /** * Sets the shape of the shell to the region specified * by the argument. When the argument is null, the @@ -1257,12 +1323,7 @@ public void setRegion (Region region) { public void setSize (int width, int height) { checkWidget(); - width = Math.max (0, width); - height = Math.max (0, height); - Rect rect = new Rect (); - OS.GetWindowBounds (shellHandle, (short) OS.kWindowStructureRgn, rect); - OS.SetRect (rect, rect.left, rect.top, (short)(rect.left + width), (short)(rect.top + height)); - OS.SetWindowBounds (shellHandle, (short) OS.kWindowStructureRgn, rect); + setBounds (0, 0, Math.max (0, width), Math.max (0, height), false, true); } public void setText (String string) { |