Skip to content

Instantly share code, notes, and snippets.

@X547
Created May 7, 2023 11:55
Show Gist options
  • Save X547/769bee007be4b6b4cee66168569030da to your computer and use it in GitHub Desktop.
Save X547/769bee007be4b6b4cee66168569030da to your computer and use it in GitHub Desktop.
MODULE HaikuAppTest;
IMPORT S := SYSTEM, O := HaikuOS, P := HaikuPosix, C := HaikuCpp, CU := HaikuCppUtils, B := HaikuBeDecls, Kernel, IO := HaikuTerminal, TS := HostThreadSections;
TYPE
PtrView = POINTER TO View;
View = RECORD (B.BView) END;
PtrWindow = POINTER TO Window;
Window = RECORD (B.BWindow)
view: PtrView;
END;
PtrApplication = POINTER TO Application;
Application = RECORD (B.BApplication)
window: PtrWindow;
END;
VAR
viewVTable: B.PtrBViewVTable;
windowVTable: B.PtrBWindowVTable;
applicationVTable: B.PtrBApplicationVTable;
PROCEDURE [code] Sp (): INTEGER 089H, 0E0H;
PROCEDURE [code] Fp (): INTEGER 089H, 0E8H;
PROCEDURE ViewNew (this: PtrView; frame: B.BRect; IN name: O.Str);
BEGIN
B.BViewNew2(this, frame, name, B.B_FOLLOW_NONE, B.B_WILL_DRAW + B.B_SUBPIXEL_PRECISE + B.B_FULL_UPDATE_ON_RESIZE);
this.vt := viewVTable;
this.vt(B.PtrBViewVTable).SetViewColor(this, 0FFBBBBBBH);
END ViewNew;
PROCEDURE TrapTest;
VAR try: Kernel.TryContext;
BEGIN
IO.WriteString("+TrapTest"); IO.WriteLn;
IF try.Enter() = 0 THEN
HALT(0);
END;
try.Leave;
IO.WriteString("-TrapTest"); IO.WriteLn;
END TrapTest;
PROCEDURE [ccall16] ViewDraw (thisVoid: C.PtrVoid; VAR dirty: B.BRect);
VAR this: PtrView; rect: B.BRect; beg, end: B.BPoint;
BEGIN
IO.WriteString("View.Draw, FP: "); IO.WriteHex(Fp(), 8); IO.WriteLn;
this := S.VAL(PtrView, thisVoid);
B.BViewFrame(rect, this);
rect.left := rect.left + 1; rect.top := rect.top + 1;
B.BViewPushState(this);
this.vt(B.PtrBViewVTable).SetHighColor(this, 0FF444444H);
this.vt(B.PtrBViewVTable).SetPenSize(this, 2);
B.BViewStrokeRect(this, rect, B.B_SOLID_HIGH);
this.vt(B.PtrBViewVTable).SetPenSize(this, 1);
beg.x := rect.left; beg.y := rect.top; end.x := rect.right; end.y := rect.bottom;
B.BViewStrokeLine2(this, beg, end, B.B_SOLID_HIGH);
beg.x := rect.right; beg.y := rect.top; end.x := rect.left; end.y := rect.bottom;
B.BViewStrokeLine2(this, beg, end, B.B_SOLID_HIGH);
B.BViewPopState(this);
END ViewDraw;
PROCEDURE [ccall16] ViewMouseDown (thisVoid: C.PtrVoid; VAR where: B.BPoint);
VAR this: PtrView; ns: TS.NativeSection;
BEGIN
ns.Enter;
IO.WriteString("View.ViewMouseDown("); IO.WriteReal(where.x); IO.WriteString(", "); IO.WriteReal(where.y); IO.WriteString(")"); IO.WriteLn;
this := S.VAL(PtrView, thisVoid);
TrapTest;
ns.Leave;
END ViewMouseDown;
PROCEDURE WindowNew (this: PtrWindow; frame: B.BRect; IN title: O.Str);
VAR vt: B.PtrBApplicationVTable; viewFrame: B.BRect;
BEGIN
B.BWindowNew(this, frame, title, B.B_TITLED_WINDOW, B.B_QUIT_ON_WINDOW_CLOSE, B.B_CURRENT_WORKSPACE);
this.vt := windowVTable;
this.view := C.NewNothrow(SIZE(View))(PtrView);
viewFrame := frame;
viewFrame.right := viewFrame.right - viewFrame.left; viewFrame.left := 0;
viewFrame.bottom := viewFrame.bottom - viewFrame.top; viewFrame.top := 0;
ViewNew(this.view, viewFrame, "view");
B.BWindowAddChild(this, this.view, NIL);
this.view.vt(B.PtrBViewVTable).SetResizingMode(this.view, B.B_FOLLOW_ALL);
END WindowNew;
PROCEDURE [ccall16] WindowQuitRequested (this: C.PtrVoid): BOOLEAN;
BEGIN
IO.WriteString("Window.QuitRequested"); IO.WriteLn;
RETURN B.windowVTable.vt.QuitRequested(this);
END WindowQuitRequested;
PROCEDURE [ccall16] WindowFrameMoved (this: C.PtrVoid; VAR pos: B.BPoint);
BEGIN
IO.WriteString("Window.FrameMoved("); IO.WriteReal(pos.x); IO.WriteString(", "); IO.WriteReal(pos.y); IO.WriteString(")"); IO.WriteLn;
B.windowVTable.vt.FrameMoved(this, pos);
END WindowFrameMoved;
PROCEDURE [ccall16] WindowFrameResized (this: C.PtrVoid; w, h: SHORTREAL);
BEGIN
IO.WriteString("Window.FrameResized("); IO.WriteReal(w); IO.WriteString(", "); IO.WriteReal(h); IO.WriteString(")"); IO.WriteLn;
B.windowVTable.vt.FrameResized(this, w, h);
END WindowFrameResized;
PROCEDURE [ccall16] WindowWindowActivated (this: C.PtrVoid; focus: BOOLEAN);
BEGIN
IO.WriteString("Window.WindowActivated("); IO.WriteBool(focus); IO.WriteString(")"); IO.WriteLn;
B.windowVTable.vt.WindowActivated(this, focus);
END WindowWindowActivated;
PROCEDURE ApplicationNew (this: PtrApplication);
VAR vt: B.PtrBApplicationVTable;
BEGIN
B.BApplicationNew(this, "application/x-vnd.Test-Blackbox");
this.vt := applicationVTable;
this.window := NIL;
END ApplicationNew;
PROCEDURE [ccall16] ApplicationReadyToRun (thisVoid: C.PtrVoid);
VAR this: PtrApplication; frame: B.BRect;
BEGIN
IO.WriteString("Application.ReadyToRun"); IO.WriteLn;
this := S.VAL(PtrApplication, thisVoid);
this.window := C.NewNothrow(SIZE(Window))(PtrWindow);
frame.left := 64; frame.top := 64; frame.right := frame.left + 256; frame.bottom := frame.top + 256;
WindowNew(this.window, frame, "Window");
this.window.vt(B.PtrBWindowVTable).Show(this.window);
B.applicationVTable.vt.ReadyToRun(this);
END ApplicationReadyToRun;
PROCEDURE [ccall16] ApplicationAppActivated (this: C.PtrVoid; active: BOOLEAN);
BEGIN
IO.WriteString("Application.AppActivated("); IO.WriteBool(active); IO.WriteString(")"); IO.WriteLn;
B.applicationVTable.vt.AppActivated(this, active);
END ApplicationAppActivated;
PROCEDURE [ccall16] ApplicationMessageReceived (this: C.PtrVoid; VAR msg: B.BMessage);
BEGIN
IO.WriteString("Application.MessageReceived("); IO.WriteInt(msg.what); IO.WriteString(")"); IO.WriteLn;
B.applicationVTable.vt.MessageReceived(this, msg);
END ApplicationMessageReceived;
PROCEDURE Do*;
VAR app: PtrApplication; hs: TS.HostSection;
BEGIN
IO.WriteString("+HaikuAppTest.Do"); IO.WriteLn;
app := C.NewNothrow(SIZE(Application))(PtrApplication);
ApplicationNew(app);
hs.Enter;
O.Eval(app.vt(B.PtrBApplicationVTable).Run(app));
hs.Leave;
app.vt.DeleteDyn(app);
IO.WriteString("-HaikuAppTest.Do"); IO.WriteLn;
Kernel.Quit(0);
END Do;
PROCEDURE Init;
BEGIN
IO.WriteString("HaikuAppTest.Init"); IO.WriteLn;
viewVTable := CU.NewVTable(B.viewVTable.vt, SIZE(B.BViewVTable), "4View")(B.PtrBViewVTable);
viewVTable.Draw := ViewDraw;
viewVTable.MouseDown := ViewMouseDown;
windowVTable := CU.NewVTable(B.windowVTable.vt, SIZE(B.BWindowVTable), "6Window")(B.PtrBWindowVTable);
windowVTable.QuitRequested := WindowQuitRequested;
windowVTable.FrameMoved := WindowFrameMoved;
windowVTable.FrameResized := WindowFrameResized;
windowVTable.WindowActivated := WindowWindowActivated;
applicationVTable := CU.NewVTable(B.applicationVTable.vt, SIZE(B.BApplicationVTable), "11Application")(B.PtrBApplicationVTable);
applicationVTable.ReadyToRun := ApplicationReadyToRun;
applicationVTable.AppActivated := ApplicationAppActivated;
applicationVTable.MessageReceived := ApplicationMessageReceived;
Kernel.Start(Do);
END Init;
PROCEDURE Fini;
BEGIN
IO.WriteString("HaikuAppTest.Fini"); IO.WriteLn;
CU.DeleteVTable(viewVTable); viewVTable := NIL;
CU.DeleteVTable(windowVTable); windowVTable := NIL;
CU.DeleteVTable(applicationVTable); applicationVTable := NIL;
END Fini;
BEGIN Init;
CLOSE Fini;
END HaikuAppTest.
DevElfLinker2.Link HaikuAppTest.Do AppTest.so := Kernel$+ Math Strings HaikuTerminal HaikuCppUtils HaikuAppTest
DevDecoder.Decode HaikuAppTest
HaikuKernel
MODULE HaikuBeDecls ["libbe.so"];
IMPORT S := SYSTEM, O := HaikuOS, C := HaikuCpp;
CONST
(* some handy UTF-8 characters *)
B_UTF8_BULLET* = 0E2X + 80X + 0A2X;
B_UTF8_ELLIPSIS* = 0E2X + 080X + 0A6X;
B_UTF8_OPEN_QUOTE* = 0E2X + 080X + 09CX;
B_UTF8_CLOSE_QUOTE* = 0E2X + 080X + 09DX;
B_UTF8_COPYRIGHT* = 0C2X + 0A9X;
B_UTF8_REGISTERED* = 0C2X + 0AEX;
B_UTF8_TRADEMARK* = 0E2X + 084X + 0A2X;
B_UTF8_SMILING_FACE* = 0E2X + 098X + 0BBX;
B_UTF8_HIROSHI* = 0E5X + 0BCX + 098X;
B_MAX_MOUSE_BUTTONS* = 16;
(* key character codes *)
B_BACKSPACE* = 008H;
B_RETURN* = 00AH;
B_ENTER* = 00AH;
B_SPACE* = 020H;
B_TAB* = 009H;
B_ESCAPE* = 01BH;
B_SUBSTITUTE* = 01AH;
B_LEFT_ARROW* = 01CH;
B_RIGHT_ARROW* = 01DH;
B_UP_ARROW* = 01EH;
B_DOWN_ARROW* = 01FH;
B_INSERT* = 005H;
B_DELETE* = 07FH;
B_HOME* = 001H;
B_END* = 004H;
B_PAGE_UP* = 00BH;
B_PAGE_DOWN* = 00CH;
B_FUNCTION_KEY* = 010H;
(* for Japanese and Korean keyboards *)
B_KATAKANA_HIRAGANA* = 0F2H;
B_HANKAKU_ZENKAKU* = 0F3H;
B_HANGUL* = 0F0H;
B_HANGUL_HANJA* = 0F1H;
(* key codes *)
B_F1_KEY* = 002H;
B_F2_KEY* = 003H;
B_F3_KEY* = 004H;
B_F4_KEY* = 005H;
B_F5_KEY* = 006H;
B_F6_KEY* = 007H;
B_F7_KEY* = 008H;
B_F8_KEY* = 009H;
B_F9_KEY* = 00AH;
B_F10_KEY* = 00BH;
B_F11_KEY* = 00CH;
B_F12_KEY* = 00DH;
B_PRINT_KEY* = 00EH;
B_SCROLL_KEY* = 00FH;
B_PAUSE_KEY* = 010H;
B_CONTROL_TABLE* = {0};
B_OPTION_CAPS_SHIFT_TABLE* = {1};
B_OPTION_CAPS_TABLE* = {2};
B_OPTION_SHIFT_TABLE* = {3};
B_OPTION_TABLE* = {4};
B_CAPS_SHIFT_TABLE* = {5};
B_CAPS_TABLE* = {6};
B_SHIFT_TABLE* = {7};
B_NORMAL_TABLE* = {8};
(* modifiers *)
B_SHIFT_KEY* = {0};
B_COMMAND_KEY* = {1};
B_CONTROL_KEY* = {2};
B_CAPS_LOCK* = {3};
B_SCROLL_LOCK* = {4};
B_NUM_LOCK* = {5};
B_OPTION_KEY* = {6};
B_MENU_KEY* = {7};
B_LEFT_SHIFT_KEY* = {8};
B_RIGHT_SHIFT_KEY* = {9};
B_LEFT_COMMAND_KEY* = {10};
B_RIGHT_COMMAND_KEY* = {11};
B_LEFT_CONTROL_KEY* = {12};
B_RIGHT_CONTROL_KEY* = {13};
B_LEFT_OPTION_KEY* = {14};
B_RIGHT_OPTION_KEY* = {15};
(* mode mouse *)
B_NORMAL_MOUSE* = 0;
B_CLICK_TO_FOCUS_MOUSE* = -1;
B_FOCUS_FOLLOWS_MOUSE* = 1;
(* mode focus follows mouse *)
B_NORMAL_FOCUS_FOLLOWS_MOUSE* = 0;
B_WARP_FOCUS_FOLLOWS_MOUSE* = 1;
B_INSTANT_WARP_FOCUS_FOLLOWS_MOUSE* = 2;
(* border style *)
B_PLAIN_BORDER* = 0;
B_FANCY_BORDER* = 1;
B_NO_BORDER* = 2;
(* orientation *)
B_HORIZONTAL* = 0;
B_VERTICAL* = 1;
(* button width *)
B_WIDTH_AS_USUAL* = 0;
B_WIDTH_FROM_WIDEST* = 1;
B_WIDTH_FROM_LABEL* = 2;
(* alignment *)
B_ALIGN_LEFT* = 0;
B_ALIGN_RIGHT* = 1;
B_ALIGN_CENTER* = 2;
B_ALIGN_HORIZONTAL_CENTER = B_ALIGN_CENTER;
B_ALIGN_HORIZONTAL_UNSET = -1;
B_ALIGN_USE_FULL_WIDTH = -2;
(* vertical alignment *)
B_ALIGN_TOP* = 010H;
B_ALIGN_MIDDLE* = 020H;
B_ALIGN_BOTTOM* = 030H;
B_ALIGN_VERTICAL_CENTER* = B_ALIGN_MIDDLE;
B_ALIGN_VERTICAL_UNSET* = -1;
B_ALIGN_NO_VERTICAL* = B_ALIGN_VERTICAL_UNSET;
B_ALIGN_USE_FULL_HEIGHT* = -2;
B_USE_DEFAULT_SPACING* = -1002;
B_USE_ITEM_SPACING* = -1003;
B_USE_ITEM_INSETS* = -1003;
B_USE_HALF_ITEM_SPACING* = -1004;
B_USE_HALF_ITEM_INSETS* = -1004;
B_USE_WINDOW_INSETS* = -1005;
B_USE_WINDOW_SPACING* = -1005;
B_USE_SMALL_INSETS* = -1006;
B_USE_SMALL_SPACING* = -1006;
B_USE_BIG_INSETS* = -1007;
B_USE_BIG_SPACING* = -1007;
(* join mode *)
B_ROUND_JOIN* = 0;
B_MITER_JOIN * = 1;
B_BEVEL_JOIN* = 2;
B_BUTT_JOIN* = 3;
B_SQUARE_JOIN* = 4;
(* cap mode *)
B_ROUND_CAP* = B_ROUND_JOIN;
B_BUTT_CAP* = B_BUTT_JOIN;
B_SQUARE_CAP* = B_SQUARE_JOIN;
B_DEFAULT_MITER_LIMIT* = 10.0;
(* Polygon filling rules *)
B_EVEN_ODD* = 0;
B_NONZERO* = 1;
(* Bitmap and overlay constants *)
(* bitmap tiling *)
B_TILE_BITMAP_X* = {0};
B_TILE_BITMAP_Y* = {1};
B_TILE_BITMAP* = {0, 1};
(* overlay options *)
B_OVERLAY_FILTER_HORIZONTAL* = BITS(10000H);
B_OVERLAY_FILTER_VERTICAL* = BITS(20000H);
B_OVERLAY_MIRROR* = BITS(40000H);
B_OVERLAY_TRANSFER_CHANNEL* = BITS(80000H);
(* bitmap drawing options *)
B_FILTER_BITMAP_BILINEAR* = BITS(000000100H);
B_WAIT_FOR_RETRACE* = BITS(000000800H);
(* Default UI Colors *)
B_NO_COLOR* = 0;
B_PANEL_BACKGROUND_COLOR* = 1;
B_PANEL_TEXT_COLOR* = 10;
B_DOCUMENT_BACKGROUND_COLOR* = 11;
B_DOCUMENT_TEXT_COLOR* = 12;
B_CONTROL_BACKGROUND_COLOR* = 13;
B_CONTROL_TEXT_COLOR* = 14;
B_CONTROL_BORDER_COLOR* = 15;
B_CONTROL_HIGHLIGHT_COLOR* = 16;
B_CONTROL_MARK_COLOR* = 27;
B_NAVIGATION_BASE_COLOR* = 4;
B_NAVIGATION_PULSE_COLOR* = 17;
B_SHINE_COLOR* = 18;
B_SHADOW_COLOR* = 19;
B_LINK_TEXT_COLOR* = 33;
B_LINK_HOVER_COLOR* = 34;
B_LINK_VISITED_COLOR* = 35;
B_LINK_ACTIVE_COLOR* = 36;
B_MENU_BACKGROUND_COLOR* = 2;
B_MENU_SELECTED_BACKGROUND_COLOR* = 6;
B_MENU_ITEM_TEXT_COLOR* = 7;
B_MENU_SELECTED_ITEM_TEXT_COLOR* = 8;
B_MENU_SELECTED_BORDER_COLOR* = 9;
B_LIST_BACKGROUND_COLOR* = 28;
B_LIST_SELECTED_BACKGROUND_COLOR* = 29;
B_LIST_ITEM_TEXT_COLOR* = 30;
B_LIST_SELECTED_ITEM_TEXT_COLOR* = 31;
B_SCROLL_BAR_THUMB_COLOR* = 32;
B_TOOL_TIP_BACKGROUND_COLOR* = 20;
B_TOOL_TIP_TEXT_COLOR* = 21;
B_STATUS_BAR_COLOR* = 37;
B_SUCCESS_COLOR* = 100;
B_FAILURE_COLOR* = 101;
B_WINDOW_TAB_COLOR* = 3;
B_WINDOW_TEXT_COLOR* = 22;
B_WINDOW_INACTIVE_TAB_COLOR* = 23;
B_WINDOW_INACTIVE_TEXT_COLOR* = 24;
B_WINDOW_BORDER_COLOR* = 25;
B_WINDOW_INACTIVE_BORDER_COLOR* = 26;
(* Old name synonyms. *)
B_KEYBOARD_NAVIGATION_COLOR* = B_NAVIGATION_BASE_COLOR;
B_MENU_SELECTION_BACKGROUND_COLOR* = B_MENU_SELECTED_BACKGROUND_COLOR;
(* The following constants are deprecated, do not use in new code. *)
B_DESKTOP_COLOR* = 5;
(* see BScreen class for B_DESKTOP_COLOR replacement *)
(* Color tinting *)
B_LIGHTEN_MAX_TINT* = 0.0;
B_LIGHTEN_2_TINT* = 0.385;
B_LIGHTEN_1_TINT* = 0.590;
B_NO_TINT* = 1.0;
B_DARKEN_1_TINT* = 1.147;
B_DARKEN_2_TINT* = 1.295;
B_DARKEN_3_TINT* = 1.407;
B_DARKEN_4_TINT* = 1.555;
B_DARKEN_MAX_TINT* = 2.0;
B_DISABLED_LABEL_TINT* = B_DARKEN_3_TINT;
B_HIGHLIGHT_BACKGROUND_TINT* = B_DARKEN_2_TINT;
B_DISABLED_MARK_TINT* = B_LIGHTEN_2_TINT;
(* Icon related constants *)
(* Values for [Set]IconBitmap() of various view classes. Not all types are applicable for all views. *)
B_INACTIVE_ICON_BITMAP* = {};
B_ACTIVE_ICON_BITMAP* = {0};
B_PARTIALLY_ACTIVATE_ICON_BITMAP* = {1};
(* disabled version of the specified bitmap *)
B_DISABLED_ICON_BITMAP* = BITS(80H);
(* flags for SetIconBitmap() of various view classes *)
B_KEEP_ICON_BITMAP* = {0};
(* flags for SetIcon() of various view classes *)
B_TRIM_ICON_BITMAP* = BITS(0100H);
(* crop the bitmap to the not fully transparent area; may change the icon size *)
B_TRIM_ICON_BITMAP_KEEP_ASPECT* = BITS(0200H);
(* like B_TRIM_BITMAP; but keeps the aspect ratio *)
B_CREATE_ACTIVE_ICON_BITMAP* = BITS(0400H);
B_CREATE_PARTIALLY_ACTIVE_ICON_BITMAP* = BITS(0800H);
B_CREATE_DISABLED_ICON_BITMAPS* = BITS(01000H);
(* Color spaces *)
B_NO_COLOR_SPACE* = 00000H;
(* linear color space (little endian) *)
B_RGB32* = 00008H;
B_RGBA32* = 02008H;
B_RGB24* = 00003H;
B_RGB16* = 00005H;
B_RGB15* = 00010H;
B_RGBA15* = 02010H;
B_CMAP8* = 00004H;
B_GRAY8* = 00002H;
B_GRAY1* = 00001H;
(* linear color space (big endian) *)
B_RGB32_BIG* = 01008H;
B_RGBA32_BIG* = 03008H;
B_RGB24_BIG* = 01003H;
B_RGB16_BIG* = 01005H;
B_RGB15_BIG* = 01010H;
B_RGBA15_BIG* = 03010H;
(* linear color space (little endian, for completeness) *)
B_RGB32_LITTLE* = B_RGB32;
B_RGBA32_LITTLE* = B_RGBA32;
B_RGB24_LITTLE* = B_RGB24;
B_RGB16_LITTLE* = B_RGB16;
B_RGB15_LITTLE* = B_RGB15;
B_RGBA15_LITTLE* = B_RGBA15;
(* non linear color space -- incidently, all with 8 bits per value
Note, BBitmap and BView do not support all of these! *)
B_YCbCr422* = 04000H;
B_YCbCr411* = 04001H;
B_YCbCr444* = 04003H;
B_YCbCr420* = 04004H;
(* Note that YUV byte order is different from YCbCrH; use YCbCr, not YUVH;
when that's what you mean! *)
B_YUV422* = 04020H;
B_YUV411* = 04021H;
B_YUV444* = 04023H;
B_YUV420* = 04024H;
B_YUV9* = 0402CH;
B_YUV12* = 0402DH;
B_UVL24* = 04030H;
B_UVL32* = 04031H;
B_UVLA32* = 06031H;
(* L lightness, a/b color-opponent dimensions *)
B_LAB24* = 04032H;
B_LAB32* = 04033H;
B_LABA32* = 06033H;
B_HSI24* = 04040H;
B_HSI32* = 04041H;
B_HSIA32* = 06041H;
B_HSV24* = 04042H;
B_HSV32* = 04043H;
B_HSVA32* = 06043H;
B_HLS24* = 04044H;
B_HLS32* = 04045H;
B_HLSA32* = 06045H;
B_CMY24* = 0C001H;
B_CMY32* = 0C002H;
B_CMYA32* = 0E002H;
B_CMYK32* = 0C003H;
(* Compatibility declarations *)
B_MONOCHROME_1_BIT* = B_GRAY1;
B_GRAYSCALE_8_BIT* = B_GRAY8;
B_COLOR_8_BIT* = B_CMAP8;
B_RGB_32_BIT* = B_RGB32;
B_RGB_16_BIT* = B_RGB15;
B_BIG_RGB_32_BIT* = B_RGB32_BIG;
B_BIG_RGB_16_BIT* = B_RGB15_BIG;
(* Bitmap Support Flags *)
B_VIEWS_SUPPORT_DRAW_BITMAP* = {0};
B_BITMAPS_SUPPORT_ATTACHED_VIEWS* = {1};
B_BITMAPS_SUPPORT_OVERLAY* = {2};
(* buffer orientation *)
B_BUFFER_TOP_TO_BOTTOM* = 0;
B_BUFFER_BOTTOM_TO_TOP* = 1;
(* buffer layout *)
B_BUFFER_NONINTERLEAVED* = 1;
(* Drawing Modes *)
B_OP_COPY* = 0;
B_OP_OVER* = 1;
B_OP_ERASE* = 2;
B_OP_INVERT* = 3;
B_OP_ADD* = 4;
B_OP_SUBTRACT* = 5;
B_OP_BLEND* = 6;
B_OP_MIN* = 7;
B_OP_MAX* = 8;
B_OP_SELECT* = 9;
B_OP_ALPHA* = 10;
(* source alpha *)
B_PIXEL_ALPHA* = 0;
B_CONSTANT_ALPHA* = 1;
(* alpha function *)
B_ALPHA_OVERLAY* = 0;
B_ALPHA_COMPOSITE* = 1;
(* Fixed Screen Modes *)
B_8_BIT_640x480* = BITS(000000001H);
B_8_BIT_800x600* = BITS(000000002H);
B_8_BIT_1024x768* = BITS(000000004H);
B_8_BIT_1280x1024* = BITS(000000008H);
B_8_BIT_1600x1200* = BITS(000000010H);
B_16_BIT_640x480* = BITS(000000020H);
B_16_BIT_800x600* = BITS(000000040H);
B_16_BIT_1024x768* = BITS(000000080H);
B_16_BIT_1280x1024* = BITS(000000100H);
B_16_BIT_1600x1200* = BITS(000000200H);
B_32_BIT_640x480* = BITS(000000400H);
B_32_BIT_800x600* = BITS(000000800H);
B_32_BIT_1024x768* = BITS(000001000H);
B_32_BIT_1280x1024* = BITS(000002000H);
B_32_BIT_1600x1200* = BITS(000004000H);
B_8_BIT_1152x900* = BITS(000008000H);
B_16_BIT_1152x900* = BITS(000010000H);
B_32_BIT_1152x900* = BITS(000020000H);
B_15_BIT_640x480* = BITS(000040000H);
B_15_BIT_800x600* = BITS(000080000H);
B_15_BIT_1024x768* = BITS(000100000H);
B_15_BIT_1280x1024* = BITS(000200000H);
B_15_BIT_1600x1200* = BITS(000400000H);
B_15_BIT_1152x900* = BITS(000800000H);
B_8_BIT_640x400* = BITS(080000000H);
(* Message codes *)
(* wrong endian *)
B_ABOUT_REQUESTED* = 05242415FH; (* '_ABR' *)
B_WINDOW_ACTIVATED* = 05443415FH; (* '_ACT' *)
B_ARGV_RECEIVED* = 04752415FH; (* '_ARG' *)
B_QUIT_REQUESTED* = 05F515251H; (* '_QRQ' *)
B_CANCEL* = 0434E435FH; (* '_CNC' *)
B_INVALIDATE* = 04C56495FH; (* '_IVL' *)
B_KEY_DOWN* = 05F4B5944H; (* '_KYD' *)
B_KEY_UP* = 055594B5FH; (* '_KYU' *)
B_UNMAPPED_KEY_DOWN* = 0444B555FH; (* '_UKD' *)
B_UNMAPPED_KEY_UP* = 0554B555FH; (* '_UKU' *)
B_KEY_MAP_LOADED* = 04C4D4B5FH; (* '_KML' *)
B_LAYOUT_WINDOW* = 059414C5FH; (* '_LAY' *)
B_MODIFIERS_CHANGED* = 048434D5FH; (* '_MCH' *)
B_MINIMIZE* = 04E4D575FH; (* '_WMN' *)
B_MOUSE_DOWN* = 04E444D5FH; (* '_MDN' *)
B_MOUSE_MOVED* = 0564D4D5FH; (* '_MMV' *)
B_MOUSE_ENTER_EXIT* = 058454D5FH; (* '_MEX' *)
B_MOUSE_IDLE* = 049534D5FH; (* '_MSI' *)
B_MOUSE_UP* = 050554D5FH; (* '_MUP' *)
B_MOUSE_WHEEL_CHANGED* = 05F4D5743H; (* '_MWC' *)
B_OPEN_IN_WORKSPACE* = 053574F5FH; (* '_OWS' *)
B_PACKAGE_UPDATE* = 0554B505FH; (* '_PKU' *)
B_PRINTER_CHANGED* = 04843505FH; (* '_PCH' *)
B_PULSE* = 04C55505FH; (* '_PUL' *)
B_READY_TO_RUN* = 05254525FH; (* '_RTR' *)
B_REFS_RECEIVED* = 04352525FH; (* '_RRC' *)
B_RELEASE_OVERLAY_LOCK* = 0564F525FH; (* '_ROV' *)
B_ACQUIRE_OVERLAY_LOCK* = 0564F415FH; (* '_AOV' *)
B_SCREEN_CHANGED* = 04843535FH; (* '_SCH' *)
B_VALUE_CHANGED* = 04843565FH; (* '_VCH' *)
B_TRANSLATOR_ADDED* = 05452415FH; (* '_ART' *)
B_TRANSLATOR_REMOVED* = 05452525FH; (* '_RRT' *)
B_DELETE_TRANSLATOR* = 05452445FH; (* '_DRT' *)
B_VIEW_MOVED* = 0564D565FH; (* '_VMV' *)
B_VIEW_RESIZED* = 05352565FH; (* '_VRS' *)
B_WINDOW_MOVED* = 0564D575FH; (* '_WMV' *)
B_WINDOW_RESIZED* = 05352575FH; (* '_WRS' *)
B_WORKSPACES_CHANGED* = 04743575FH; (* '_WCG' *)
B_WORKSPACE_ACTIVATED* = 04341575FH; (* '_WAC' *)
B_ZOOM* = 04D5A575FH; (* '_WZM' *)
B_COLORS_UPDATED* = 0554C435FH; (* '_CLU' *)
B_FONTS_UPDATED* = 0554E465FH; (* '_FNU' *)
B_TRACKER_ADDON_MESSAGE* = 04D41545FH; (* '_TAM' *)
_APP_MENU_* = 04E4D415FH; (* '_AMN' *)
_BROWSER_MENUS_* = 04D52425FH; (* '_BRM' *)
_MENU_EVENT_* = 056454D5FH; (* '_MEV' *)
_PING_* = 04C42505FH; (* '_PBL' *)
_QUIT_* = 05449515FH; (* '_QIT' *)
_VOLUME_MOUNTED_* = 04C564E5FH; (* '_NVL' *)
_VOLUME_UNMOUNTED_* = 04D52565FH; (* '_VRM' *)
_MESSAGE_DROPPED_* = 050444D5FH; (* '_MDP' *)
_DISPOSE_DRAG_* = 04450445FH; (* '_DPD' *)
_MENUS_DONE_* = 0444E4D5FH; (* '_MND' *)
_SHOW_DRAG_HANDLES_* = 04844535FH; (* '_SDH' *)
_EVENTS_PENDING_* = 05056455FH; (* '_EVP' *)
_UPDATE_* = 04450555FH; (* '_UPD' *)
_UPDATE_IF_NEEDED_* = 04E50555FH; (* '_UPN' *)
_PRINTER_INFO_* = 04E49505FH; (* '_PIN' *)
_SETUP_PRINTER_* = 05055535FH; (* '_SUP' *)
_SELECT_PRINTER_* = 04C53505FH; (* '_PSL' *)
B_SET_PROPERTY* = 054455350H; (* 'PSET' *)
B_GET_PROPERTY* = 054454750H; (* 'PGET' *)
B_CREATE_PROPERTY* = 054524350H; (* 'PCRT' *)
B_DELETE_PROPERTY* = 04C454450H; (* 'PDEL' *)
B_COUNT_PROPERTIES* = 0544E4350H; (* 'PCNT' *)
B_EXECUTE_PROPERTY* = 045584550H; (* 'PEXE' *)
B_GET_SUPPORTED_SUITES* = 054495553H; (* 'SUIT' *)
B_UNDO* = 04F444E55H; (* 'UNDO' *)
B_REDO* = 04F444552H; (* 'REDO' *)
B_CUT* = 054554343H; (* 'CCUT' *)
B_COPY* = 059504F43H; (* 'COPY' *)
B_PASTE* = 045545350H; (* 'PSTE' *)
B_SELECT_ALL* = 04C4C4153H; (* 'SALL' *)
B_SAVE_REQUESTED* = 045564153H; (* 'SAVE' *)
B_MESSAGE_NOT_UNDERSTOOD* = 0544F4E4DH; (* 'MNOT' *)
B_NO_REPLY* = 0454E4F4EH; (* 'NONE' *)
B_REPLY* = 0594C5052H; (* 'RPLY' *)
B_SIMPLE_DATA* = 041544144H; (* 'DATA' *)
B_MIME_DATA* = 0454D494DH; (* 'MIME' *)
B_ARCHIVED_OBJECT* = 056435241H; (* 'ARCV' *)
B_UPDATE_STATUS_BAR* = 050554253H; (* 'SBUP' *)
B_RESET_STATUS_BAR* = 053524253H; (* 'SBRS' *)
B_NODE_MONITOR* = 04E4D444EH; (* 'NDMN' *)
B_QUERY_UPDATE* = 044505551H; (* 'QUPD' *)
B_ENDORSABLE* = 04F444E45H; (* 'ENDO' *)
B_COPY_TARGET* = 050434444H; (* 'DDCP' *)
B_MOVE_TARGET* = 0564D4444H; (* 'DDMV' *)
B_TRASH_TARGET* = 04D524444H; (* 'DDRM' *)
B_LINK_TARGET* = 04E4C4444H; (* 'DDLN' *)
B_INPUT_DEVICES_CHANGED* = 048434449H; (* 'IDCH' *)
B_INPUT_METHOD_EVENT* = 056454D49H; (* 'IMEV' *)
B_WINDOW_MOVE_TO* = 0544D4457H; (* 'WDMT' *)
B_WINDOW_MOVE_BY* = 0424D4457H; (* 'WDMB' *)
B_SILENT_RELAUNCH* = 04C455241H; (* 'AREL' *)
B_OBSERVER_NOTICE_CHANGE* = 04843544EH; (* 'NTCH' *)
B_CONTROL_INVOKED* = 04B564943H; (* 'CIVK' *)
B_CONTROL_MODIFIED* = 0444F4D43H; (* 'CMOD' *)
(* type_code *)
B_AFFINE_TRANSFORM_TYPE* = 0414D5458H; (* 'AMTX' *)
B_ALIGNMENT_TYPE* = 0414C474EH; (* 'ALGN' *)
B_ANY_TYPE* = 0414E5954H; (* 'ANYT' *)
B_ATOM_TYPE* = 041544F4DH; (* 'ATOM' *)
B_ATOMREF_TYPE* = 041544D52H; (* 'ATMR' *)
B_BOOL_TYPE* = 0424F4F4CH; (* 'BOOL' *)
B_CHAR_TYPE* = 043484152H; (* 'CHAR' *)
B_COLOR_8_BIT_TYPE* = 0434C5242H; (* 'CLRB' *)
B_DOUBLE_TYPE* = 044424C45H; (* 'DBLE' *)
B_FLOAT_TYPE* = 0464C4F54H; (* 'FLOT' *)
B_GRAYSCALE_8_BIT_TYPE* = 047525942H; (* 'GRYB' *)
B_INT16_TYPE* = 053485254H; (* 'SHRT' *)
B_INT32_TYPE* = 04C4F4E47H; (* 'LONG' *)
B_INT64_TYPE* = 04C4C4E47H; (* 'LLNG' *)
B_INT8_TYPE* = 042595445H; (* 'BYTE' *)
B_LARGE_ICON_TYPE* = 049434F4EH; (* 'ICON' *)
B_MEDIA_PARAMETER_GROUP_TYPE* = 0424D4347H; (* 'BMCG' *)
B_MEDIA_PARAMETER_TYPE* = 0424D4354H; (* 'BMCT' *)
B_MEDIA_PARAMETER_WEB_TYPE* = 0424D4357H; (* 'BMCW' *)
B_MESSAGE_TYPE* = 04D534747H; (* 'MSGG' *)
B_MESSENGER_TYPE* = 04D534E47H; (* 'MSNG' *)
B_MIME_TYPE* = 04D494D45H; (* 'MIME' *)
B_MINI_ICON_TYPE* = 04D49434EH; (* 'MICN' *)
B_MONOCHROME_1_BIT_TYPE* = 04D4E4F42H; (* 'MNOB' *)
B_OBJECT_TYPE* = 04F505452H; (* 'OPTR' *)
B_OFF_T_TYPE* = 04F464654H; (* 'OFFT' *)
B_PATTERN_TYPE* = 05041544EH; (* 'PATN' *)
B_POINTER_TYPE* = 0504E5452H; (* 'PNTR' *)
B_POINT_TYPE* = 042504E54H; (* 'BPNT' *)
B_PROPERTY_INFO_TYPE* = 053435444H; (* 'SCTD' *)
B_RAW_TYPE* = 052415754H; (* 'RAWT' *)
B_RECT_TYPE* = 052454354H; (* 'RECT' *)
B_REF_TYPE* = 052524546H; (* 'RREF' *)
B_NODE_REF_TYPE* = 04E524546H; (* 'NREF' *)
B_RGB_32_BIT_TYPE* = 052474242H; (* 'RGBB' *)
B_RGB_COLOR_TYPE* = 052474243H; (* 'RGBC' *)
B_SIZE_TYPE* = 053495A45H; (* 'SIZE' *)
B_SIZE_T_TYPE* = 053495A54H; (* 'SIZT' *)
B_SSIZE_T_TYPE* = 053535A54H; (* 'SSZT' *)
B_STRING_TYPE* = 043535452H; (* 'CSTR' *)
B_STRING_LIST_TYPE* = 05354524CH; (* 'STRL' *)
B_TIME_TYPE* = 054494D45H; (* 'TIME' *)
B_UINT16_TYPE* = 055534854H; (* 'USHT' *)
B_UINT32_TYPE* = 0554C4E47H; (* 'ULNG' *)
B_UINT64_TYPE* = 0554C4C47H; (* 'ULLG' *)
B_UINT8_TYPE* = 055425954H; (* 'UBYT' *)
B_VECTOR_ICON_TYPE* = 05649434EH; (* 'VICN' *)
B_XATTR_TYPE* = 058415452H; (* 'XATR' *)
B_NETWORK_ADDRESS_TYPE* = 04E574144H; (* 'NWAD' *)
B_MIME_STRING_TYPE* = 04D494D53H; (* 'MIMS' *)
B_ASCII_TYPE* = 054455854H; (* 'TEXT' *)
B_LOOPER_PORT_DEFAULT_CAPACITY* = 200;
(* Window type *)
B_UNTYPED_WINDOW* = 0;
B_TITLED_WINDOW* = 1;
B_MODAL_WINDOW* = 3;
B_DOCUMENT_WINDOW* = 11;
B_BORDERED_WINDOW* = 20;
B_FLOATING_WINDOW* = 21;
(* Window look *)
B_BORDERED_WINDOW_LOOK* = 20;
B_NO_BORDER_WINDOW_LOOK* = 19;
B_TITLED_WINDOW_LOOK* = 1;
B_DOCUMENT_WINDOW_LOOK* = 11;
B_MODAL_WINDOW_LOOK* = 3;
B_FLOATING_WINDOW_LOOK* = 7;
(* Window feel *)
B_NORMAL_WINDOW_FEEL* = 0;
B_MODAL_SUBSET_WINDOW_FEEL* = 2;
B_MODAL_APP_WINDOW_FEEL* = 1;
B_MODAL_ALL_WINDOW_FEEL* = 3;
B_FLOATING_SUBSET_WINDOW_FEEL* = 5;
B_FLOATING_APP_WINDOW_FEEL* = 4;
B_FLOATING_ALL_WINDOW_FEEL* = 6;
B_BYTE_ALIGNMENT* = 0;
B_PIXEL_ALIGNMENT* = 1;
(* Window flags *)
B_NOT_MOVABLE* = BITS(000000001H);
B_NOT_CLOSABLE* = BITS(000000020H);
B_NOT_ZOOMABLE* = BITS(000000040H);
B_NOT_MINIMIZABLE* = BITS(000004000H);
B_NOT_RESIZABLE* = BITS(000000002H);
B_NOT_H_RESIZABLE* = BITS(000000004H);
B_NOT_V_RESIZABLE* = BITS(000000008H);
B_AVOID_FRONT* = BITS(000000080H);
B_AVOID_FOCUS* = BITS(000002000H);
B_WILL_ACCEPT_FIRST_CLICK* = BITS(000000010H);
B_OUTLINE_RESIZE* = BITS(000001000H);
B_NO_WORKSPACE_ACTIVATION* = BITS(000000100H);
B_NOT_ANCHORED_ON_ACTIVATE* = BITS(000020000H);
B_ASYNCHRONOUS_CONTROLS* = BITS(000080000H);
B_QUIT_ON_WINDOW_CLOSE* = BITS(000100000H);
B_SAME_POSITION_IN_ALL_WORKSPACES* = BITS(000200000H);
B_AUTO_UPDATE_SIZE_LIMITS* = BITS(000400000H);
B_CLOSE_ON_ESCAPE* = BITS(000800000H);
B_NO_SERVER_SIDE_WINDOW_MODIFIERS* = BITS(000000200H);
B_CURRENT_WORKSPACE* = 0;
B_ALL_WORKSPACES* = 0FFFFFFFFH;
B_DO_NOT_RESIZE_TO_FIT* = BITS(00001H);
B_MOVE_IF_PARTIALLY_OFFSCREEN* = BITS(00002H);
(* mouse button *)
B_PRIMARY_MOUSE_BUTTON* = {0};
B_SECONDARY_MOUSE_BUTTON* = {1};
B_TERTIARY_MOUSE_BUTTON* = {2};
(* mouse transit *)
B_ENTERED_VIEW* = 0;
B_INSIDE_VIEW* = 1;
B_EXITED_VIEW* = 2;
B_OUTSIDE_VIEW* = 3;
(* event mask *)
B_POINTER_EVENTS* = {0};
B_KEYBOARD_EVENTS* = {1};
(* event mask options *)
B_LOCK_WINDOW_FOCUS* = {0};
B_SUSPEND_VIEW_FOCUS* = {1};
B_NO_POINTER_HISTORY* = {2};
B_FULL_POINTER_HISTORY* = {3};
B_TRACK_WHOLE_RECT* = 0;
B_TRACK_RECT_CORNER* = 1;
(* set font mask *)
B_FONT_FAMILY_AND_STYLE* = {0};
B_FONT_SIZE* = {1};
B_FONT_SHEAR* = {2};
B_FONT_ROTATION* = {3};
B_FONT_SPACING* = {4};
B_FONT_ENCODING* = {5};
B_FONT_FACE* = {6};
B_FONT_FLAGS* = {7};
B_FONT_FALSE_BOLD_WIDTH* = {8};
B_FONT_ALL* = {0..8};
(* view flags *)
B_FULL_UPDATE_ON_RESIZE* = {31};
_B_RESERVED1_* = {30};
B_WILL_DRAW* = {29};
B_PULSE_NEEDED* = {28};
B_NAVIGABLE_JUMP* = {27};
B_FRAME_EVENTS* = {26};
B_NAVIGABLE* = {25};
B_SUBPIXEL_PRECISE* = {24};
B_DRAW_ON_CHILDREN* = {23};
B_INPUT_METHOD_AWARE* = {23};
B_SCROLL_VIEW_AWARE* = {22};
B_SUPPORTS_LAYOUT* = {21};
B_INVALIDATE_AFTER_LAYOUT* = {20};
_RESIZE_MASK_* = {0..15};
_VIEW_TOP_* = 1;
_VIEW_LEFT_* = 2;
_VIEW_BOTTOM_* = 3;
_VIEW_RIGHT_* = 4;
_VIEW_CENTER_* = 5;
B_FOLLOW_NONE* = {};
B_FOLLOW_ALL_SIDES* = BITS(ASH(_VIEW_TOP_, 12) + ASH(_VIEW_LEFT_, 8) + ASH(_VIEW_BOTTOM_, 4) + _VIEW_RIGHT_);
B_FOLLOW_ALL* = B_FOLLOW_ALL_SIDES;
B_FOLLOW_LEFT* = BITS(ASH(0, 12) + ASH(_VIEW_LEFT_, 8) + ASH(0, 4) + _VIEW_LEFT_);
B_FOLLOW_RIGHT* = BITS(ASH(0, 12) + ASH(_VIEW_RIGHT_, 8) + ASH(0, 4) + _VIEW_RIGHT_);
B_FOLLOW_LEFT_RIGHT* = BITS(ASH(0, 12) + ASH(_VIEW_LEFT_, 8) + ASH(0, 4) + _VIEW_RIGHT_);
B_FOLLOW_H_CENTER* = BITS(ASH(0, 12) + ASH(_VIEW_CENTER_, 8) + ASH(0, 4) + _VIEW_CENTER_);
B_FOLLOW_TOP* = BITS(ASH(_VIEW_TOP_, 12) + ASH(0, 8) + ASH(_VIEW_TOP_, 4) + 0);
B_FOLLOW_BOTTOM* = BITS(ASH(_VIEW_BOTTOM_, 12) + ASH(0, 8) + ASH(_VIEW_BOTTOM_, 4) + 0);
B_FOLLOW_TOP_BOTTOM* = BITS(ASH(_VIEW_TOP_, 12) + ASH(0, 8) + ASH(_VIEW_BOTTOM_, 4) + 0);
B_FOLLOW_V_CENTER* = BITS(ASH(_VIEW_CENTER_, 12) + ASH(0, 8) + ASH(_VIEW_CENTER_, 4) + 0);
B_FOLLOW_LEFT_TOP* = B_FOLLOW_TOP + B_FOLLOW_LEFT;
B_FONT_FAMILY_LENGTH* = 63;
B_FONT_STYLE_LENGTH* = 63;
(* font spacing *)
B_CHAR_SPACING* = 0;
B_STRING_SPACING* = 1;
B_BITMAP_SPACING* = 2;
B_FIXED_SPACING* = 3;
(* font direction *)
B_FONT_LEFT_TO_RIGHT* = 0;
B_FONT_RIGHT_TO_LEFT* = 1;
(* font flags *)
B_DISABLE_ANTIALIASING* = {0};
B_FORCE_ANTIALIASING* = {1};
(* truncation modes *)
B_NO_TRUNCATION* = -1;
B_TRUNCATE_END* = 0;
B_TRUNCATE_BEGINNING* = 1;
B_TRUNCATE_MIDDLE* = 2;
B_TRUNCATE_SMART* = 3;
(* font encodings *)
B_UNICODE_UTF8* = 0;
B_ISO_8859_1* = 1;
B_ISO_8859_2* = 2;
B_ISO_8859_3* = 3;
B_ISO_8859_4* = 4;
B_ISO_8859_5* = 5;
B_ISO_8859_6* = 6;
B_ISO_8859_7* = 7;
B_ISO_8859_8* = 8;
B_ISO_8859_9* = 9;
B_ISO_8859_10* = 10;
B_MACINTOSH_ROMAN* = 11;
(* flags for get_font_family() and get_font_style() *)
B_HAS_TUNED_FONT* = {0};
B_IS_FIXED* = {1};
(* font face flags *)
B_ITALIC_FACE* = {0};
B_UNDERSCORE_FACE* = {1};
B_NEGATIVE_FACE* = {2};
B_OUTLINED_FACE* = {3};
B_STRIKEOUT_FACE* = {4};
B_BOLD_FACE* = {5};
B_REGULAR_FACE* = {6};
B_CONDENSED_FACE* = {7};
B_LIGHT_FACE* = {8};
B_HEAVY_FACE* = {9};
(* font metric mode *)
B_SCREEN_METRIC* = 0;
B_PRINTING_METRIC* = 1;
(* font file format *)
B_TRUETYPE_WINDOWS* = 0;
B_POSTSCRIPT_TYPE1_WINDOWS* = 1;
B_ANY_BYTES_PER_ROW* = -1;
B_ITEMS_IN_ROW* = 0;
B_ITEMS_IN_COLUMN* = 1;
B_ITEMS_IN_MATRIX* = 2;
TYPE
screen_id* = INTEGER;
font_family* = ARRAY [untagged] B_FONT_FAMILY_LENGTH + 1 OF SHORTCHAR;
font_style* = ARRAY [untagged] B_FONT_STYLE_LENGTH + 1 OF SHORTCHAR;
font_direction* = INTEGER;
font_file_format* = INTEGER;
font_metric_mode* = INTEGER;
color_space* = INTEGER;
UnknownRec* = RECORD [untagged] END;
PtrBMessageVTable* = POINTER TO BMessageVTable;
BMessageVTable* = EXTENSIBLE RECORD (C.VoidVTable)
_ReservedMessage1: PROCEDURE [ccall16] (this: C.PtrVoid);
_ReservedMessage2: PROCEDURE [ccall16] (this: C.PtrVoid);
_ReservedMessage3: PROCEDURE [ccall16] (this: C.PtrVoid);
END;
PtrBMessage* = POINTER TO BMessage;
BMessage* = EXTENSIBLE RECORD (C.Void)
what*: INTEGER;
private: ARRAY 72 - 8 OF BYTE;
END;
PtrBFlattenableVTable* = POINTER TO BFlattenableVTable;
BFlattenableVTable* = EXTENSIBLE RECORD (C.VoidVTable)
IsFixedSize*: PROCEDURE [ccall16] (this: C.PtrVoid): BOOLEAN;
TypeCode*: PROCEDURE [ccall16] (this: C.PtrVoid): INTEGER;
FlattenedSize*: PROCEDURE [ccall16] (this: C.PtrVoid): O.Address;
Flatten*: PROCEDURE [ccall16] (this: C.PtrVoid; buffer: O.Address; size: O.Address): INTEGER;
AllowsTypeCode*: PROCEDURE [ccall16] (this: C.PtrVoid; code: INTEGER): BOOLEAN;
Unflatten*: PROCEDURE [ccall16] (this: C.PtrVoid; code: INTEGER; buffer: O.Address; size: O.Address): INTEGER;
_ReservedFlattenable1: PROCEDURE [ccall16] (this: C.PtrVoid);
_ReservedFlattenable2: PROCEDURE [ccall16] (this: C.PtrVoid);
_ReservedFlattenable3: PROCEDURE [ccall16] (this: C.PtrVoid);
END;
PtrBFlattenable* = POINTER TO BFlattenable;
BFlattenable* = EXTENSIBLE RECORD (C.Void)
END;
PtrBArchivableVTable* = POINTER TO BArchivableVTable;
BArchivableVTable* = EXTENSIBLE RECORD (C.VoidVTable)
Archive*: PROCEDURE [ccall16] (this: C.PtrVoid; VAR into: BMessage; deep: BOOLEAN): INTEGER;
Perform*: PROCEDURE [ccall16] (this: C.PtrVoid; d: INTEGER; arg: O.PtrVoid): INTEGER;
AllUnarchived*: PROCEDURE [ccall16] (this: C.PtrVoid; IN archive: BMessage): INTEGER;
AllArchived*: PROCEDURE [ccall16] (this: C.PtrVoid; VAR archive: BMessage): INTEGER;
_ReservedArchivable3: PROCEDURE [ccall16] (this: C.PtrVoid);
END;
PtrBArchivable* = POINTER TO BArchivable;
BArchivable* = EXTENSIBLE RECORD (C.Void)
private: ARRAY 12 - 4 OF BYTE;
END;
PtrBHandler* = POINTER TO BHandler;
BHandler* = EXTENSIBLE RECORD (BArchivable)
private2: ARRAY 36 OF BYTE;
END;
PtrBHandlerVTable* = POINTER TO BHandlerVTable;
BHandlerVTable* = EXTENSIBLE RECORD (BArchivableVTable)
MessageReceived*: PROCEDURE [ccall16] (this: C.PtrVoid; VAR message: BMessage);
SetNextHandler*: PROCEDURE [ccall16] (this: C.PtrVoid; handler: PtrBHandler);
AddFilter*: PROCEDURE [ccall16] (this: C.PtrVoid; filter: PtrBMessageFilter);
RemoveFilter*: PROCEDURE [ccall16] (this: C.PtrVoid; filter: PtrBMessageFilter): BOOLEAN;
SetFilterList*: PROCEDURE [ccall16] (this: C.PtrVoid; VAR filters: BList);
ResolveSpecifier*: PROCEDURE [ccall16] (this: C.PtrVoid; VAR message: BMessage; index: INTEGER; VAR specifier: BMessage; what: INTEGER; IN property: O.Str): PtrBHandler;
GetSupportedSuites*: PROCEDURE [ccall16] (this: C.PtrVoid; VAR data: BMessage): INTEGER;
SendNotices*: PROCEDURE [ccall16] (this: C.PtrVoid; what: INTEGER; IN notice: BMessage);
_ReservedHandler2: PROCEDURE [ccall16] (this: C.PtrVoid);
_ReservedHandler3: PROCEDURE [ccall16] (this: C.PtrVoid);
_ReservedHandler4: PROCEDURE [ccall16] (this: C.PtrVoid);
END;
PtrBLooper* = POINTER TO BLooper;
BLooper* = EXTENSIBLE RECORD (BHandler)
private3: ARRAY 124 OF BYTE;
END;
PtrBLooperVTable* = POINTER TO BLooperVTable;
BLooperVTable* = EXTENSIBLE RECORD (BHandlerVTable)
DispatchMessage*: PROCEDURE [ccall16] (this: C.PtrVoid; VAR message: BMessage; handler: PtrBHandler);
Run*: PROCEDURE [ccall16] (this: C.PtrVoid): O.thread_id;
Quit*: PROCEDURE [ccall16] (this: C.PtrVoid);
QuitRequested*: PROCEDURE [ccall16] (this: C.PtrVoid): BOOLEAN;
AddCommonFilter*: PROCEDURE [ccall16] (this: C.PtrVoid; filter: PtrBMessageFilter);
RemoveCommonFilter*: PROCEDURE [ccall16] (this: C.PtrVoid; filter: PtrBMessageFilter): BOOLEAN;
SetCommonFilterList*: PROCEDURE [ccall16] (this: C.PtrVoid; VAR filters: BList);
_ReservedLooper1: PROCEDURE [ccall16] (this: C.PtrVoid);
_ReservedLooper2: PROCEDURE [ccall16] (this: C.PtrVoid);
_ReservedLooper3: PROCEDURE [ccall16] (this: C.PtrVoid);
_ReservedLooper4: PROCEDURE [ccall16] (this: C.PtrVoid);
_ReservedLooper5: PROCEDURE [ccall16] (this: C.PtrVoid);
_ReservedLooper6: PROCEDURE [ccall16] (this: C.PtrVoid);
ConvertToMessage: PROCEDURE [ccall16] (this: C.PtrVoid; raw: O.PtrVoid; code: INTEGER): PtrBMessage;
task_looper: PROCEDURE [ccall16] (this: C.PtrVoid);
END;
PtrBApplication* = POINTER TO BApplication;
BApplication* = EXTENSIBLE RECORD (BLooper)
private4: ARRAY 92 OF BYTE;
END;
PtrBApplicationVTable* = POINTER TO BApplicationVTable;
BApplicationVTable* = EXTENSIBLE RECORD (BLooperVTable)
Pulse*: PROCEDURE [ccall16] (this: C.PtrVoid);
ReadyToRun*: PROCEDURE [ccall16] (this: C.PtrVoid);
ArgvReceived*: PROCEDURE [ccall16] (this: C.PtrVoid; argc: INTEGER; IN argv: ARRAY OF O.PtrStr);
AppActivated*: PROCEDURE [ccall16] (this: C.PtrVoid; active: BOOLEAN);
RefsReceived*: PROCEDURE [ccall16] (this: C.PtrVoid; VAR message: BMessage);
AboutRequested*: PROCEDURE [ccall16] (this: C.PtrVoid);
_ReservedApplication1: PROCEDURE [ccall16] (this: C.PtrVoid);
_ReservedApplication2: PROCEDURE [ccall16] (this: C.PtrVoid);
_ReservedApplication3: PROCEDURE [ccall16] (this: C.PtrVoid);
_ReservedApplication4: PROCEDURE [ccall16] (this: C.PtrVoid);
_ReservedApplication5: PROCEDURE [ccall16] (this: C.PtrVoid);
_ReservedApplication6: PROCEDURE [ccall16] (this: C.PtrVoid);
_ReservedApplication7: PROCEDURE [ccall16] (this: C.PtrVoid);
_ReservedApplication8: PROCEDURE [ccall16] (this: C.PtrVoid);
ScriptReceived: PROCEDURE [ccall16] (this: C.PtrVoid; VAR msg: BMessage; index: INTEGER; VAR specifier: BMessage; form: INTEGER; IN property: O.Str): BOOLEAN;
END;
PtrBWindow* = POINTER TO BWindow;
BWindow* = EXTENSIBLE RECORD (BLooper)
private4: ARRAY 204 OF BYTE;
END;
PtrBWindowVTable* = POINTER TO BWindowVTable;
BWindowVTable* = EXTENSIBLE RECORD (BLooperVTable)
FrameMoved*: PROCEDURE [ccall16] (this: C.PtrVoid; VAR newPosition: BPoint);
WorkspacesChanged*: PROCEDURE [ccall16] (this: C.PtrVoid; oldWorkspaces, newWorkspaces: INTEGER);
WorkspaceActivated*: PROCEDURE [ccall16] (this: C.PtrVoid; workspace: INTEGER; state: BOOLEAN);
FrameResized*: PROCEDURE [ccall16] (this: C.PtrVoid; newWidth, newHeight: SHORTREAL);
Minimize*: PROCEDURE [ccall16] (this: C.PtrVoid; minimize: BOOLEAN);
Zoom*: PROCEDURE [ccall16] (this: C.PtrVoid; VAR origin: BPoint; width, height: SHORTREAL);
ScreenChanged*: PROCEDURE [ccall16] (this: C.PtrVoid; VAR screenSize: BRect; depth: INTEGER);
MenusBeginning*: PROCEDURE [ccall16] (this: C.PtrVoid);
MenusEnded*: PROCEDURE [ccall16] (this: C.PtrVoid);
WindowActivated*: PROCEDURE [ccall16] (this: C.PtrVoid; focus: BOOLEAN);
Show*: PROCEDURE [ccall16] (this: C.PtrVoid);
Hide*: PROCEDURE [ccall16] (this: C.PtrVoid);
SetLayout*: PROCEDURE [ccall16] (this: C.PtrVoid; layout: PtrBLayout);
_ReservedWindow2: PROCEDURE [ccall16] (this: C.PtrVoid);
_ReservedWindow3: PROCEDURE [ccall16] (this: C.PtrVoid);
_ReservedWindow4: PROCEDURE [ccall16] (this: C.PtrVoid);
_ReservedWindow5: PROCEDURE [ccall16] (this: C.PtrVoid);
_ReservedWindow6: PROCEDURE [ccall16] (this: C.PtrVoid);
_ReservedWindow7: PROCEDURE [ccall16] (this: C.PtrVoid);
_ReservedWindow8: PROCEDURE [ccall16] (this: C.PtrVoid);
END;
PtrBView* = POINTER TO BView;
BView* = EXTENSIBLE RECORD (BHandler)
private3: ARRAY 128 OF BYTE;
END;
PtrBViewVTable* = POINTER TO BViewVTable;
BViewVTable* = EXTENSIBLE RECORD (BHandlerVTable)
AttachedToWindow*: PROCEDURE [ccall16] (this: C.PtrVoid);
AllAttached*: PROCEDURE [ccall16] (this: C.PtrVoid);
DetachedFromWindow*: PROCEDURE [ccall16] (this: C.PtrVoid);
AllDetached*: PROCEDURE [ccall16] (this: C.PtrVoid);
Draw*: PROCEDURE [ccall16] (this: C.PtrVoid; VAR updateRect: BRect);
MouseDown*: PROCEDURE [ccall16] (this: C.PtrVoid; VAR where: BPoint);
MouseUp*: PROCEDURE [ccall16] (this: C.PtrVoid; VAR where: BPoint);
MouseMoved*: PROCEDURE [ccall16] (this: C.PtrVoid; VAR where: BPoint; code: INTEGER; IN dragMessage: BMessage);
WindowActivated*: PROCEDURE [ccall16] (this: C.PtrVoid; active: BOOLEAN);
KeyDown*: PROCEDURE [ccall16] (this: C.PtrVoid; IN bytes: O.Str; numBytes: INTEGER);
KeyUp*: PROCEDURE [ccall16] (this: C.PtrVoid; IN bytes: O.Str; numBytes: INTEGER);
Pulse*: PROCEDURE [ccall16] (this: C.PtrVoid);
FrameMoved*: PROCEDURE [ccall16] (this: C.PtrVoid; VAR newPosition: BPoint);
FrameResized*: PROCEDURE [ccall16] (this: C.PtrVoid; newWidth, newHeight: SHORTREAL);
TargetedByScrollView*: PROCEDURE [ccall16] (this: C.PtrVoid; scrollView: PtrBScrollView);
ConstrainClippingRegion*: PROCEDURE [ccall16] (this: C.PtrVoid; VAR region: BRegion);
SetDrawingMode*: PROCEDURE [ccall16] (this: C.PtrVoid; mode: INTEGER);
SetPenSize*: PROCEDURE [ccall16] (this: C.PtrVoid; size: SHORTREAL);
SetViewColor*: PROCEDURE [ccall16] (this: C.PtrVoid; color: rgb_color);
SetHighColor*: PROCEDURE [ccall16] (this: C.PtrVoid; color: rgb_color);
SetLowColor*: PROCEDURE [ccall16] (this: C.PtrVoid; color: rgb_color);
SetFont*: PROCEDURE [ccall16] (this: C.PtrVoid; IN font: BFont; mask: SET);
SetFlags*: PROCEDURE [ccall16] (this: C.PtrVoid; flags: SET);
SetResizingMode*: PROCEDURE [ccall16] (this: C.PtrVoid; mode: SET);
ScrollTo*: PROCEDURE [ccall16] (this: C.PtrVoid; VAR where: BPoint);
MakeFocus*: PROCEDURE [ccall16] (this: C.PtrVoid; focus: BOOLEAN);
Show*: PROCEDURE [ccall16] (this: C.PtrVoid);
Hide*: PROCEDURE [ccall16] (this: C.PtrVoid);
GetPreferredSize*: PROCEDURE [ccall16] (this: C.PtrVoid; VAR _width, _height: SHORTREAL);
ResizeToPreferred*: PROCEDURE [ccall16] (this: C.PtrVoid);
DrawAfterChildren*: PROCEDURE [ccall16] (this: C.PtrVoid; VAR updateRect: BRect);
MinSize*: PROCEDURE [ccall16] (OUT [res] res: BSize; this: C.PtrVoid);
MaxSize*: PROCEDURE [ccall16] (OUT [res] res: BSize; this: C.PtrVoid);
PreferredSize*: PROCEDURE [ccall16] (OUT [res] res: BSize; this: C.PtrVoid);
LayoutAlignment*: PROCEDURE [ccall16] (OUT [res] res: BAlignment; this: C.PtrVoid);
HasHeightForWidth*: PROCEDURE [ccall16] (this: C.PtrVoid): BOOLEAN;
GetHeightForWidth*: PROCEDURE [ccall16] (this: C.PtrVoid; width: SHORTREAL; VAR min, max, preferred: SHORTREAL);
SetLayout*: PROCEDURE [ccall16] (this: C.PtrVoid; layout: PtrBLayout);
LayoutInvalidated*: PROCEDURE [ccall16] (this: C.PtrVoid; descendants: BOOLEAN);
DoLayout*: PROCEDURE [ccall16] (this: C.PtrVoid);
GetToolTipAt*: PROCEDURE [ccall16] (this: C.PtrVoid; VAR point: BPoint; VAR _tip: PtrBToolTip): BOOLEAN;
LayoutChanged*: PROCEDURE [ccall16] (this: C.PtrVoid);
_ReservedView13: PROCEDURE [ccall16] (this: C.PtrVoid);
_ReservedView14: PROCEDURE [ccall16] (this: C.PtrVoid);
_ReservedView15: PROCEDURE [ccall16] (this: C.PtrVoid);
_ReservedView16: PROCEDURE [ccall16] (this: C.PtrVoid);
END;
PtrBMessenger* = POINTER TO BMessenger;
BMessenger* = RECORD [untagged]
fPort*: O.port_id;
fHandlerToken*: INTEGER;
fTeam*: O.team_id;
_reserved: ARRAY 3 OF INTEGER;
END;
PtrBMessageFilter* = POINTER TO BMessageFilter;
BMessageFilter* = UnknownRec;
PtrBList* = POINTER TO BList;
BList* = UnknownRec;
PtrBMessageQueue* = POINTER TO BMessageQueue;
BMessageQueue* = UnknownRec;
PtrBBitmap* = POINTER TO BBitmap;
BBitmap* = EXTENSIBLE RECORD (BArchivable)
private2: ARRAY 64 OF BYTE
END;
PtrBShape* = POINTER TO BShape;
BShape* = UnknownRec;
PtrBPicture* = POINTER TO BPicture;
BPicture* = UnknownRec;
PtrBCursor* = POINTER TO BCursor;
BCursor* = UnknownRec;
PtrBResources* = POINTER TO BResources;
BResources* = UnknownRec;
PtrBLayout* = POINTER TO BLayout;
BLayout* = UnknownRec;
PtrBLayoutItem* = POINTER TO BLayoutItem;
BLayoutItem* = UnknownRec;
PtrBLayoutContext* = POINTER TO BLayoutContext;
BLayoutContext* = UnknownRec;
PtrBMenu* = POINTER TO BMenu;
BMenu* = EXTENSIBLE RECORD (BView)
private4: ARRAY 136 OF BYTE
END;
PtrBMenuBar* = POINTER TO BMenuBar;
BMenuBar* = EXTENSIBLE RECORD (BMenu)
private5: ARRAY 32 OF BYTE
END;
PtrBMenuItem* = POINTER TO BMenuItem;
BMenuItem* = EXTENSIBLE RECORD (BArchivable)
(* invoker: BInvoker; *)
private2: ARRAY 116 OF BYTE
END;
PtrBButton* = POINTER TO BButton;
BButton* = UnknownRec;
PtrBScrollBar* = POINTER TO BScrollBar;
BScrollBar* = EXTENSIBLE RECORD (BView)
private4: ARRAY 52 OF BYTE
END;
PtrBScrollBarVTable* = POINTER TO BScrollBarVTable;
BScrollBarVTable* = EXTENSIBLE RECORD (BViewVTable)
ValueChanged*: PROCEDURE [ccall16] (this: C.PtrVoid; value: SHORTREAL);
ReservedScrollBar1: PROCEDURE [ccall16] (this: C.PtrVoid);
ReservedScrollBar2: PROCEDURE [ccall16] (this: C.PtrVoid);
ReservedScrollBar3: PROCEDURE [ccall16] (this: C.PtrVoid);
ReservedScrollBar4: PROCEDURE [ccall16] (this: C.PtrVoid);
END;
PtrBScrollView* = POINTER TO BScrollView;
BScrollView* = UnknownRec;
PtrBToolTip* = POINTER TO BToolTip;
BToolTip* = UnknownRec;
PtrBClipboard* = POINTER TO BScrollBar;
BClipboard* = EXTENSIBLE RECORD (C.Void)
(* private: ARRAY ? OF BYTE *)
END;
PtrBClipboardVTable* = POINTER TO BClipboardVTable;
BClipboardVTable* = EXTENSIBLE RECORD (C.VoidVTable)
(* ??? *)
END;
PtrApp_info* = POINTER TO app_info;
app_info* = UnknownRec;
rgb_color* = INTEGER;
pattern* = RECORD [untagged]
data*: ARRAY 8 OF BYTE;
END;
color_map* = RECORD [untagged]
id*: INTEGER;
color_list*: ARRAY 256 OF rgb_color;
inversion_map*: ARRAY 256 OF BYTE;
index_map*: ARRAY 32768 OF BYTE;
END;
overlay_rect_limits* = RECORD [untagged]
horizontal_alignment*: SHORTINT;
vertical_alignment*: SHORTINT;
width_alignment*: SHORTINT;
height_alignment*: SHORTINT;
min_width*: SHORTINT;
max_width*: SHORTINT;
min_height*: SHORTINT;
max_height*: SHORTINT;
reserved*: ARRAY 8 OF INTEGER;
END;
overlay_restrictions* = RECORD [untagged]
source, destination*: overlay_rect_limits;
min_width_scale*: SHORTREAL;
max_width_scale*: SHORTREAL;
min_height_scale*: SHORTREAL;
max_height_scale*: SHORTREAL;
reserved*: ARRAY 8 OF INTEGER;
END;
PtrBPoint* = POINTER TO BPoint;
BPoint* = RECORD [untagged]
x*, y*: SHORTREAL;
END;
PtrBSize* = POINTER TO BSize;
BSize* = RECORD [untagged]
width*, height*: SHORTREAL;
END;
PtrBRect* = POINTER TO BRect;
BRect* = RECORD [untagged]
left*, top*, right*, bottom*: SHORTREAL;
END;
PtrBRegion* = POINTER TO BRegion;
BRegion* = UnknownRec;
PtrBPolygon* = POINTER TO BPolygon;
BPolygon* = UnknownRec;
PtrBGradient* = POINTER TO BGradient;
BGradient* = RECORD (BArchivable) (* TODO *) END;
PtrBAffineTransform* = POINTER TO BAffineTransform;
BAffineTransform* = RECORD (BFlattenable)
sx*, shy*, shx*, sy*, tx*, ty*: REAL;
END;
PtrBString* = POINTER TO BString;
BString* = UnknownRec;
PtrUnicode_block = POINTER TO unicode_block;
unicode_block* = RECORD [untagged]
fData*: ARRAY 2 OF LONGINT;
END;
unicode_block_range* = RECORD [untagged]
start*, end*: INTEGER; (* inclusive *)
block*: PtrUnicode_block; (* const unicode_block& *)
END;
edge_info* = RECORD [untagged]
left*, right*: SHORTREAL;
END;
font_height* = RECORD [untagged]
ascent*, descent*, leading*: SHORTREAL;
END;
escapement_delta* = RECORD [untagged]
nonspace*, space*: SHORTREAL;
END;
font_cache_info* = RECORD [untagged]
sheared_font_penalty*: INTEGER;
rotated_font_penalty*: INTEGER;
oversize_threshold*: SHORTREAL;
oversize_penalty*: INTEGER;
cache_size*: INTEGER;
spacing_size_threshold*: SHORTREAL;
END;
tuned_font_info* = RECORD [untagged]
size*: SHORTREAL;
shear*: SHORTREAL;
rotation*: SHORTREAL;
flags*: SET;
face*: SHORTINT;
END;
PtrBFont* = POINTER TO BFont;
BFont* = RECORD [untagged]
fFamilyID: SHORTINT;
fStyleID: SHORTINT;
fSize: SHORTREAL;
fShear: SHORTREAL;
fRotation: SHORTREAL;
fFalseBoldWidth: SHORTREAL;
fSpacing: BYTE;
fEncoding: BYTE;
fFace: SHORTINT;
fFlags: SET;
fHeight: font_height;
fExtraFlags: SET;
_reserved: ARRAY 1 OF INTEGER;
END;
PtrBAlignment* = POINTER TO BAlignment;
BAlignment* = RECORD [untagged]
horizontal*, vertical*: INTEGER;
END;
VAR
messageVTable- ["_ZTV8BMessage"]: RECORD (C.VTableBase) vt-: BMessageVTable END;
archivableVTable- ["_ZTV11BArchivable"]: RECORD (C.VTableBase) vt-: BArchivableVTable END;
handlerVTable- ["_ZTV8BHandler"]: RECORD (C.VTableBase) vt-: BHandlerVTable END;
looperVTable- ["_ZTV7BLooper"]: RECORD (C.VTableBase) vt-: BLooperVTable END;
applicationVTable- ["_ZTV12BApplication"]: RECORD (C.VTableBase) vt-: BApplicationVTable END;
windowVTable- ["_ZTV7BWindow"]: RECORD (C.VTableBase) vt-: BWindowVTable END;
viewVTable- ["_ZTV5BView"]: RECORD (C.VTableBase) vt-: BViewVTable END;
scrollBarVTable- ["_ZTV10BScrollBar"]: RECORD (C.VTableBase) vt-: BScrollBarVTable END;
clipboardVTable- ["_ZTV10BClipboard"]: RECORD (C.VTableBase) vt-: BClipboardVTable END;
B_ORIGIN-: BPoint;
B_AFFINE_IDENTITY_TRANSFORM-: BAffineTransform;
be_app-: PtrBApplication;
be_app_messenger-: BMessenger;
be_clipboard-: PtrBClipboard;
B_CURSOR_SYSTEM_DEFAULT-: PtrBCursor;
B_CURSOR_I_BEAM-: PtrBCursor;
B_MAIN_SCREEN_ID-: screen_id;
B_SOLID_HIGH-, B_MIXED_COLORS-, B_SOLID_LOW-: pattern;
B_TRANSPARENT_COLOR-: rgb_color;
B_TRANSPARENT_MAGIC_CMAP8-: BYTE;
B_TRANSPARENT_MAGIC_RGBA15-: SHORTINT;
B_TRANSPARENT_MAGIC_RGBA15_BIG-: SHORTINT;
B_TRANSPARENT_MAGIC_RGBA32-: INTEGER;
B_TRANSPARENT_MAGIC_RGBA32_BIG-: INTEGER;
B_TRANSPARENT_8_BIT-: BYTE;
B_TRANSPARENT_32_BIT-: INTEGER;
be_plain_font-, be_bold_font-, be_fixed_font-: PtrBFont;
PROCEDURE [ccall16] modifiers* ["_Z9modifiersv"] (): SET;
(* BArchivable *)
PROCEDURE [ccall16] BArchivableNew* ["_ZN11BArchivableC2EP8BMessage"] (this: PtrBArchivable; VAR from: BMessage);
PROCEDURE [ccall16] BArchivableNew2* ["_ZN11BArchivableC2Ev"] (this: PtrBArchivable);
PROCEDURE [ccall16] BArchivableInstantiate* ["_ZN11BArchivable11InstantiateEP8BMessage"] (VAR archive: BMessage): PtrBArchivable;
(* BHandler *)
PROCEDURE [ccall16] BHandlerNew* ["_ZN8BHandlerC2EPKc"] (this: PtrBHandler; IN name: O.Str);
(* Archiving *)
PROCEDURE [ccall16] BHandlerNew2* ["_ZN8BHandlerC2EP8BMessage"] (this: PtrBHandler; VAR data: BMessage);
PROCEDURE [ccall16] BHandlerInstantiate* ["_ZN8BHandler11InstantiateEP8BMessage"] (VAR data: BMessage): PtrBArchivable;
(* BHandler guts *)
PROCEDURE [ccall16] BHandlerLooper* ["_ZNK8BHandler6LooperEv"] (this: PtrBHandler): PtrBLooper;
PROCEDURE [ccall16] BHandlerSetName* ["_ZN8BHandler7SetNameEPKc"] (this: PtrBHandler; IN name: O.Str);
PROCEDURE [ccall16] BHandlerName* ["_ZNK8BHandler4NameEv"] (this: PtrBHandler): O.PtrStr;
PROCEDURE [ccall16] BHandlerNextHandler* ["_ZNK8BHandler11NextHandlerEv"] (this: PtrBHandler): PtrBHandler;
(* Message filtering *)
PROCEDURE [ccall16] BHandlerFilterList* ["_ZN8BHandler10FilterListEv"] (this: PtrBHandler): PtrBList;
PROCEDURE [ccall16] BHandlerLockLooper* ["_ZN8BHandler10LockLooperEv"] (this: PtrBHandler): BOOLEAN;
PROCEDURE [ccall16] BHandlerLockLooperWithTimeout* ["_ZN8BHandler21LockLooperWithTimeoutEx"] (this: PtrBHandler; timeout: LONGINT): INTEGER;
PROCEDURE [ccall16] BHandlerUnlockLooper* ["_ZN8BHandler12UnlockLooperEv"] (this: PtrBHandler);
(* Observer calls, inter-looper and inter-team *)
PROCEDURE [ccall16] BHandlerStartWatching* ["_ZN8BHandler13StartWatchingE10BMessengerm"] (this: PtrBHandler; VAR target: BMessenger; what: INTEGER): INTEGER;
PROCEDURE [ccall16] BHandlerStartWatchingAll* ["_ZN8BHandler16StartWatchingAllE10BMessenger"] (this: PtrBHandler; VAR target: BMessenger): INTEGER;
PROCEDURE [ccall16] BHandlerStopWatching* ["_ZN8BHandler12StopWatchingE10BMessengerm"] (this: PtrBHandler; VAR target: BMessenger; what: INTEGER): INTEGER;
PROCEDURE [ccall16] BHandlerStopWatchingAll* ["_ZN8BHandler15StopWatchingAllE10BMessenger"] (this: PtrBHandler; VAR target: BMessenger): INTEGER;
(* Observer calls for observing targets in the local team *)
PROCEDURE [ccall16] BHandlerStartWatching2* ["_ZN8BHandler13StartWatchingEPS_m"] (this: PtrBHandler; observer: PtrBHandler; what: INTEGER): INTEGER;
PROCEDURE [ccall16] BHandlerStartWatchingAll2* ["_ZN8BHandler16StartWatchingAllEPS_"] (this: PtrBHandler; observer: PtrBHandler): INTEGER;
PROCEDURE [ccall16] BHandlerStopWatching2* ["_ZN8BHandler12StopWatchingEPS_m"] (this: PtrBHandler; observer: PtrBHandler; what: INTEGER): INTEGER;
PROCEDURE [ccall16] BHandlerStopWatchingAll2* ["_ZN8BHandler15StopWatchingAllEPS_"] (this: PtrBHandler; observer: PtrBHandler): INTEGER;
(* Notifier calls *)
PROCEDURE [ccall16] BHandlerIsWatched* ["_ZNK8BHandler9IsWatchedEv"] (this: PtrBHandler): BOOLEAN;
(* BLooper *)
PROCEDURE [ccall16] BLooperNew* ["_ZN7BLooperC2EPKcll"] (this: PtrBLooper; IN name: O.Str; priority: INTEGER; portCapacity: INTEGER);
(* Archiving *)
PROCEDURE [ccall16] BLooperNew2* ["_ZN7BLooperC2EP8BMessage"] (this: PtrBLooper; VAR data: BMessage);
PROCEDURE [ccall16] BLooperInstantiate* ["_ZN7BLooper11InstantiateEP8BMessage"] (VAR data: BMessage): PtrBArchivable;
(* Message transmission *)
PROCEDURE [ccall16] BLooperPostMessage* ["_ZN7BLooper11PostMessageEm"] (this: PtrBLooper; command: INTEGER): INTEGER;
PROCEDURE [ccall16] BLooperPostMessage2* ["_ZN7BLooper11PostMessageEP8BMessage"] (this: PtrBLooper; VAR message: BMessage): INTEGER;
PROCEDURE [ccall16] BLooperPostMessage3* ["_ZN7BLooper11PostMessageEmP8BHandlerS1_"] (this: PtrBLooper; command: INTEGER; handler, replyTo: PtrBHandler): INTEGER;
PROCEDURE [ccall16] BLooperPostMessage4* ["_ZN7BLooper11PostMessageEP8BMessageP8BHandlerS3_"] (this: PtrBLooper; VAR message: BMessage; handler, replyTo: PtrBHandler): INTEGER;
PROCEDURE [ccall16] BLooperCurrentMessage* ["_ZNK7BLooper14CurrentMessageEv"] (this: PtrBLooper): PtrBMessage;
PROCEDURE [ccall16] BLooperDetachCurrentMessage* ["_ZN7BLooper20DetachCurrentMessageEv"] (this: PtrBLooper): PtrBMessage;
PROCEDURE [ccall16] BLooperDispatchExternalMessage* ["_ZN7BLooper23DispatchExternalMessageEP8BMessageP8BHandlerRb"] (this: PtrBLooper; VAR message: BMessage; handler: PtrBHandler; VAR _detached: BOOLEAN);
PROCEDURE [ccall16] BLooperMessageQueue* ["_ZNK7BLooper12MessageQueueEv"] (this: PtrBLooper): PtrBMessageQueue;
PROCEDURE [ccall16] BLooperIsMessageWaiting* ["_ZNK7BLooper16IsMessageWaitingEv"] (this: PtrBLooper): BOOLEAN;
(* Message handlers *)
PROCEDURE [ccall16] BLooperAddHandler* ["_ZN7BLooper10AddHandlerEP8BHandler"] (this: PtrBLooper; handler: PtrBHandler);
PROCEDURE [ccall16] BLooperRemoveHandler* ["_ZN7BLooper13RemoveHandlerEP8BHandler"] (this: PtrBLooper; handler: PtrBHandler): BOOLEAN;
PROCEDURE [ccall16] BLooperCountHandlers* ["_ZNK7BLooper13CountHandlersEv"] (this: PtrBLooper): INTEGER;
PROCEDURE [ccall16] BLooperHandlerAt* ["_ZNK7BLooper9HandlerAtEl"] (this: PtrBLooper; index: INTEGER): PtrBHandler;
PROCEDURE [ccall16] BLooperIndexOf* ["_ZNK7BLooper7IndexOfEP8BHandler"] (this: PtrBLooper; handler: PtrBHandler): INTEGER;
PROCEDURE [ccall16] BLooperPreferredHandler* ["_ZNK7BLooper16PreferredHandlerEv"] (this: PtrBLooper): PtrBHandler;
PROCEDURE [ccall16] BLooperSetPreferredHandler* ["_ZN7BLooper19SetPreferredHandlerEP8BHandler"] (this: PtrBLooper; handler: PtrBHandler);
(* Loop control *)
PROCEDURE [ccall16] BLooperLoop* ["_ZN7BLooper4LoopEv"] (this: PtrBLooper);
PROCEDURE [ccall16] BLooperLock* ["_ZN7BLooper4LockEv"] (this: PtrBLooper): BOOLEAN;
PROCEDURE [ccall16] BLooperUnlock* ["_ZN7BLooper6UnlockEv"] (this: PtrBLooper);
PROCEDURE [ccall16] BLooperIsLocked* ["_ZNK7BLooper8IsLockedEv"] (this: PtrBLooper): BOOLEAN;
PROCEDURE [ccall16] BLooperLockWithTimeout* ["_ZN7BLooper15LockWithTimeoutEx"] (this: PtrBLooper; timeout: LONGINT): INTEGER;
PROCEDURE [ccall16] BLooperThread* ["_ZNK7BLooper6ThreadEv"] (this: PtrBLooper): O.thread_id;
PROCEDURE [ccall16] BLooperTeam* ["_ZNK7BLooper4TeamEv"] (this: PtrBLooper): O.team_id;
PROCEDURE [ccall16] BLooperLooperForThread* ["_ZN7BLooper15LooperForThreadEl"] (thread: O.thread_id): PtrBLooper;
(* Loop debugging *)
PROCEDURE [ccall16] BLooperLockingThread* ["_ZNK7BLooper13LockingThreadEv"] (this: PtrBLooper): O.thread_id;
PROCEDURE [ccall16] BLooperCountLocks* ["_ZNK7BLooper10CountLocksEv"] (this: PtrBLooper): INTEGER;
PROCEDURE [ccall16] BLooperCountLockRequests* ["_ZNK7BLooper17CountLockRequestsEv"] (this: PtrBLooper): INTEGER;
PROCEDURE [ccall16] BLooperSem* ["_ZNK7BLooper3SemEv"] (this: PtrBLooper): O.sem_id;
(* Message filters (also see BHandler). *)
PROCEDURE [ccall16] BLooperCommonFilterList* ["_ZNK7BLooper16CommonFilterListEv"] (this: PtrBLooper): PtrBList;
(* BApplication *)
PROCEDURE [ccall16] BApplicationNew* ["_ZN12BApplicationC2EPKc"] (this: PtrBApplication; IN signature: O.Str);
PROCEDURE [ccall16] BApplicationNew2* ["_ZN12BApplicationC2EPKcPl"] (this: PtrBApplication; IN signature: O.Str; VAR error: INTEGER);
(* Archiving *)
PROCEDURE [ccall16] BApplicationNew3* ["_ZN12BApplicationC2EP8BMessage"] (this: PtrBApplication; VAR data: BMessage);
PROCEDURE [ccall16] BApplicationInstantiate* ["_ZN12BApplication11InstantiateEP8BMessage"] (VAR data: BMessage): PtrBArchivable;
PROCEDURE [ccall16] BApplicationInitCheck* ["_ZNK12BApplication9InitCheckEv"] (this: PtrBApplication): INTEGER;
(* Cursor control, window/looper list, and app info *)
PROCEDURE [ccall16] BApplicationShowCursor* ["_ZN12BApplication10ShowCursorEv"] (this: PtrBApplication);
PROCEDURE [ccall16] BApplicationHideCursor* ["_ZN12BApplication10HideCursorEv"] (this: PtrBApplication);
PROCEDURE [ccall16] BApplicationObscureCursor* ["_ZN12BApplication13ObscureCursorEv"] (this: PtrBApplication);
PROCEDURE [ccall16] BApplicationIsCursorHidden* ["_ZNK12BApplication14IsCursorHiddenEv"] (this: PtrBApplication): BOOLEAN;
PROCEDURE [ccall16] BApplicationSetCursor* ["_ZN12BApplication9SetCursorEPKv"] (this: PtrBApplication; cursor: O.PtrVoid);
PROCEDURE [ccall16] BApplicationSetCursor2* ["_ZN12BApplication9SetCursorEPK7BCursorb"] (this: PtrBApplication; IN cursor: BCursor; sync: BOOLEAN);
PROCEDURE [ccall16] BApplicationCountWindows* ["_ZNK12BApplication12CountWindowsEv"] (this: PtrBApplication): INTEGER;
PROCEDURE [ccall16] BApplicationWindowAt* ["_ZNK12BApplication8WindowAtEl"] (this: PtrBApplication; index: INTEGER): PtrBWindow;
PROCEDURE [ccall16] BApplicationCountLoopers* ["_ZNK12BApplication12CountLoopersEv"] (this: PtrBApplication): INTEGER;
PROCEDURE [ccall16] BApplicationLooperAt* ["_ZNK12BApplication8LooperAtEl"] (this: PtrBApplication; index: INTEGER): PtrBLooper;
PROCEDURE [ccall16] BApplicationIsLaunching* ["_ZNK12BApplication11IsLaunchingEv"] (this: PtrBApplication): BOOLEAN;
PROCEDURE [ccall16] BApplicationSignature* ["_ZNK12BApplication9SignatureEv"] (this: PtrBApplication): O.PtrStr;
PROCEDURE [ccall16] BApplicationGetAppInfo* ["_ZNK12BApplication10GetAppInfoEP8app_info"] (this: PtrBApplication; VAR info: app_info): INTEGER;
PROCEDURE [ccall16] BApplicationAppResources* ["_ZN12BApplication12AppResourcesEv"] (this: PtrBApplication): PtrBResources;
PROCEDURE [ccall16] BApplicationSetPulseRate* ["_ZN12BApplication12SetPulseRateEx"] (this: PtrBApplication; rate: LONGINT);
(* Register a BLooper to be quit before the BApplication object is destroyed. *)
PROCEDURE [ccall16] BApplicationRegisterLooper* ["_ZN12BApplication14RegisterLooperEP7BLooper"] (this: PtrBApplication; looper: PtrBLooper): INTEGER;
PROCEDURE [ccall16] BApplicationUnregisterLooper* ["_ZN12BApplication16UnregisterLooperEP7BLooper"] (this: PtrBApplication; looper: PtrBLooper): INTEGER;
(* BWindow *)
PROCEDURE [ccall16] BWindowNew* ["_ZN7BWindowC2E5BRectPKc11window_typemm"] (this: PtrBWindow; VAR frame: BRect; IN title: O.Str; type: INTEGER; flags: SET; workspace: INTEGER);
PROCEDURE [ccall16] BWindowNew2* ["_ZN7BWindowC2E5BRectPKc11window_look11window_feelmm"] (this: PtrBWindow; VAR frame: BRect; IN title: O.Str; look, feel: INTEGER; flags: SET; workspace: INTEGER);
PROCEDURE [ccall16] BWindowNew3* ["_ZN7BWindowC2EP8BMessage"] (this: PtrBWindow; VAR archive: BMessage);
PROCEDURE [ccall16] BWindowInstantiate* ["_ZN7BWindow11InstantiateEP8BMessage"] (VAR archive: BMessage): PtrBArchivable;
PROCEDURE [ccall16] BWindowAddChild* ["_ZN7BWindow8AddChildEP5BViewS1_"] (this: PtrBWindow; child, before: PtrBView);
PROCEDURE [ccall16] BWindowAddChild2* ["_ZN7BWindow8AddChildEP11BLayoutItem"] (this: PtrBWindow; child: PtrBLayoutItem);
PROCEDURE [ccall16] BWindowRemoveChild* ["_ZN7BWindow11RemoveChildEP5BView"] (this: PtrBWindow; child: PtrBView): BOOLEAN;
PROCEDURE [ccall16] BWindowCountChildren* ["_ZNK7BWindow13CountChildrenEv"] (this: PtrBWindow): INTEGER;
PROCEDURE [ccall16] BWindowChildAt* ["_ZNK7BWindow7ChildAtEl"] (this: PtrBWindow; index: INTEGER): PtrBView;
PROCEDURE [ccall16] BWindowZoom2* ["_ZN7BWindow4ZoomEv"] (this: PtrBWindow);
PROCEDURE [ccall16] BWindowSetZoomLimits* ["_ZN7BWindow13SetZoomLimitsEff"] (this: PtrBWindow; maxWidth, maxHeight: SHORTREAL);
PROCEDURE [ccall16] BWindowSetPulseRate* ["_ZN7BWindow12SetPulseRateEx"] (this: PtrBWindow; rate: LONGINT);
PROCEDURE [ccall16] BWindowPulseRate* ["_ZNK7BWindow9PulseRateEv"] (this: PtrBWindow): LONGINT;
PROCEDURE [ccall16] BWindowAddShortcut* ["_ZN7BWindow11AddShortcutEmmP8BMessage"] (this: PtrBWindow; key: INTEGER; modifiers: SET; message: PtrBMessage);
PROCEDURE [ccall16] BWindowAddShortcut2* ["_ZN7BWindow11AddShortcutEmmP8BMessageP8BHandler"] (this: PtrBWindow; key: INTEGER; modifiers: SET; message: PtrBMessage; target: PtrBHandler);
PROCEDURE [ccall16] BWindowHasShortcut* ["_ZN7BWindow11HasShortcutEmm"] (this: PtrBWindow; key: INTEGER; modifiers: SET): BOOLEAN;
PROCEDURE [ccall16] BWindowRemoveShortcut* ["_ZN7BWindow14RemoveShortcutEmm"] (this: PtrBWindow; key: INTEGER; modifiers: SET);
PROCEDURE [ccall16] BWindowSetDefaultButton* ["_ZN7BWindow16SetDefaultButtonEP7BButton"] (this: PtrBWindow; button: PtrBButton);
PROCEDURE [ccall16] BWindowDefaultButton* ["_ZNK7BWindow13DefaultButtonEv"] (this: PtrBWindow): PtrBButton;
PROCEDURE [ccall16] BWindowNeedsUpdate* ["_ZNK7BWindow11NeedsUpdateEv"] (this: PtrBWindow): BOOLEAN;
PROCEDURE [ccall16] BWindowUpdateIfNeeded* ["_ZN7BWindow14UpdateIfNeededEv"] (this: PtrBWindow);
PROCEDURE [ccall16] BWindowFindView* ["_ZNK7BWindow8FindViewEPKc"] (this: PtrBWindow; IN viewName: O.Str): PtrBView;
PROCEDURE [ccall16] BWindowFindView2* ["_ZNK7BWindow8FindViewE6BPoint"] (this: PtrBWindow; VAR point: BPoint): PtrBView;
PROCEDURE [ccall16] BWindowCurrentFocus* ["_ZNK7BWindow12CurrentFocusEv"] (this: PtrBWindow): PtrBView;
PROCEDURE [ccall16] BWindowActivate* ["_ZN7BWindow8ActivateEb"] (this: PtrBWindow; focus: BOOLEAN);
PROCEDURE [ccall16] BWindowConvertToScreen* ["_ZNK7BWindow15ConvertToScreenEP6BPoint"] (this: PtrBWindow; VAR point: BPoint);
PROCEDURE [ccall16] BWindowConvertToScreen2* ["_ZNK7BWindow15ConvertToScreenE6BPoint"] (OUT [res] res: BPoint; this: PtrBWindow; VAR point: BPoint);
PROCEDURE [ccall16] BWindowConvertFromScreen* ["_ZNK7BWindow17ConvertFromScreenEP6BPoint"] (this: PtrBWindow; VAR point: BPoint);
PROCEDURE [ccall16] BWindowConvertFromScreen2* ["_ZNK7BWindow17ConvertFromScreenE6BPoint"] (OUT [res] res: BPoint; this: PtrBWindow; VAR point: BPoint);
PROCEDURE [ccall16] BWindowConvertToScreen3* ["_ZNK7BWindow15ConvertToScreenEP5BRect"] (this: PtrBWindow; VAR rect: BRect);
PROCEDURE [ccall16] BWindowConvertToScreen4* ["_ZNK7BWindow15ConvertToScreenE5BRect"] (OUT [res] res: BRect; this: PtrBWindow; VAR rect: BRect);
PROCEDURE [ccall16] BWindowConvertFromScreen3* ["_ZNK7BWindow17ConvertFromScreenEP5BRect"] (this: PtrBWindow; VAR rect: BRect);
PROCEDURE [ccall16] BWindowConvertFromScreen4* ["_ZNK7BWindow17ConvertFromScreenE5BRect"] (OUT [res] res: BRect; this: PtrBWindow; VAR rect: BRect);
PROCEDURE [ccall16] BWindowMoveBy* ["_ZN7BWindow6MoveByEff"] (this: PtrBWindow; dx, dy: SHORTREAL);
PROCEDURE [ccall16] BWindowMoveTo* ["_ZN7BWindow6MoveToE6BPoint"] (this: PtrBWindow; VAR point: BPoint);
PROCEDURE [ccall16] BWindowMoveTo2* ["_ZN7BWindow6MoveToEff"] (this: PtrBWindow; x, y: SHORTREAL);
PROCEDURE [ccall16] BWindowResizeBy* ["_ZN7BWindow8ResizeByEff"] (this: PtrBWindow; dx, dy: SHORTREAL);
PROCEDURE [ccall16] BWindowResizeTo* ["_ZN7BWindow8ResizeToEff"] (this: PtrBWindow; width, height: SHORTREAL);
PROCEDURE [ccall16] BWindowResizeToPreferred* ["_ZN7BWindow17ResizeToPreferredEv"] (this: PtrBWindow; width, height: SHORTREAL);
PROCEDURE [ccall16] BWindowCenterIn* ["_ZN7BWindow8CenterInERK5BRect"] (this: PtrBWindow; IN rect: BRect);
PROCEDURE [ccall16] BWindowCenterOnScreen* ["_ZN7BWindow14CenterOnScreenEv"] (this: PtrBWindow);
PROCEDURE [ccall16] BWindowCenterOnScreen2* ["_ZN7BWindow14CenterOnScreenE9screen_id"] (this: PtrBWindow; id: screen_id);
PROCEDURE [ccall16] BWindowMoveOnScreen* ["_ZN7BWindow12MoveOnScreenEm"] (this: PtrBWindow; flags: SET);
PROCEDURE [ccall16] BWindowIsHidden* ["_ZNK7BWindow8IsHiddenEv"] (this: PtrBWindow): BOOLEAN;
PROCEDURE [ccall16] BWindowIsMinimized* ["_ZNK7BWindow11IsMinimizedEv"] (this: PtrBWindow): BOOLEAN;
PROCEDURE [ccall16] BWindowFlush* ["_ZNK7BWindow5FlushEv"] (this: PtrBWindow);
PROCEDURE [ccall16] BWindowSync* ["_ZNK7BWindow4SyncEv"] (this: PtrBWindow);
PROCEDURE [ccall16] BWindowSendBehind* ["_ZN7BWindow10SendBehindEPKS_"] (this: PtrBWindow; window: PtrBWindow): INTEGER;
PROCEDURE [ccall16] BWindowDisableUpdates* ["_ZN7BWindow14DisableUpdatesEv"] (this: PtrBWindow);
PROCEDURE [ccall16] BWindowEnableUpdates* ["_ZN7BWindow13EnableUpdatesEv"] (this: PtrBWindow);
PROCEDURE [ccall16] BWindowBeginViewTransaction* ["_ZN7BWindow20BeginViewTransactionEv"] (this: PtrBWindow);
PROCEDURE [ccall16] BWindowEndViewTransaction* ["_ZN7BWindow18EndViewTransactionEv"] (this: PtrBWindow);
PROCEDURE [ccall16] BWindowInViewTransaction* ["_ZNK7BWindow17InViewTransactionEv"] (this: PtrBWindow): BOOLEAN;
PROCEDURE [ccall16] BWindowBounds* ["_ZNK7BWindow6BoundsEv"] (OUT [res] res: BRect; this: PtrBWindow);
PROCEDURE [ccall16] BWindowFrame* ["_ZNK7BWindow5FrameEv"] (OUT [res] res: BRect; this: PtrBWindow);
PROCEDURE [ccall16] BWindowDecoratorFrame* ["_ZNK7BWindow14DecoratorFrameEv"] (OUT [res] res: BRect; this: PtrBWindow);
PROCEDURE [ccall16] BWindowSize* ["_ZNK7BWindow4SizeEv"] (OUT [res] res: BSize; this: PtrBWindow);
PROCEDURE [ccall16] BWindowTitle* ["_ZNK7BWindow5TitleEv"] (this: PtrBWindow): O.PtrStr;
PROCEDURE [ccall16] BWindowSetTitle* ["_ZN7BWindow8SetTitleEPKc"] (this: PtrBWindow; IN title: O.Str);
PROCEDURE [ccall16] BWindowIsFront* ["_ZNK7BWindow7IsFrontEv"] (this: PtrBWindow): BOOLEAN;
PROCEDURE [ccall16] BWindowIsActive* ["_ZNK7BWindow8IsActiveEv"] (this: PtrBWindow): BOOLEAN;
PROCEDURE [ccall16] BWindowSetKeyMenuBar* ["_ZN7BWindow13SetKeyMenuBarEP8BMenuBar"] (this: PtrBWindow; bar: PtrBMenuBar);
PROCEDURE [ccall16] BWindowKeyMenuBar* ["_ZNK7BWindow10KeyMenuBarEv"] (this: PtrBWindow; bar: BMenuBar): PtrBMenuBar;
PROCEDURE [ccall16] BWindowSetSizeLimits* ["_ZN7BWindow13SetSizeLimitsEffff"] (this: PtrBWindow; minWidth, maxWidth, minHeight, maxHeight: SHORTREAL);
PROCEDURE [ccall16] BWindowGetSizeLimits* ["_ZN7BWindow13GetSizeLimitsEPfS0_S0_S0_"] (this: PtrBWindow; VAR minWidth, maxWidth, minHeight, maxHeight: SHORTREAL);
PROCEDURE [ccall16] BWindowUpdateSizeLimits* ["_ZN7BWindow16UpdateSizeLimitsEv"] (this: PtrBWindow);
PROCEDURE [ccall16] BWindowSetDecoratorSettings* ["_ZN7BWindow20SetDecoratorSettingsERK8BMessage"] (this: PtrBWindow; IN settings: BMessage): INTEGER;
PROCEDURE [ccall16] BWindowGetDecoratorSettings* ["_ZNK7BWindow20GetDecoratorSettingsEP8BMessage"] (this: PtrBWindow; VAR settings: BMessage): INTEGER;
PROCEDURE [ccall16] BWindowWorkspaces* ["_ZNK7BWindow10WorkspacesEv"] (this: PtrBWindow): SET;
PROCEDURE [ccall16] BWindowSetWorkspaces* ["_ZN7BWindow13SetWorkspacesEm"] (this: PtrBWindow; workspaces: SET);
PROCEDURE [ccall16] BWindowLastMouseMovedView* ["_ZNK7BWindow18LastMouseMovedViewEv"] (this: PtrBWindow): PtrBView;
PROCEDURE [ccall16] BWindowAddToSubset* ["_ZN7BWindow11AddToSubsetEPS_"] (this: PtrBWindow; window: PtrBWindow): INTEGER;
PROCEDURE [ccall16] BWindowRemoveFromSubset* ["_ZN7BWindow16RemoveFromSubsetEPS_"] (this: PtrBWindow; window: PtrBWindow): INTEGER;
PROCEDURE [ccall16] BWindowSetType* ["_ZN7BWindow7SetTypeE11window_type"] (this: PtrBWindow; type: INTEGER): INTEGER;
PROCEDURE [ccall16] BWindowType* ["_ZNK7BWindow4TypeEv"] (this: PtrBWindow): INTEGER;
PROCEDURE [ccall16] BWindowSetLook* ["_ZN7BWindow7SetLookE11window_look"] (this: PtrBWindow; look: INTEGER): INTEGER;
PROCEDURE [ccall16] BWindowLook* ["_ZNK7BWindow4LookEv"] (this: PtrBWindow): INTEGER;
PROCEDURE [ccall16] BWindowSetFeel* ["_ZN7BWindow7SetFeelE11window_feel"] (this: PtrBWindow; feel: INTEGER): INTEGER;
PROCEDURE [ccall16] BWindowFeel* ["_ZNK7BWindow4FeelEv"] (this: PtrBWindow): INTEGER;
PROCEDURE [ccall16] BWindowSetFlags* ["_ZN7BWindow8SetFlagsEm"] (this: PtrBWindow; flags: SET): INTEGER;
PROCEDURE [ccall16] BWindowFlags* ["_ZNK7BWindow5FlagsEv"] (this: PtrBWindow): SET;
PROCEDURE [ccall16] BWindowIsModal* ["_ZNK7BWindow7IsModalEv"] (this: PtrBWindow): BOOLEAN;
PROCEDURE [ccall16] BWindowIsFloating* ["_ZNK7BWindow10IsFloatingEv"] (this: PtrBWindow): BOOLEAN;
PROCEDURE [ccall16] BWindowSetWindowAlignment* (this: PtrBWindow; mode: INTEGER; h, hOffset, width, widthOffset, v, vOffset, height, heightOffset: INTEGER): INTEGER;
PROCEDURE [ccall16] BWindowGetWindowAlignment* (this: PtrBWindow; VAR [nil] mode: INTEGER; VAR [nil] h, hOffset, width, widthOffset, v, vOffset, height, heightOffset: INTEGER): INTEGER;
PROCEDURE [ccall16] BWindowGetLayout* ["_ZNK7BWindow9GetLayoutEv"] (this: PtrBWindow): PtrBLayout;
PROCEDURE [ccall16] BWindowInvalidateLayout* ["_ZN7BWindow16InvalidateLayoutEb"] (this: PtrBWindow; descendants: BOOLEAN);
PROCEDURE [ccall16] BWindowLayout* ["_ZN7BWindow6LayoutEb"] (this: PtrBWindow; force: BOOLEAN);
PROCEDURE [ccall16] BWindowIsOffscreenWindow* ["_ZNK7BWindow17IsOffscreenWindowEv"] (this: PtrBWindow): BOOLEAN;
(* BView *)
PROCEDURE [ccall16] BViewNew* ["_ZN5BViewC2EPKcmP7BLayout"] (this: PtrBView; IN name: O.Str; flags: SET; layout: PtrBLayout);
PROCEDURE [ccall16] BViewNew2* ["_ZN5BViewC2E5BRectPKcmm"] (this: PtrBView; VAR frame: BRect; IN name: O.Str; resizingMode: SET; flags: SET);
PROCEDURE [ccall16] BViewNew3* ["_ZN5BViewC2EP8BMessage"] (this: PtrBView; VAR archive: BMessage);
PROCEDURE [ccall16] BViewInstantiate* ["_ZN5BView11InstantiateEP8BMessage"] (VAR archive: BMessage): PtrBArchivable;
PROCEDURE [ccall16] BViewAddChild* ["_ZN5BView8AddChildEPS_S0_"] (this: PtrBView; child, before: PtrBView);
PROCEDURE [ccall16] BViewAddChild2* ["_ZN5BView8AddChildEP11BLayoutItem"] (this: PtrBView; child: BLayoutItem): BOOLEAN;
PROCEDURE [ccall16] BViewRemoveChild* ["_ZN5BView11RemoveChildEPS_"] (this: PtrBView; child: BView): BOOLEAN;
PROCEDURE [ccall16] BViewCountChildren* ["_ZNK5BView13CountChildrenEv"] (this: PtrBView): INTEGER;
PROCEDURE [ccall16] BViewChildAt* ["_ZNK5BView7ChildAtEl"] (this: PtrBView; index: INTEGER): PtrBView;
PROCEDURE [ccall16] BViewNextSibling* ["_ZNK5BView11NextSiblingEv"] (this: PtrBView): PtrBView;
PROCEDURE [ccall16] BViewPreviousSibling* ["_ZNK5BView15PreviousSiblingEv"] (this: PtrBView): PtrBView;
PROCEDURE [ccall16] BViewRemoveSelf* ["_ZN5BView10RemoveSelfEv"] (this: PtrBView): BOOLEAN;
PROCEDURE [ccall16] BViewBeginRectTracking* ["_ZN5BView17BeginRectTrackingE5BRectm"] (this: PtrBView; VAR startRect: BRect; style: INTEGER): BOOLEAN;
PROCEDURE [ccall16] BViewEndRectTracking* ["_ZN5BView15EndRectTrackingEv"] (this: PtrBView);
PROCEDURE [ccall16] BViewGetMouse* ["_ZN5BView8GetMouseEP6BPointPmb"] (this: PtrBView; VAR location: BPoint; VAR buttons: SET; checkMessageQueue: BOOLEAN);
PROCEDURE [ccall16] BViewDragMessage* ["_ZN5BView11DragMessageEP8BMessage5BRectP8BHandler"] (this: PtrBView; VAR message: BMessage; VAR dragRect: BRect; replyTo: PtrBHandler);
PROCEDURE [ccall16] BViewDragMessage2* ["_ZN5BView11DragMessageEP8BMessageP7BBitmap6BPointP8BHandler"] (this: PtrBView; VAR message: BMessage; bitmap: PtrBBitmap; VAR offset: BPoint; replyTo: PtrBHandler);
PROCEDURE [ccall16] BViewDragMessage3* ["_ZN5BView11DragMessageEP8BMessageP7BBitmap12drawing_mode6BPointP8BHandler"] (this: PtrBView; VAR message: BMessage; bitmap: PtrBBitmap; dragMode: INTEGER; VAR offset: BPoint; replyTo: PtrBHandler);
PROCEDURE [ccall16] BViewFindView* ["_ZNK5BView8FindViewEPKc"] (this: PtrBView; IN name: O.Str): PtrBView;
PROCEDURE [ccall16] BViewParent* ["_ZNK5BView6ParentEv"] (this: PtrBView): PtrBView;
PROCEDURE [ccall16] BViewBounds* ["_ZNK5BView6BoundsEv"] (OUT [res] res: BRect; this: PtrBView);
PROCEDURE [ccall16] BViewFrame* ["_ZNK5BView5FrameEv"] (OUT [res] res: BRect; this: PtrBView);
PROCEDURE [ccall16] BViewConvertToScreen* ["_ZNK5BView15ConvertToScreenEP6BPoint"] (this: PtrBView; VAR point: BPoint);
PROCEDURE [ccall16] BViewConvertToScreen2* ["_ZNK5BView15ConvertToParentE5BRect"] (OUT [res] res: BPoint; this: PtrBView; VAR point: BPoint);
PROCEDURE [ccall16] BViewConvertFromScreen* ["_ZNK5BView17ConvertFromScreenEP6BPoint"] (this: PtrBView; VAR point: BPoint);
PROCEDURE [ccall16] BViewConvertFromScreen2* ["_ZNK5BView17ConvertFromScreenE6BPoint"] (OUT [res] res: BPoint; this: PtrBView; VAR point: BPoint);
PROCEDURE [ccall16] BViewConvertToScreen3* ["_ZNK5BView15ConvertToScreenEP5BRect"] (this: PtrBView; VAR rect: BRect);
PROCEDURE [ccall16] BViewConvertToScreen4* ["_ZNK5BView15ConvertToScreenE5BRect"] (OUT [res] res: BRect; this: PtrBView; VAR rect: BRect);
PROCEDURE [ccall16] BViewConvertFromScreen3* ["_ZNK5BView17ConvertFromScreenEP5BRect"] (this: PtrBView; VAR rect: BPoint);
PROCEDURE [ccall16] BViewConvertFromScreen4* ["_ZNK5BView17ConvertFromScreenE5BRect"] (OUT [res] res: BRect; this: PtrBView; VAR rect: BRect);
PROCEDURE [ccall16] BViewConvertToParent* ["_ZNK5BView15ConvertToParentEP6BPoint"] (this: PtrBView; VAR point: BPoint);
PROCEDURE [ccall16] BViewConvertToParent2* ["_ZNK5BView15ConvertToParentE6BPoint"] (OUT [res] res: BPoint; this: PtrBView; VAR point: BPoint);
PROCEDURE [ccall16] BViewConvertFromParent* ["_ZNK5BView17ConvertFromParentEP6BPoint"] (this: PtrBView; VAR point: BPoint);
PROCEDURE [ccall16] BViewConvertFromParent2* ["_ZNK5BView17ConvertFromParentE6BPoint"] (OUT [res] res: BPoint; this: PtrBView; VAR point: BPoint);
PROCEDURE [ccall16] BViewConvertToParent3* ["_ZNK5BView15ConvertToParentEP5BRect"] (this: BRect; VAR rect: BRect);
PROCEDURE [ccall16] BViewConvertToParent4* ["_ZNK5BView15ConvertToParentE5BRect"] (OUT [res] res: BRect; this: PtrBView; VAR rect: BRect);
PROCEDURE [ccall16] BViewConvertFromParent3* ["_ZNK5BView17ConvertFromParentEP5BRect"] (this: PtrBView; VAR rect: BPoint);
PROCEDURE [ccall16] BViewConvertFromParent4* ["_ZNK5BView17ConvertFromParentE5BRect"] (OUT [res] res: BRect; this: PtrBView; VAR rect: BRect);
PROCEDURE [ccall16] BViewLeftTop* ["_ZNK5BView7LeftTopEv"] (OUT [res] res: BPoint; this: PtrBView);
PROCEDURE [ccall16] BViewGetClippingRegion* ["_ZNK5BView17GetClippingRegionEP7BRegion"] (this: PtrBView; VAR region: BRegion);
PROCEDURE [ccall16] BViewClipToPicture* ["_ZN5BView13ClipToPictureEP8BPicture6BPointb"] (this: PtrBView; VAR picture: BPicture; VAR where: BPoint; sync: BOOLEAN);
PROCEDURE [ccall16] BViewClipToInversePicture* ["_ZN5BView20ClipToInversePictureEP8BPicture6BPointb"] (this: PtrBView; VAR picture: BPicture; VAR where: BPoint; sync: BOOLEAN);
PROCEDURE [ccall16] BViewClipToRect* ["_ZN5BView10ClipToRectE5BRect"] (this: PtrBView; VAR rect: BRect);
PROCEDURE [ccall16] BViewClipToInverseRect* ["_ZN5BView17ClipToInverseRectE5BRect"] (this: PtrBView; VAR rect: BRect);
PROCEDURE [ccall16] BViewClipToShape* ["_ZN5BView11ClipToShapeEP6BShape"] (this: PtrBView; VAR shape: BShape);
PROCEDURE [ccall16] BViewClipToInverseShape* ["_ZN5BView18ClipToInverseShapeEP6BShape"] (this: PtrBView; VAR shape: BShape);
PROCEDURE [ccall16] BViewDrawingMode* ["_ZNK5BView11DrawingModeEv"] (this: PtrBView): INTEGER;
PROCEDURE [ccall16] BViewSetBlendingMode* ["_ZN5BView15SetBlendingModeE12source_alpha14alpha_function"] (this: PtrBView; srcAlpha: INTEGER; alphaFunc: INTEGER);
PROCEDURE [ccall16] BViewGetBlendingMode* ["_ZNK5BView15GetBlendingModeEP12source_alphaP14alpha_function"] (this: PtrBView; VAR srcAlpha: INTEGER; VAR alphaFunc: INTEGER);
PROCEDURE [ccall16] BViewPenSize* ["_ZNK5BView7PenSizeEv"] (this: PtrBView): SHORTREAL;
PROCEDURE [ccall16] BViewSetViewCursor* ["_ZN5BView12SetViewColorE9rgb_color"] (this: PtrBView; IN cursor: BCursor; sync: BOOLEAN);
PROCEDURE [ccall16] BViewHasDefaultColors* ["_ZNK5BView16HasDefaultColorsEv"] (this: PtrBView): BOOLEAN;
PROCEDURE [ccall16] BViewHasSystemColors* ["_ZNK5BView15HasSystemColorsEv"] (this: PtrBView): BOOLEAN;
PROCEDURE [ccall16] BViewAdoptParentColors* ["_ZN5BView17AdoptParentColorsEv"] (this: PtrBView);
PROCEDURE [ccall16] BViewAdoptSystemColors* ["_ZN5BView17AdoptSystemColorsEv"] (this: PtrBView);
PROCEDURE [ccall16] BViewAdoptViewColors* ["_ZN5BView15AdoptViewColorsEPS_"] (this: PtrBView; view: PtrBView);
PROCEDURE [ccall16] BViewViewColor* ["_ZNK5BView9ViewColorEv"] (this: PtrBView): rgb_color;
PROCEDURE [ccall16] BViewSetViewUIColor* ["_ZN5BView14SetViewUIColorE11color_whichf"] (this: PtrBView; which: INTEGER; tint: SHORTREAL);
PROCEDURE [ccall16] BViewViewUIColor* ["_ZNK5BView11ViewUIColorEPf"] (this: PtrBView; VAR [nil] tint: SHORTREAL): INTEGER;
PROCEDURE [ccall16] BViewSetViewBitmap* ["_ZN5BView13SetViewBitmapEPK7BBitmap5BRectS3_mm"] (this: PtrBView; IN bitmap: BBitmap; VAR srcRect, dstRect: BRect; followFlags: SET; options: SET);
PROCEDURE [ccall16] BViewSetViewBitmap2* ["_ZN5BView13SetViewBitmapEPK7BBitmapmm"] (this: PtrBView; IN bitmap: BBitmap; followFlags: SET; options: SET);
PROCEDURE [ccall16] BViewClearViewBitmap* ["_ZN5BView15ClearViewBitmapEv"] (this: PtrBView);
PROCEDURE [ccall16] BViewSetViewOverlay* ["_ZN5BView14SetViewOverlayEPK7BBitmap5BRectS3_P9rgb_colormm"] (this: PtrBView; IN overlay: BBitmap; VAR srcRect, dstRect: BRect; VAR colorKey: rgb_color; followFlags: SET; options: SET): INTEGER;
PROCEDURE [ccall16] BViewSetViewOverlay2* ["_ZN5BView14SetViewOverlayEPK7BBitmapP9rgb_colormm"] (this: PtrBView; IN overlay: BBitmap; VAR colorKey: rgb_color; followFlags: SET; options: SET): INTEGER;
PROCEDURE [ccall16] BViewClearViewOverlay* ["_ZN5BView16ClearViewOverlayEv"] (this: PtrBView);
PROCEDURE [ccall16] BViewHighColor* ["_ZNK5BView9HighColorEv"] (this: PtrBView): INTEGER;
PROCEDURE [ccall16] BViewSetHighUIColor* ["_ZN5BView14SetHighUIColorE11color_whichf"] (this: PtrBView; which: INTEGER; tint: SHORTREAL);
PROCEDURE [ccall16] BViewHighUIColor* ["_ZNK5BView11HighUIColorEPf"] (this: PtrBView; VAR tint: SHORTREAL): INTEGER;
PROCEDURE [ccall16] BViewLowColor* ["_ZNK5BView8LowColorEv"] (this: PtrBView): INTEGER;
PROCEDURE [ccall16] BViewSetLowUIColor* ["_ZN5BView13SetLowUIColorE11color_whichf"] (this: PtrBView; which: INTEGER; tint: SHORTREAL);
PROCEDURE [ccall16] BViewLowUIColor* ["_ZNK5BView10LowUIColorEPf"] (this: PtrBView; VAR tint: SHORTREAL): INTEGER;
PROCEDURE [ccall16] BViewSetLineMode* ["_ZN5BView11SetLineModeE8cap_mode9join_modef"] (this: PtrBView; lineCap: INTEGER; lineJoin: INTEGER; miterLimit: SHORTREAL);
PROCEDURE [ccall16] BViewLineJoinMode* ["_ZNK5BView12LineJoinModeEv"] (this: PtrBView): INTEGER;
PROCEDURE [ccall16] BViewLineCapMode* ["_ZNK5BView11LineCapModeEv"] (this: PtrBView): INTEGER;
PROCEDURE [ccall16] BViewLineMiterLimit* ["_ZNK5BView14LineMiterLimitEv"] (this: PtrBView): SHORTREAL;
PROCEDURE [ccall16] BViewSetFillRule* ["_ZN5BView11SetFillRuleEl"] (this: PtrBView; rule: INTEGER);
PROCEDURE [ccall16] BViewFillRule* ["_ZNK5BView8FillRuleEv"] (this: PtrBView): INTEGER;
PROCEDURE [ccall16] BViewSetOrigin* ["_ZN5BView9SetOriginE6BPoint"] (this: PtrBView; VAR where: BPoint);
PROCEDURE [ccall16] BViewSetOrigin2* ["_ZN5BView9SetOriginEff"] (this: PtrBView; x, y: SHORTREAL);
PROCEDURE [ccall16] BViewOrigin* ["_ZNK5BView6OriginEv"] (OUT [res] res: BPoint; this: PtrBView);
PROCEDURE [ccall16] BViewSetTransform* ["_ZN5BView12SetTransformE16BAffineTransform"] (this: PtrBView; VAR transform: BAffineTransform);
PROCEDURE [ccall16] BViewTransform* ["_ZNK5BView9TransformEv"] (OUT [res] res: BAffineTransform; this: PtrBView);
PROCEDURE [ccall16] BViewTranslateBy* ["_ZN5BView11TranslateByEdd"] (this: PtrBView; x, y: REAL);
PROCEDURE [ccall16] BViewScaleBy* ["_ZN5BView7ScaleByEdd"] (this: PtrBView; x, y: REAL);
PROCEDURE [ccall16] BViewPushState* ["_ZN5BView9PushStateEv"] (this: PtrBView);
PROCEDURE [ccall16] BViewPopState* ["_ZN5BView8PopStateEv"] (this: PtrBView);
PROCEDURE [ccall16] BViewMovePenTo* ["_ZN5BView9MovePenToE6BPoint"] (this: PtrBView; VAR pt: BPoint);
PROCEDURE [ccall16] BViewMovePenTo2* ["_ZN5BView9MovePenToEff"] (this: PtrBView; x, y: SHORTREAL);
PROCEDURE [ccall16] BViewMovePenBy* ["_ZN5BView9MovePenByEff"] (this: PtrBView; x, y: SHORTREAL);
PROCEDURE [ccall16] BViewPenLocation* ["_ZNK5BView11PenLocationEv"] (OUT [res] res: BPoint; this: PtrBView);
PROCEDURE [ccall16] BViewStrokeLine* ["_ZN5BView10StrokeLineE6BPoint7pattern"] (this: PtrBView; VAR toPoint: BPoint; pat: pattern);
PROCEDURE [ccall16] BViewStrokeLine2* ["_ZN5BView10StrokeLineE6BPointS0_7pattern"] (this: PtrBView; VAR start, end: BPoint; pat: pattern);
PROCEDURE [ccall16] BViewBeginLineArray* ["_ZN5BView14BeginLineArrayEl"] (this: PtrBView; count: INTEGER);
PROCEDURE [ccall16] BViewAddLine* ["_ZN5BView7AddLineE6BPointS0_9rgb_color"] (this: PtrBView; VAR start, end: BPoint; color: rgb_color);
PROCEDURE [ccall16] BViewEndLineArray* ["_ZN5BView12EndLineArrayEv"] (this: PtrBView);
PROCEDURE [ccall16] BViewStrokePolygon* ["_ZN5BView13StrokePolygonEPK8BPolygonb7pattern"] (this: PtrBView; IN polygon: BPolygon; closed: BOOLEAN; pat: pattern);
PROCEDURE [ccall16] BViewStrokePolygon2* ["_ZN5BView13StrokePolygonEPK6BPointlb7pattern"] (this: PtrBView; IN pointArray: ARRAY [untagged] OF BPoint; numPoints: INTEGER; closed: BOOLEAN; pat: pattern);
PROCEDURE [ccall16] BViewStrokePolygon3* ["_ZN5BView13StrokePolygonEPK6BPointl5BRectb7pattern"] (this: PtrBView; IN pointArray: ARRAY [untagged] OF BPoint; numPoints: INTEGER; VAR bounds: BRect; closed: BOOLEAN; pat: pattern);
PROCEDURE [ccall16] BViewFillPolygon* ["_ZN5BView11FillPolygonEPK8BPolygon7pattern"] (this: PtrBView; IN polygon: BPolygon; pat: pattern);
PROCEDURE [ccall16] BViewFillPolygon2* ["_ZN5BView11FillPolygonEPK6BPointl7pattern"] (this: PtrBView; IN pointArray: ARRAY [untagged] OF BPoint; numPoints: INTEGER; pat: pattern);
PROCEDURE [ccall16] BViewFillPolygon3* ["_ZN5BView11FillPolygonEPK6BPointl5BRect7pattern"] (this: PtrBView; IN pointArray: ARRAY [untagged] OF BPoint; numPoints: INTEGER; VAR bounds: BRect; pat: pattern);
PROCEDURE [ccall16] BViewFillPolygon4* ["_ZN5BView11FillPolygonEPK8BPolygonRK9BGradient"] (this: PtrBView; IN polygon: BPolygon; IN gradient: BGradient);
PROCEDURE [ccall16] BViewFillPolygon5* ["_ZN5BView11FillPolygonEPK6BPointlRK9BGradient"] (this: PtrBView; IN pointArray: ARRAY [untagged] OF BPoint; numPoints: INTEGER; IN gradient: BGradient);
PROCEDURE [ccall16] BViewFillPolygon6* ["_ZN5BView11FillPolygonEPK6BPointl5BRectRK9BGradient"] (this: PtrBView; IN pointArray: ARRAY [untagged] OF BPoint; numPoints: INTEGER; VAR bounds: BRect; IN gradient: BGradient);
PROCEDURE [ccall16] BViewStrokeTriangle* ["_ZN5BView14StrokeTriangleE6BPointS0_S0_5BRect7pattern"] (this: PtrBView; VAR point1, point2, point3: BPoint; VAR bounds: BRect; pat: pattern);
PROCEDURE [ccall16] BViewStrokeTriangle2* ["_ZN5BView14StrokeTriangleE6BPointS0_S0_7pattern"] (this: PtrBView; VAR point1, point2, point3: BPoint; pat: pattern);
PROCEDURE [ccall16] BViewFillTriangle* ["_ZN5BView12FillTriangleE6BPointS0_S0_7pattern"] (this: PtrBView; VAR point1, point2, point3: BPoint; pat: pattern);
PROCEDURE [ccall16] BViewFillTriangle2* ["_ZN5BView12FillTriangleE6BPointS0_S0_5BRect7pattern"] (this: PtrBView; VAR point1, point2, point3: BPoint; VAR bounds: BRect; pat: pattern);
PROCEDURE [ccall16] BViewFillTriangle3* ["_ZN5BView12FillTriangleE6BPointS0_S0_RK9BGradient"] (this: PtrBView; VAR point1, point2, point3: BPoint; IN gradient: BGradient);
PROCEDURE [ccall16] BViewFillTriangle4* ["_ZN5BView12FillTriangleE6BPointS0_S0_5BRectRK9BGradient"] (this: PtrBView; VAR point1, point2, point3: BPoint; VAR bounds: BRect; IN gradient: BGradient);
PROCEDURE [ccall16] BViewStrokeRect* ["_ZN5BView10StrokeRectE5BRect7pattern"] (this: PtrBView; VAR rect: BRect; pat: pattern);
PROCEDURE [ccall16] BViewFillRect* ["_ZN5BView8FillRectE5BRect7pattern"] (this: PtrBView; VAR rect: BRect; pat: pattern);
PROCEDURE [ccall16] BViewFillRect2* ["_ZN5BView8FillRectE5BRectRK9BGradient"] (this: PtrBView; VAR rect: BRect; IN gradient: BGradient);
PROCEDURE [ccall16] BViewFillRegion* ["_ZN5BView10FillRegionEP7BRegion7pattern"] (this: PtrBView; VAR rectegion: BRegion; pat: pattern);
PROCEDURE [ccall16] BViewFillRegion2* ["_ZN5BView10FillRegionEP7BRegionRK9BGradient"] (this: PtrBView; VAR rectegion: BRegion; IN gradient: BGradient);
PROCEDURE [ccall16] BViewInvertRect* ["_ZN5BView10InvertRectE5BRect"] (this: PtrBView; VAR rect: BRect);
PROCEDURE [ccall16] BViewStrokeRoundRect* ["_ZN5BView15StrokeRoundRectE5BRectff7pattern"] (this: PtrBView; VAR rect: BRect; xRadius, yRadius: SHORTREAL; pat: pattern);
PROCEDURE [ccall16] BViewFillRoundRect* ["_ZN5BView13FillRoundRectE5BRectff7pattern"] (this: PtrBView; VAR rect: BRect; xRadius, yRadius: SHORTREAL; pat: pattern);
PROCEDURE [ccall16] BViewFillRoundRect2* ["_ZN5BView13FillRoundRectE5BRectffRK9BGradient"] (this: PtrBView; VAR rect: BRect; xRadius, yRadius: SHORTREAL; IN gradient: BGradient);
PROCEDURE [ccall16] BViewStrokeEllipse* ["_ZN5BView13StrokeEllipseE6BPointff7pattern"] (this: PtrBView; VAR center: BPoint; xRadius, yRadius: SHORTREAL; pat: pattern);
PROCEDURE [ccall16] BViewStrokeEllipse2* ["_ZN5BView13StrokeEllipseE5BRect7pattern"] (this: PtrBView; VAR rect: BRect; pat: pattern);
PROCEDURE [ccall16] BViewFillEllipse* ["_ZN5BView11FillEllipseE6BPointff7pattern"] (this: PtrBView; VAR center: BPoint; xRadius, yRadius: SHORTREAL; pat: pattern);
PROCEDURE [ccall16] BViewFillEllipse2* ["_ZN5BView11FillEllipseE5BRect7pattern"] (this: PtrBView; VAR rect: BRect; pat: pattern);
PROCEDURE [ccall16] BViewFillEllipse3* ["_ZN5BView11FillEllipseE6BPointffRK9BGradient"] (this: PtrBView; VAR center: BPoint; xRadius, yRadius: SHORTREAL; IN gradient: BGradient);
PROCEDURE [ccall16] BViewFillEllipse4* ["_ZN5BView11FillEllipseE5BRectRK9BGradient"] (this: PtrBView; VAR rect: BRect; IN gradient: BGradient);
PROCEDURE [ccall16] BViewStrokeArc* ["_ZN5BView9StrokeArcE6BPointffff7pattern"] (this: PtrBView; VAR center: BPoint; xRadius, yRadius, startAngle, arcAngle: SHORTREAL; pat: pattern);
PROCEDURE [ccall16] BViewStrokeArc2* ["_ZN5BView9StrokeArcE5BRectff7pattern"] (this: PtrBView; VAR rect: BRect; startAngle, arcAngle: SHORTREAL; pat: pattern);
PROCEDURE [ccall16] BViewFillArc* ["_ZN5BView7FillArcE6BPointffff7pattern"] (this: PtrBView; VAR center: BPoint; xRadius, yRadius, startAngle, arcAngle: SHORTREAL; pat: pattern);
PROCEDURE [ccall16] BViewFillArc2* ["_ZN5BView7FillArcE5BRectff7pattern"] (this: PtrBView; VAR rect: BRect; startAngle, arcAngle: SHORTREAL; pat: pattern);
PROCEDURE [ccall16] BViewFillArc3* ["_ZN5BView7FillArcE6BPointffffRK9BGradient"] (this: PtrBView; VAR center: BPoint; xRadius, yRadius, startAngle, arcAngle: SHORTREAL; IN gradient: BGradient);
PROCEDURE [ccall16] BViewFillArc4* ["_ZN5BView7FillArcE5BRectffRK9BGradient"] (this: PtrBView; VAR rect: BRect; startAngle, arcAngle: SHORTREAL; IN gradient: BGradient);
PROCEDURE [ccall16] BViewStrokeBezier* ["_ZN5BView12StrokeBezierEP6BPoint7pattern"] (this: PtrBView; VAR controlPoints: ARRAY [untagged] OF BPoint; pat: pattern);
PROCEDURE [ccall16] BViewFillBezier* ["_ZN5BView10FillBezierEP6BPoint7pattern"] (this: PtrBView; VAR controlPoints: ARRAY [untagged] OF BPoint; pat: pattern);
PROCEDURE [ccall16] BViewFillBezier2* ["_ZN5BView10FillBezierEP6BPointRK9BGradient"] (this: PtrBView; VAR controlPoints: ARRAY [untagged] OF BPoint; IN gradient: BGradient);
PROCEDURE [ccall16] BViewStrokeShape* ["_ZN5BView11StrokeShapeEP6BShape7pattern"] (this: PtrBView; VAR shape: BShape; pat: pattern);
PROCEDURE [ccall16] BViewFillShape* ["_ZN5BView9FillShapeEP6BShape7pattern"] (this: PtrBView; VAR shape: BShape; pat: pattern);
PROCEDURE [ccall16] BViewFillShape2* ["_ZN5BView9FillShapeEP6BShapeRK9BGradient"] (this: PtrBView; VAR shape: BShape; IN gradient: BGradient);
PROCEDURE [ccall16] BViewCopyBits* ["_ZN5BView8CopyBitsE5BRectS0_"] (this: PtrBView; VAR src, dst: BRect);
PROCEDURE [ccall16] BViewDrawBitmapAsync* ["_ZN5BView15DrawBitmapAsyncEPK7BBitmap5BRectS3_m"] (this: PtrBView; IN aBitmap: BBitmap; VAR bitmapRect, viewRect: BRect; options: SET);
PROCEDURE [ccall16] BViewDrawBitmapAsync2* ["_ZN5BView15DrawBitmapAsyncEPK7BBitmap5BRectS3_"] (this: PtrBView; IN aBitmap: BBitmap; VAR bitmapRect, viewRect: BRect);
PROCEDURE [ccall16] BViewDrawBitmapAsync3* ["_ZN5BView15DrawBitmapAsyncEPK7BBitmap5BRect"] (this: PtrBView; IN aBitmap: BBitmap; VAR viewRect: BRect);
PROCEDURE [ccall16] BViewDrawBitmapAsync4* ["_ZN5BView15DrawBitmapAsyncEPK7BBitmap6BPoint"] (this: PtrBView; IN aBitmap: BBitmap; VAR where: BPoint);
PROCEDURE [ccall16] BViewDrawBitmapAsync5* ["_ZN5BView15DrawBitmapAsyncEPK7BBitmap"] (this: PtrBView; IN aBitmap: BBitmap);
PROCEDURE [ccall16] BViewDrawBitmap* ["_ZN5BView10DrawBitmapEPK7BBitmap5BRectS3_m"] (this: PtrBView; IN aBitmap: BBitmap; VAR bitmapRect, viewRect: BRect; options: SET);
PROCEDURE [ccall16] BViewDrawBitmap2* ["_ZN5BView10DrawBitmapEPK7BBitmap5BRectS3_"] (this: PtrBView; IN aBitmap: BBitmap; VAR bitmapRect, viewRect: BRect);
PROCEDURE [ccall16] BViewDrawBitmap3* ["_ZN5BView10DrawBitmapEPK7BBitmap5BRect"] (this: PtrBView; IN aBitmap: BBitmap; VAR viewRect: BRect);
PROCEDURE [ccall16] BViewDrawBitmap4* ["_ZN5BView10DrawBitmapEPK7BBitmap6BPoint"] (this: PtrBView; IN aBitmap: BBitmap; VAR where: BPoint);
PROCEDURE [ccall16] BViewDrawBitmap5* ["_ZN5BView10DrawBitmapEPK7BBitmap"] (this: PtrBView; IN aBitmap: BBitmap);
PROCEDURE [ccall16] BViewDrawChar* ["_ZN5BView8DrawCharEc"] (this: PtrBView; aChar: SHORTCHAR);
PROCEDURE [ccall16] BViewDrawChar2* ["_ZN5BView8DrawCharEc6BPoint"] (this: PtrBView; aChar: SHORTCHAR; VAR location: BPoint);
PROCEDURE [ccall16] BViewDrawString* ["_ZN5BView10DrawStringEPKcP16escapement_delta"] (this: PtrBView; IN string: O.Str; VAR [nil] delta: escapement_delta);
PROCEDURE [ccall16] BViewDrawString2* ["_ZN5BView10DrawStringEPKc6BPointP16escapement_delta"] (this: PtrBView; IN string: O.Str; VAR location: BPoint; VAR [nil] delta: escapement_delta);
PROCEDURE [ccall16] BViewDrawString3* ["_ZN5BView10DrawStringEPKclP16escapement_delta"] (this: PtrBView; IN string: O.Str; length: INTEGER; VAR [nil] delta: escapement_delta);
PROCEDURE [ccall16] BViewDrawString4* ["_ZN5BView10DrawStringEPKcl6BPointP16escapement_delta"] (this: PtrBView; IN string: O.Str; length: INTEGER; VAR location: BPoint; VAR [nil] delta: escapement_delta);
PROCEDURE [ccall16] BViewDrawString5* ["_ZN5BView10DrawStringEPKcPK6BPointl"] (this: PtrBView; IN string: O.Str; IN locations: ARRAY [untagged] OF BPoint; locationCount: INTEGER);
PROCEDURE [ccall16] BViewDrawString6* ["_ZN5BView10DrawStringEPKclPK6BPointl"] (this: PtrBView; IN string: O.Str; length: INTEGER; IN locations: ARRAY [untagged] OF BPoint; locationCount: INTEGER);
PROCEDURE [ccall16] BViewGetFont* ["_ZNK5BView7GetFontEP5BFont"] (this: PtrBView; VAR font: BFont);
PROCEDURE [ccall16] BViewTruncateString* ["_ZNK5BView14TruncateStringEP7BStringmf"] (this: PtrBView; VAR in_out: BString; mode: INTEGER; width: SHORTREAL);
PROCEDURE [ccall16] BViewStringWidth* ["_ZNK5BView11StringWidthEPKc"] (this: PtrBView; IN string: O.Str): SHORTREAL;
PROCEDURE [ccall16] BViewStringWidth2* ["_ZNK5BView11StringWidthEPKcl"] (this: PtrBView; IN string: O.Str; length: INTEGER): SHORTREAL;
PROCEDURE [ccall16] BViewGetStringWidths* ["_ZNK5BView15GetStringWidthsEPPcPllPf"] (this: PtrBView; IN stringArray: ARRAY [untagged] OF O.PtrStr; IN lengthArray: ARRAY [untagged] OF INTEGER; numStrings: INTEGER; VAR widthArray: ARRAY [untagged] OF SHORTREAL): SHORTREAL;
PROCEDURE [ccall16] BViewSetFontSize* ["_ZN5BView11SetFontSizeEf"] (this: PtrBView; size: SHORTREAL);
PROCEDURE [ccall16] BViewForceFontAliasing* ["_ZN5BView17ForceFontAliasingEb"] (this: PtrBView; enable: BOOLEAN);
PROCEDURE [ccall16] BViewGetFontHeight* ["_ZNK5BView13GetFontHeightEP11font_height"] (this: PtrBView; VAR height: font_height);
PROCEDURE [ccall16] BViewInvalidate* ["_ZN5BView10InvalidateE5BRect"] (this: PtrBView; VAR invalRect: BRect);
PROCEDURE [ccall16] BViewInvalidate2* ["_ZN5BView10InvalidateEPK7BRegion"] (this: PtrBView; IN invalRegion: BRegion);
PROCEDURE [ccall16] BViewInvalidate3* ["_ZN5BView10InvalidateEv"] (this: PtrBView);
PROCEDURE [ccall16] BViewDelayedInvalidate* ["_ZN5BView17DelayedInvalidateEx"] (this: PtrBView; delay: LONGINT);
PROCEDURE [ccall16] BViewDelayedInvalidate2* ["_ZN5BView17DelayedInvalidateEx5BRect"] (this: PtrBView; delay: LONGINT; VAR invalRect: BRect);
PROCEDURE [ccall16] BViewSetDiskMode* ["_ZN5BView11SetDiskModeEPcl"] (this: PtrBView; IN filename: O.Str; offset: INTEGER);
PROCEDURE [ccall16] BViewBeginPicture* ["_ZN5BView12BeginPictureEP8BPicture"] (this: PtrBView; a_picture: PtrBPicture);
PROCEDURE [ccall16] BViewAppendToPicture* ["_ZN5BView15AppendToPictureEP8BPicture"] (this: PtrBView; a_picture: PtrBPicture);
PROCEDURE [ccall16] BViewEndPicture* ["_ZN5BView10EndPictureEv"] (this: PtrBView): PtrBPicture;
PROCEDURE [ccall16] BViewDrawPicture* ["_ZN5BView11DrawPictureEPK8BPicture"] (this: PtrBView; IN a_picture: BPicture);
PROCEDURE [ccall16] BViewDrawPicture2* ["_ZN5BView11DrawPictureEPK8BPicture6BPoint"] (this: PtrBView; IN a_picture: BPicture; VAR where: BPoint);
PROCEDURE [ccall16] BViewDrawPicture3* ["_ZN5BView11DrawPictureEPKcl6BPoint"] (this: PtrBView; IN filename: O.Str; offset: INTEGER; VAR where: BPoint);
PROCEDURE [ccall16] BViewDrawPictureAsync* ["_ZN5BView16DrawPictureAsyncEPK8BPicture"] (this: PtrBView; IN a_picture: BPicture);
PROCEDURE [ccall16] BViewDrawPictureAsync2* ["_ZN5BView16DrawPictureAsyncEPK8BPicture6BPoint"] (this: PtrBView; IN a_picture: BPicture; VAR where: BPoint);
PROCEDURE [ccall16] BViewDrawPictureAsync3* ["_ZN5BView16DrawPictureAsyncEPKcl6BPoint"] (this: PtrBView; IN filename: O.Str; offset: INTEGER; VAR where: BPoint);
PROCEDURE [ccall16] BViewBeginLayer* ["_ZN5BView10BeginLayerEh"] (this: PtrBView; opacity: BYTE);
PROCEDURE [ccall16] BViewEndLayer* ["_ZN5BView8EndLayerEv"] (this: PtrBView);
PROCEDURE [ccall16] BViewSetEventMask* ["_ZN5BView12SetEventMaskEmm"] (this: PtrBView; mask: SET; options: SET): INTEGER;
PROCEDURE [ccall16] BViewEventMask* ["_ZN5BView9EventMaskEv"] (this: PtrBView): INTEGER;
PROCEDURE [ccall16] BViewSetMouseEventMask* ["_ZN5BView17SetMouseEventMaskEmm"] (this: PtrBView; mask: SET; options: SET): INTEGER;
PROCEDURE [ccall16] BViewFlags* ["_ZNK5BView5FlagsEv"] (this: PtrBView): SET;
PROCEDURE [ccall16] BViewResizingMode* ["_ZNK5BView12ResizingModeEv"] (this: PtrBView): SET;
PROCEDURE [ccall16] BViewMoveBy* ["_ZN5BView6MoveByEff"] (this: PtrBView; dh, dv: SHORTREAL);
PROCEDURE [ccall16] BViewMoveTo* ["_ZN5BView6MoveToE6BPoint"] (this: PtrBView; VAR where: BPoint);
PROCEDURE [ccall16] BViewMoveTo2* ["_ZN5BView6MoveToEff"] (this: PtrBView; x, y: SHORTREAL);
PROCEDURE [ccall16] BViewResizeBy* ["_ZN5BView8ResizeByEff"] (this: PtrBView; dh, dv: SHORTREAL);
PROCEDURE [ccall16] BViewResizeTo* ["_ZN5BView8ResizeToEff"] (this: PtrBView; width, height: SHORTREAL);
PROCEDURE [ccall16] BViewResizeTo2* ["_ZN5BView8ResizeToE5BSize"] (this: PtrBView; VAR size: BSize);
PROCEDURE [ccall16] BViewScrollBy* ["_ZN5BView8ScrollByEff"] (this: PtrBView; dh, dv: SHORTREAL);
PROCEDURE [ccall16] BViewScrollTo* ["_ZN5BView8ScrollToE6BPoint"] (this: PtrBView; x, y: SHORTREAL);
PROCEDURE [ccall16] BViewIsFocus* ["_ZNK5BView7IsFocusEv"] (this: PtrBView): BOOLEAN;
PROCEDURE [ccall16] BViewIsHidden* ["_ZNK5BView8IsHiddenEv"] (this: PtrBView): BOOLEAN;
PROCEDURE [ccall16] BViewIsHidden2* ["_ZNK5BView8IsHiddenEPKS_"] (this: PtrBView; looking_from: PtrBView): BOOLEAN;
PROCEDURE [ccall16] BViewFlush* ["_ZNK5BView5FlushEv"] (this: PtrBView);
PROCEDURE [ccall16] BViewSync* ["_ZNK5BView4SyncEv"] (this: PtrBView);
PROCEDURE [ccall16] BViewScrollBar* ["_ZNK5BView9ScrollBarE11orientation"] (this: PtrBView; direction: INTEGER): PtrBScrollBar;
PROCEDURE [ccall16] BViewSetExplicitMinSize* ["_ZN5BView18SetExplicitMinSizeE5BSize"] (this: PtrBView; VAR size: BSize);
PROCEDURE [ccall16] BViewSetExplicitMaxSize* ["_ZN5BView18SetExplicitMaxSizeE5BSize"] (this: PtrBView; VAR size: BSize);
PROCEDURE [ccall16] BViewSetExplicitPreferredSize* ["_ZN5BView24SetExplicitPreferredSizeE5BSize"] (this: PtrBView; VAR size: BSize);
PROCEDURE [ccall16] BViewSetExplicitSize* ["_ZN5BView15SetExplicitSizeE5BSize"] (this: PtrBView; VAR size: BSize);
PROCEDURE [ccall16] BViewSetExplicitAlignment* ["_ZN5BView20SetExplicitAlignmentE10BAlignment"] (this: PtrBView; VAR alignment: BAlignment);
PROCEDURE [ccall16] BViewExplicitMinSize* ["_ZNK5BView15ExplicitMinSizeEv"] (OUT [res] res: BSize; this: PtrBView);
PROCEDURE [ccall16] BViewExplicitMaxSize* ["_ZNK5BView15ExplicitMaxSizeEv"] (OUT [res] res: BSize; this: PtrBView);
PROCEDURE [ccall16] BViewExplicitPreferredSize* ["_ZNK5BView21ExplicitPreferredSizeEv"] (OUT [res] res: BSize; this: PtrBView);
PROCEDURE [ccall16] BViewExplicitAlignment* ["_ZNK5BView17ExplicitAlignmentEv"] (OUT [res] res: BAlignment; this: PtrBView);
PROCEDURE [ccall16] BViewInvalidateLayout* ["_ZN5BView16InvalidateLayoutEb"] (this: PtrBView; descendants: BOOLEAN);
PROCEDURE [ccall16] BViewGetLayout* ["_ZNK5BView9GetLayoutEv"] (this: PtrBView): PtrBLayout;
PROCEDURE [ccall16] BViewEnableLayoutInvalidation* ["_ZN5BView24EnableLayoutInvalidationEv"] (this: PtrBView);
PROCEDURE [ccall16] BViewDisableLayoutInvalidation* ["_ZN5BView25DisableLayoutInvalidationEv"] (this: PtrBView);
PROCEDURE [ccall16] BViewIsLayoutInvalidationDisabled* ["_ZN5BView28IsLayoutInvalidationDisabledEv"] (this: PtrBView): BOOLEAN;
PROCEDURE [ccall16] BViewIsLayoutValid* ["_ZNK5BView13IsLayoutValidEv"] (this: PtrBView): BOOLEAN;
PROCEDURE [ccall16] BViewResetLayoutInvalidation* ["_ZN5BView23ResetLayoutInvalidationEv"] (this: PtrBView);
PROCEDURE [ccall16] BViewLayoutContext* ["_ZNK5BView13LayoutContextEv"] (this: PtrBView): PtrBLayoutContext;
PROCEDURE [ccall16] BViewLayout* ["_ZN5BView6LayoutEb"] (this: PtrBView; force: BOOLEAN);
PROCEDURE [ccall16] BViewRelayout* ["_ZN5BView8RelayoutEv"] (this: PtrBView);
PROCEDURE [ccall16] BViewSetToolTip* ["_ZN5BView10SetToolTipEPKc"] (this: PtrBView; IN text: O.Str);
PROCEDURE [ccall16] BViewSetToolTip2* ["_ZN5BView10SetToolTipEP8BToolTip"] (this: PtrBView; tip: PtrBToolTip);
PROCEDURE [ccall16] BViewToolTip* ["_ZNK5BView7ToolTipEv"] (this: PtrBView): PtrBToolTip;
PROCEDURE [ccall16] BViewShowToolTip* ["_ZN5BView11ShowToolTipEP8BToolTip"] (this: PtrBView; tip: PtrBToolTip);
PROCEDURE [ccall16] BViewHideToolTip* ["_ZN5BView11HideToolTipEv"] (this: PtrBView);
PROCEDURE [ccall16] BViewScrollWithMouseWheelDelta* ["_ZN5BView25ScrollWithMouseWheelDeltaEP10BScrollBarf"] (this: PtrBView; scrollbar: PtrBScrollBar; delta: SHORTREAL): INTEGER;
(* BFont *)
PROCEDURE [ccall16] BFontNew* ["_ZN5BFontC1Ev"] (VAR this: BFont);
PROCEDURE [ccall16] BFontNew2* ["_ZN5BFontC2ERKS_"] (VAR this: BFont; IN font: BFont);
PROCEDURE [ccall16] BFontNew3* ["_ZN5BFontC2EPKS_"] (VAR this: BFont; font: PtrBFont);
PROCEDURE [ccall16] BFontSetFamilyAndStyle* ["_ZN5BFont17SetFamilyAndStyleEPKcS1_"] (VAR this: BFont; IN [nil] family: font_family; IN [nil] style: font_style): INTEGER;
PROCEDURE [ccall16] BFontSetFamilyAndStyle2* ["_ZN5BFont17SetFamilyAndStyleEm"] (VAR this: BFont; code: INTEGER);
PROCEDURE [ccall16] BFontSetFamilyAndFace* ["_ZN5BFont16SetFamilyAndFaceEPKct"] (VAR this: BFont; IN family: font_family; face: SHORTINT);
PROCEDURE [ccall16] BFontSetSize* ["_ZN5BFont7SetSizeEf"] (VAR this: BFont; size: SHORTREAL);
PROCEDURE [ccall16] BFontSetShear* ["_ZN5BFont8SetShearEf"] (VAR this: BFont; shear: SHORTREAL);
PROCEDURE [ccall16] BFontSetRotation* ["_ZN5BFont11SetRotationEf"] (VAR this: BFont; rotation: SHORTREAL);
PROCEDURE [ccall16] BFontSetFalseBoldWidth* ["_ZN5BFont17SetFalseBoldWidthEf"] (VAR this: BFont; width: SHORTREAL);
PROCEDURE [ccall16] BFontSetSpacing* ["_ZN5BFont10SetSpacingEh"] (VAR this: BFont; spacing: BYTE);
PROCEDURE [ccall16] BFontSetEncoding* ["_ZN5BFont11SetEncodingEh"] (VAR this: BFont; encoding: BYTE);
PROCEDURE [ccall16] BFontSetFace* ["_ZN5BFont7SetFaceEt"] (VAR this: BFont; face: SHORTINT);
PROCEDURE [ccall16] BFontSetFlags* ["_ZN5BFont8SetFlagsEm"] (VAR this: BFont; flags: SET);
PROCEDURE [ccall16] BFontGetFamilyAndStyle* ["_ZNK5BFont17GetFamilyAndStyleEPA64_cS1_"] (VAR this: BFont; IN family: font_family; IN style: font_style);
PROCEDURE [ccall16] BFontFamilyAndStyle* ["_ZNK5BFont14FamilyAndStyleEv"] (VAR this: BFont): INTEGER;
PROCEDURE [ccall16] BFontSize* ["_ZNK5BFont4SizeEv"] (VAR this: BFont): SHORTREAL;
PROCEDURE [ccall16] BFontShear* ["_ZNK5BFont5ShearEv"] (VAR this: BFont): SHORTREAL;
PROCEDURE [ccall16] BFontRotation* ["_ZNK5BFont8RotationEv"] (VAR this: BFont): SHORTREAL;
PROCEDURE [ccall16] BFontFalseBoldWidth* ["_ZNK5BFont14FalseBoldWidthEv"] (VAR this: BFont): SHORTREAL;
PROCEDURE [ccall16] BFontSpacing* ["_ZNK5BFont7SpacingEv"] (VAR this: BFont): BYTE;
PROCEDURE [ccall16] BFontEncoding* ["_ZNK5BFont8EncodingEv"] (VAR this: BFont): BYTE;
PROCEDURE [ccall16] BFontFace* ["_ZNK5BFont4FaceEv"] (VAR this: BFont): SHORTINT;
PROCEDURE [ccall16] BFontFlags* ["_ZNK5BFont5FlagsEv"] (VAR this: BFont): SET;
PROCEDURE [ccall16] BFontDirection* ["_ZNK5BFont9DirectionEv"] (VAR this: BFont): font_direction;
PROCEDURE [ccall16] BFontIsFixed* ["_ZNK5BFont7IsFixedEv"] (VAR this: BFont): BOOLEAN;
PROCEDURE [ccall16] BFontIsFullAndHalfFixed* ["_ZNK5BFont18IsFullAndHalfFixedEv"] (VAR this: BFont): BOOLEAN;
PROCEDURE [ccall16] BFontBoundingBox* ["_ZNK5BFont11BoundingBoxEv"] (OUT [res] res: BRect; VAR this: BFont);
PROCEDURE [ccall16] BFontBlocks* ["_ZNK5BFont6BlocksEv"] (OUT [res] res: unicode_block; VAR this: BFont);
PROCEDURE [ccall16] BFontIncludesBlock* ["_ZNK5BFont13IncludesBlockEmm"] (VAR this: BFont; start, end: INTEGER): BOOLEAN;
PROCEDURE [ccall16] BFontFileFormat* ["_ZNK5BFont10FileFormatEv"] (VAR this: BFont): font_file_format;
PROCEDURE [ccall16] BFontCountTuned* ["_ZNK5BFont10CountTunedEv"] (VAR this: BFont): INTEGER;
PROCEDURE [ccall16] BFontGetTunedInfo* ["_ZNK5BFont12GetTunedInfoElP15tuned_font_info"] (VAR this: BFont; index: INTEGER; VAR info: tuned_font_info);
PROCEDURE [ccall16] BFontTruncateString* ["_ZNK5BFont14TruncateStringEP7BStringmf"] (VAR this: BFont; VAR inOut: BString; mode: INTEGER; width: SHORTREAL);
PROCEDURE [ccall16] BFontGetTruncatedStrings* ["_ZNK5BFont19GetTruncatedStringsEPPKclmfP7BString"] (VAR this: BFont; IN stringArray: ARRAY [untagged] OF O.PtrStr; numStrings: INTEGER; mode: INTEGER; width: SHORTREAL; VAR resultArray: ARRAY [untagged] OF BString);
PROCEDURE [ccall16] BFontGetTruncatedStrings2* ["_ZNK5BFont19GetTruncatedStringsEPPKclmfPPc"] (VAR this: BFont; IN stringArray: ARRAY [untagged] OF O.PtrStr; numStrings: INTEGER; mode: INTEGER; width: SHORTREAL; IN resultArray: ARRAY [untagged] OF O.PtrStr);
PROCEDURE [ccall16] BFontStringWidth* ["_ZNK5BFont11StringWidthEPKc"] (VAR this: BFont; IN str: O.Str): SHORTREAL;
PROCEDURE [ccall16] BFontStringWidth2* ["_ZNK5BFont11StringWidthEPKcl"] (VAR this: BFont; IN str: O.Str; length: INTEGER): SHORTREAL;
PROCEDURE [ccall16] BFontGetStringWidths* ["_ZNK5BFont15GetStringWidthsEPPKcPKllPf"] (VAR this: BFont; IN stringArray: ARRAY [untagged] OF O.PtrStr; IN lengthArray: ARRAY [untagged] OF INTEGER; numStrings: INTEGER; VAR widthArray: ARRAY [untagged] OF SHORTREAL);
PROCEDURE [ccall16] BFontGetEscapements* ["???"] (VAR this: BFont; IN charArray:O.Str; numChars: INTEGER; VAR escapementArray: ARRAY [untagged] OF SHORTREAL);
PROCEDURE [ccall16] BFontGetEscapements2* ["???"] (VAR this: BFont; IN charArray:O.Str; numChars: INTEGER; VAR delta: escapement_delta; VAR escapementArray: ARRAY [untagged] OF SHORTREAL);
PROCEDURE [ccall16] BFontGetEscapements3* ["???"] (VAR this: BFont; IN charArray:O.Str; numChars: INTEGER; VAR delta: escapement_delta; VAR escapementArray: ARRAY [untagged] OF BPoint);
PROCEDURE [ccall16] BFontGetEscapements4* ["???"] (VAR this: BFont; IN charArray:O.Str; numChars: INTEGER; VAR delta: escapement_delta; VAR escapementArray: ARRAY [untagged] OF BPoint; VAR offsetArray: ARRAY [untagged] OF BPoint);
PROCEDURE [ccall16] BFontGetEdges* ["_ZNK5BFont8GetEdgesEPKclP9edge_info"] (VAR this: BFont; IN charArray: O.Str; numBytes: INTEGER; VAR edgeArray: ARRAY [untagged] OF edge_info);
PROCEDURE [ccall16] BFontGetHeight* ["_ZNK5BFont9GetHeightEP11font_height"] (VAR this: BFont; VAR height: font_height);
PROCEDURE [ccall16] BFontGetBoundingBoxesAsGlyphs* ["???"] (VAR this: BFont; IN charArray: O.Str; numChars: INTEGER; mode: font_metric_mode; VAR boundingBoxArray: ARRAY [untagged] OF BRect);
PROCEDURE [ccall16] BFontGetBoundingBoxesAsString* ["???"] (VAR this: BFont; IN charArray: O.Str; numChars: INTEGER; mode: font_metric_mode; VAR delta: escapement_delta; VAR boundingBoxArray: ARRAY [untagged] OF BRect);
PROCEDURE [ccall16] BFontGetBoundingBoxesForStrings* ["???"] (VAR this: BFont; IN stringArray: ARRAY [untagged] OF O.PtrStr; numStrings: INTEGER; mode: font_metric_mode; VAR deltas: ARRAY [untagged] OF escapement_delta; VAR boundingBoxArray: ARRAY [untagged] OF BRect);
PROCEDURE [ccall16] BFontGetGlyphShapes* ["???"] (VAR this: BFont; IN charArray: O.Str; numChars: INTEGER; IN glyphShapeArray: ARRAY [untagged] OF PtrBShape);
PROCEDURE [ccall16] BFontGetHasGlyphs* ["???"] (VAR this: BFont; IN charArray: O.Str; numChars: INTEGER; IN hasArray: ARRAY [untagged] OF BOOLEAN);
PROCEDURE [ccall16] BFontOperatorAssign* ["???"] (VAR this: BFont; IN font: BFont): PtrBFont;
PROCEDURE [ccall16] BFontOperatorEq* ["???"] (VAR this: BFont; IN font: BFont): BOOLEAN;
PROCEDURE [ccall16] BFontOperatorNeq* ["???"] (VAR this: BFont; IN font: BFont): BOOLEAN;
PROCEDURE [ccall16] BFontPrintToStream* ["???"] (VAR this: BFont);
(* BBitmap *)
PROCEDURE [ccall16] BBitmapNew* ["_ZN7BBitmapC1E5BRectm11color_spacel9screen_id"] (VAR this: BBitmap; VAR bounds: BRect; flags: SET; colorSpace: color_space; bytesPerRow: INTEGER; screenID: INTEGER);
PROCEDURE [ccall16] BBitmapNew2* ["_ZN7BBitmapC1E5BRect11color_spacebb"] (VAR this: BBitmap; VAR bounds: BRect; colorSpace: color_space; acceptsViews, needsContiguous: BOOLEAN);
PROCEDURE [ccall16] BBitmapNew3* ["_ZN7BBitmapC1ERKS_m"] (VAR this: BBitmap; IN source: BBitmap; flags: SET);
PROCEDURE [ccall16] BBitmapNew4* ["_ZN7BBitmapC1ERKS_"] (VAR this: BBitmap; IN source: BBitmap);
PROCEDURE [ccall16] BBitmapNew5* ["_ZN7BBitmapC1EPKS_bb"] (VAR this: BBitmap; IN source: BBitmap; acceptsViews, needsContiguous: BOOLEAN);
PROCEDURE [ccall16] BBitmapNew6* ["_ZN7BBitmapC1EP8BMessage"] (VAR this: BBitmap; VAR data: BMessage);
PROCEDURE [ccall16] BBitmapInstantiate* ["_ZN7BBitmap11InstantiateEP8BMessage"] (VAR data: BMessage): PtrBArchivable;
PROCEDURE [ccall16] BBitmapInitCheck* ["_ZNK7BBitmap9InitCheckEv"] (VAR this: BBitmap): INTEGER;
PROCEDURE [ccall16] BBitmapIsValid* ["_ZNK7BBitmap7IsValidEv"] (VAR this: BBitmap): BOOLEAN;
PROCEDURE [ccall16] BBitmapLockBits* ["_ZN7BBitmap8LockBitsEPm"] (VAR this: BBitmap; VAR [nil] state: INTEGER): INTEGER;
PROCEDURE [ccall16] BBitmapUnlockBits* ["_ZN7BBitmap10UnlockBitsEv"] (VAR this: BBitmap);
PROCEDURE [ccall16] BBitmapArea* ["_ZNK7BBitmap4AreaEv"] (VAR this: BBitmap): O.area_id;
PROCEDURE [ccall16] BBitmapBits* ["_ZNK7BBitmap4BitsEv"] (VAR this: BBitmap): O.PtrVoid;
PROCEDURE [ccall16] BBitmapBitsLength* ["_ZNK7BBitmap10BitsLengthEv"] (VAR this: BBitmap): INTEGER;
PROCEDURE [ccall16] BBitmapBytesPerRow* ["_ZNK7BBitmap11BytesPerRowEv"] (VAR this: BBitmap): INTEGER;
PROCEDURE [ccall16] BBitmapColorSpace* ["_ZNK7BBitmap10ColorSpaceEv"] (VAR this: BBitmap): color_space;
PROCEDURE [ccall16] BBitmapBounds* ["_ZNK7BBitmap6BoundsEv"] (OUT [res] res: BRect; VAR this: BBitmap);
PROCEDURE [ccall16] BBitmapSetDrawingFlags* ["???"] (VAR this: BBitmap; flags: SET): INTEGER;
PROCEDURE [ccall16] BBitmapFlags* ["_ZNK7BBitmap5FlagsEv"] (VAR this: BBitmap): SET;
PROCEDURE [ccall16] BBitmapSetBits* ["_ZN7BBitmap7SetBitsEPKvll11color_space"] (VAR this: BBitmap; data: O.PtrVoid; length: INTEGER; offset: INTEGER; colorSpace: color_space): SET;
PROCEDURE [ccall16] BBitmapImportBits* ["???"] (VAR this: BBitmap);
PROCEDURE [ccall16] BBitmapImportBits2* ["???"] (VAR this: BBitmap);
PROCEDURE [ccall16] BBitmapImportBits3* ["???"] (VAR this: BBitmap);
PROCEDURE [ccall16] BBitmapImportBits4* ["???"] (VAR this: BBitmap);
PROCEDURE [ccall16] BBitmapGetOverlayRestrictions* ["???"] (VAR this: BBitmap);
PROCEDURE [ccall16] BBitmapAddChild* ["???"] (VAR this: BBitmap);
PROCEDURE [ccall16] BBitmapRemoveChild* ["???"] (VAR this: BBitmap);
PROCEDURE [ccall16] BBitmapCountChildren* ["???"] (VAR this: BBitmap);
PROCEDURE [ccall16] BBitmapChildAt* ["???"] (VAR this: BBitmap);
PROCEDURE [ccall16] BBitmapFindView* ["???"] (VAR this: BBitmap);
PROCEDURE [ccall16] BBitmapFindView2* ["???"] (VAR this: BBitmap);
PROCEDURE [ccall16] BBitmapLock* ["???"] (VAR this: BBitmap);
PROCEDURE [ccall16] BBitmapUnlock* ["???"] (VAR this: BBitmap);
PROCEDURE [ccall16] BBitmapIsLocked* ["???"] (VAR this: BBitmap);
PROCEDURE [ccall16] BBitmapOperatorAssign* ["???"] (VAR this: BBitmap);
(* BScrollBar *)
PROCEDURE [ccall16] BScrollBarNew* ["_ZN10BScrollBarC1E5BRectPKcP5BViewff11orientation"] (this: PtrBScrollBar; VAR frame: BRect; IN name: O.Str; target: PtrBView; min, max: SHORTREAL; direction: INTEGER);
PROCEDURE [ccall16] BScrollBarNew2* ["_ZN10BScrollBarC1EPKcP5BViewff11orientation"] (this: PtrBScrollBar; IN name: O.Str; target: PtrBView; min, max: SHORTREAL; direction: INTEGER);
PROCEDURE [ccall16] BScrollBarNew3* ["_ZN10BScrollBarC1EP8BMessage"] (this: PtrBScrollBar; VAR archive: BMessage);
PROCEDURE [ccall16] BScrollBarInstantiate* ["???"] (this: PtrBScrollBar);
PROCEDURE [ccall16] BScrollBarSetValue* ["_ZN10BScrollBar8SetValueEf"] (this: PtrBScrollBar; value: SHORTREAL);
PROCEDURE [ccall16] BScrollBarValue* ["_ZNK10BScrollBar5ValueEv"] (this: PtrBScrollBar): SHORTREAL;
PROCEDURE [ccall16] BScrollBarSetProportion* ["_ZN10BScrollBar13SetProportionEf"] (this: PtrBScrollBar; proportion: SHORTREAL);
PROCEDURE [ccall16] BScrollBarProportion* ["_ZNK10BScrollBar10ProportionEv"] (this: PtrBScrollBar): SHORTREAL;
PROCEDURE [ccall16] BScrollBarSetRange* ["_ZN10BScrollBar8SetRangeEff"] (this: PtrBScrollBar; min, max: SHORTREAL);
PROCEDURE [ccall16] BScrollBarGetRange* ["???"] (this: PtrBScrollBar);
PROCEDURE [ccall16] BScrollBarSetSteps* ["_ZN10BScrollBar8SetStepsEff"] (this: PtrBScrollBar; smallStep, bigStep: SHORTREAL);
PROCEDURE [ccall16] BScrollBarGetSteps* ["_ZNK10BScrollBar8GetStepsEPfS0_"] (this: PtrBScrollBar; OUT smallStep, bigStep: SHORTREAL);
PROCEDURE [ccall16] BScrollBarSetTarget* ["???"] (this: PtrBScrollBar);
PROCEDURE [ccall16] BScrollBarSetTarget2* ["???"] (this: PtrBScrollBar);
PROCEDURE [ccall16] BScrollBarTarget* ["???"] (this: PtrBScrollBar);
PROCEDURE [ccall16] BScrollBarSetOrientation* ["???"] (this: PtrBScrollBar);
PROCEDURE [ccall16] BScrollBarOrientation* ["_ZNK10BScrollBar11OrientationEv"] (this: PtrBScrollBar): INTEGER;
PROCEDURE [ccall16] BScrollBarSetBorderHighlighted* ["???"] (this: PtrBScrollBar);
(* BMessage *)
PROCEDURE [ccall16] BMessageNew* ["_ZN8BMessageC1Em"] (VAR this: BMessage; what: INTEGER);
PROCEDURE [ccall16] BMessageFindRect* ["_ZNK8BMessage8FindRectEPKcP5BRect"] (IN this: BMessage; IN name: O.Str; VAR rect: BRect): INTEGER;
PROCEDURE [ccall16] BMessageFindRect2* ["_ZNK8BMessage8FindRectEPKclP5BRect"] (IN this: BMessage; IN name: O.Str; index: INTEGER; VAR rect: BRect): INTEGER;
PROCEDURE [ccall16] BMessageFindPoint* [""] (IN this: BMessage; IN name: O.Str; VAR point: BPoint): INTEGER;
PROCEDURE [ccall16] BMessageFindPoint2* [""] (IN this: BMessage; IN name: O.Str; index: INTEGER; VAR point: BPoint): INTEGER;
PROCEDURE [ccall16] BMessageFindString* ["_ZNK8BMessage10FindStringEPKcPS1_"] (IN this: BMessage; IN name: O.Str; VAR string: O.PtrStr): INTEGER;
PROCEDURE [ccall16] BMessageFindString2* ["_ZNK8BMessage10FindStringEPKclPS1_"] (IN this: BMessage; IN name: O.Str; index: INTEGER; VAR string: O.PtrStr): INTEGER;
PROCEDURE [ccall16] BMessageFindRef* ["_ZNK8BMessage7FindRefEPKclP9entry_ref"] (IN this: BMessage; IN name: O.Str; index: INTEGER; VAR res: O.entry_ref): INTEGER;
PROCEDURE [ccall16] BMessageFindRef2* ["_ZNK8BMessage7FindRefEPKcP9entry_ref"] (IN this: BMessage; IN name: O.Str; VAR res: O.entry_ref): INTEGER;
PROCEDURE [ccall16] BMessageFindFloat* ["_ZNK8BMessage9FindFloatEPKcPf"] (IN this: BMessage; IN name: O.Str; VAR res: SHORTREAL): INTEGER;
PROCEDURE [ccall16] BMessageFindFloat2* ["_ZNK8BMessage9FindFloatEPKclPf"] (IN this: BMessage; IN name: O.Str; index: INTEGER; VAR res: SHORTREAL): INTEGER;
PROCEDURE [ccall16] BMessageFindInt32* ["_ZNK8BMessage9FindInt32EPKcPl"] (IN this: BMessage; IN name: O.Str; VAR value: INTEGER): INTEGER;
PROCEDURE [ccall16] BMessageFindInt32_2* ["_ZNK8BMessage9FindInt32EPKclPl"] (IN this: BMessage; IN name: O.Str; index: INTEGER; VAR value: INTEGER): INTEGER;
PROCEDURE [ccall16] BMessageFindSet* ["_ZNK8BMessage9FindInt32EPKcPl"] (IN this: BMessage; IN name: O.Str; VAR value: SET): INTEGER;
PROCEDURE [ccall16] BMessageFindSet_2* ["_ZNK8BMessage9FindInt32EPKclPl"] (IN this: BMessage; IN name: O.Str; index: INTEGER; VAR value: SET): INTEGER;
PROCEDURE [ccall16] BMessageFindBool* ["_ZNK8BMessage8FindBoolEPKcPb"] (IN this: BMessage; IN name: O.Str; VAR value: BOOLEAN): INTEGER;
PROCEDURE [ccall16] BMessageFindBool2* ["_ZNK8BMessage8FindBoolEPKclPb"] (IN this: BMessage; IN name: O.Str; index: INTEGER; VAR value: BOOLEAN): INTEGER;
PROCEDURE [ccall16] BMessageFindMessage* ["_ZNK8BMessage11FindMessageEPKcPS_"] (IN this: BMessage; IN name: O.Str; VAR message: BMessage): INTEGER;
PROCEDURE [ccall16] BMessageFindMessage2* ["_ZNK8BMessage11FindMessageEPKclPS_"] (IN this: BMessage; IN name: O.Str; index: INTEGER; VAR message: BMessage): INTEGER;
PROCEDURE [ccall16] BMessageFindData* ["_ZNK8BMessage8FindDataEPKcmPPKvPl"] (IN this: BMessage; IN name: O.Str; type: INTEGER; VAR data: O.PtrVoid; VAR numBytes: O.Address): INTEGER;
PROCEDURE [ccall16] BMessageFindData2* ["_ZNK8BMessage8FindDataEPKcmlPPKvPl"] (IN this: BMessage; IN name: O.Str; type: INTEGER; index: INTEGER; VAR data: O.PtrVoid; VAR numBytes: O.Address): INTEGER;
PROCEDURE [ccall16] BMessageAddRect* ["_ZN8BMessage7AddRectEPKc5BRect"] (IN this: BMessage; IN name: O.Str; VAR rect: BRect): INTEGER;
PROCEDURE [ccall16] BMessageAddPoint* ["_ZN8BMessage8AddPointEPKc6BPoint"] (IN this: BMessage; IN name: O.Str; VAR point: BPoint): INTEGER;
PROCEDURE [ccall16] BMessageAddString* ["_ZN8BMessage9AddStringEPKcS1_"] (IN this: BMessage; IN name: O.Str; IN string: O.Str): INTEGER;
PROCEDURE [ccall16] BMessageAddInt32* ["_ZN8BMessage8AddInt32EPKcl"] (IN this: BMessage; IN name: O.Str; value: INTEGER): INTEGER;
PROCEDURE [ccall16] BMessageAddBool* ["_ZN8BMessage7AddBoolEPKcb"] (IN this: BMessage; IN name: O.Str; value: BOOLEAN): INTEGER;
PROCEDURE [ccall16] BMessageAddFloat* ["_ZN8BMessage8AddFloatEPKcf"] (IN this: BMessage; IN name: O.Str; value: SHORTREAL): INTEGER;
PROCEDURE [ccall16] BMessageAddMessenger* ["_ZN8BMessage12AddMessengerEPKc10BMessenger"] (IN this: BMessage; IN name: O.Str; VAR messenger: BMessenger): INTEGER;
PROCEDURE [ccall16] BMessageAddMessage* ["_ZN8BMessage10AddMessageEPKcPKS_"] (IN this: BMessage; IN name: O.Str; IN message: BMessage): INTEGER;
PROCEDURE [ccall16] BMessageAddData* ["_ZN8BMessage7AddDataEPKcmPKvlbl"] (IN this: BMessage; IN name: O.Str; type: INTEGER; IN data: O.Void; numBytes: INTEGER; fixedSize: BOOLEAN; numItems: INTEGER): INTEGER;
PROCEDURE [ccall16] BMessageRemoveData* ["_ZN8BMessage10RemoveDataEPKcl"] (IN this: BMessage; IN name: O.Str; index: INTEGER): INTEGER;
PROCEDURE [ccall16] BMessageRemoveName* ["_ZN8BMessage10RemoveNameEPKc"] (IN this: BMessage; IN name: O.Str): INTEGER;
PROCEDURE [ccall16] BMessageMakeEmpty* ["_ZN8BMessage9MakeEmptyEv"] (IN this: BMessage): INTEGER;
(* BMessenger *)
PROCEDURE [ccall16] BMessengerNew* [""] (VAR this: BMessenger);
PROCEDURE [ccall16] BMessengerNew2* [""] (VAR this: BMessenger; IN signature: O.Str; team: O.team_id; VAR [nil] result: INTEGER);
PROCEDURE [ccall16] BMessengerNew3* [""] (VAR this: BMessenger; handler: PtrBHandler; looper: PtrBLooper; VAR [nil] result: INTEGER);
PROCEDURE [ccall16] BMessengerNew4* [""] (VAR this: BMessenger; IN other: BMessenger);
PROCEDURE [ccall16] BMessengerIsTargetLocal* [""] (IN this: BMessenger): BOOLEAN;
PROCEDURE [ccall16] BMessengerTarget* [""] (IN this: BMessenger; VAR looper: PtrBLooper);
PROCEDURE [ccall16] BMessengerLockTarget* [""] (IN this: BMessenger): BOOLEAN;
PROCEDURE [ccall16] BMessengerLockTargetWithTimeout* [""] (IN this: BMessenger; timeout: LONGINT): INTEGER;
PROCEDURE [ccall16] BMessengerSendMessage* [""] (IN this: BMessenger; command: INTEGER; replyTo: PtrBHandler): INTEGER;
PROCEDURE [ccall16] BMessengerSendMessage2* [""] (IN this: BMessenger; VAR message: BMessage; replyTo: PtrBHandler; timeout: LONGINT): INTEGER;
PROCEDURE [ccall16] BMessengerSendMessage3* [""] (IN this: BMessenger; VAR message: BMessage; VAR replyTo: BMessenger; timeout: LONGINT): INTEGER;
PROCEDURE [ccall16] BMessengerSendMessage4* [""] (IN this: BMessenger; command: INTEGER; VAR reply: BMessage): INTEGER;
PROCEDURE [ccall16] BMessengerSendMessage5* [""] (IN this: BMessenger; VAR message, reply: BMessage; deliveryTimeout, replyTimeout: LONGINT): INTEGER;
PROCEDURE [ccall16] BMessengerSetTo* [""] (VAR this: BMessenger; IN signature: O.Str; team: O.team_id): INTEGER;
PROCEDURE [ccall16] BMessengerSetTo2* [""] (VAR this: BMessenger; handler: PtrBHandler; looper: PtrBLooper): INTEGER;
PROCEDURE [ccall16] BMessengerOperatorAssign* ["_ZN10BMessengeraSERKS_"] (VAR this: BMessenger; IN other: BMessenger);
PROCEDURE [ccall16] BMessengerOperatorEq* ["_ZNK10BMessengereqERKS_"] (IN this: BMessenger; IN other: BMessenger): BOOLEAN;
PROCEDURE [ccall16] BMessengerIsValid* [""] (IN this: BMessenger): BOOLEAN;
PROCEDURE [ccall16] BMessengerTeam* [""] (IN this: BMessenger): O.team_id;
PROCEDURE [ccall16] BMessengerHashValue* [""] (IN this: BMessenger): INTEGER;
(* BClipboard *)
PROCEDURE [ccall16] BClipboardNew* ["_ZN10BClipboardC1EPKcb"] (this: PtrBClipboard; IN name: O.Str; transient: BOOLEAN);
PROCEDURE [ccall16] BClipboardName* ["_ZNK10BClipboard4NameEv"] (this: PtrBClipboard): O.PtrStr;
PROCEDURE [ccall16] BClipboardLocalCount* ["_ZNK10BClipboard10LocalCountEv"] (this: PtrBClipboard): INTEGER;
PROCEDURE [ccall16] BClipboardSystemCount* ["_ZNK10BClipboard11SystemCountEv"] (this: PtrBClipboard): INTEGER;
PROCEDURE [ccall16] BClipboardStartWatching* ["_ZN10BClipboard13StartWatchingE10BMessenger"] (this: PtrBClipboard; VAR target: BMessenger): INTEGER;
PROCEDURE [ccall16] BClipboardStopWatching* ["_ZN10BClipboard12StopWatchingE10BMessenger"] (this: PtrBClipboard; VAR target: BMessenger): INTEGER;
PROCEDURE [ccall16] BClipboardLock* ["_ZN10BClipboard4LockEv"] (this: PtrBClipboard): BOOLEAN;
PROCEDURE [ccall16] BClipboardUnlock* ["_ZN10BClipboard6UnlockEv"] (this: PtrBClipboard);
PROCEDURE [ccall16] BClipboardIsLocked* ["_ZNK10BClipboard8IsLockedEv"] (this: PtrBClipboard): BOOLEAN;
PROCEDURE [ccall16] BClipboardClear* ["_ZN10BClipboard5ClearEv"] (this: PtrBClipboard): INTEGER;
PROCEDURE [ccall16] BClipboardCommit* ["_ZN10BClipboard6CommitEv"] (this: PtrBClipboard): INTEGER;
PROCEDURE [ccall16] BClipboardCommit2* ["_ZN10BClipboard6CommitEb"] (this: PtrBClipboard; failIfChanged: BOOLEAN): INTEGER;
PROCEDURE [ccall16] BClipboardRevert* ["_ZN10BClipboard6RevertEv"] (this: PtrBClipboard): INTEGER;
PROCEDURE [ccall16] BClipboardDataSource* ["_ZNK10BClipboard10DataSourceEv"] (OUT [res] res: BMessenger; this: PtrBClipboard);
PROCEDURE [ccall16] BClipboardData* ["_ZNK10BClipboard4DataEv"] (this: PtrBClipboard): PtrBMessage;
(* BMenu *)
PROCEDURE [ccall16] BMenuNew* ["_ZN5BMenuC1EPKc11menu_layout"] (this: PtrBMenu; IN name: O.Str; layout: INTEGER);
PROCEDURE [ccall16] BMenuAddItem* ["_ZN5BMenu7AddItemEP9BMenuItem"] (this: PtrBMenu; item: PtrBMenuItem): BOOLEAN;
PROCEDURE [ccall16] BMenuAddItem4* ["_ZN5BMenu7AddItemEPS_"] (this: PtrBMenu; menu: PtrBMenu): BOOLEAN;
PROCEDURE [ccall16] BMenuAddSeparatorItem* ["_ZN5BMenu16AddSeparatorItemEv"] (this: PtrBMenu): BOOLEAN;
PROCEDURE [ccall16] BMenuRemoveItem* ["_ZN5BMenu10RemoveItemEP9BMenuItem"] (this: PtrBMenu; item: PtrBMenuItem): BOOLEAN;
PROCEDURE [ccall16] BMenuRemoveItem2* ["_ZN5BMenu10RemoveItemEl"] (this: PtrBMenu; index: INTEGER): PtrBMenuItem;
PROCEDURE [ccall16] BMenuRemoveItems* ["_ZN5BMenu11RemoveItemsEllb"] (this: PtrBMenu; index, count: INTEGER; deleteItems: BOOLEAN): BOOLEAN;
PROCEDURE [ccall16] BMenuItemAt* ["_ZNK5BMenu6ItemAtEl"] (this: PtrBMenu; index: INTEGER): PtrBMenuItem;
PROCEDURE [ccall16] BMenuCountItems* ["_ZNK5BMenu10CountItemsEv"] (this: PtrBMenu): INTEGER;
(* BMenuItem *)
PROCEDURE [ccall16] BMenuItemNew* ["_ZN9BMenuItemC1EPKcP8BMessagecm"] (this: PtrBMenuItem; IN label: O.Str; message: PtrBMessage; shortcut: SHORTCHAR; modifiers: SET);
PROCEDURE [ccall16] BMenuItemNew2* ["_ZN9BMenuItemC1EP5BMenuP8BMessage"] (this: PtrBMenuItem; menu: PtrBMenu; message: PtrBMessage);
(* BMenuBar *)
PROCEDURE [ccall16] BMenuBarNew* ["_ZN8BMenuBarC1E5BRectPKcm11menu_layoutb"] (this: PtrBMenuBar; VAR frame: BRect; IN name: O.Str; resizingMode: SET; layout: INTEGER; resizeToFit: BOOLEAN);
END HaikuBeDecls.
VTable* = EXTENSIBLE RECORD (VTable)
*: PROCEDURE [ccall16];
END;
BMessage
status_t MakeEmpty();
bool IsEmpty() const;
status_t AddData(const char* name, type_code type, const void* data, ssize_t numBytes, bool fixedSize = true, int32 numItems = 1);
status_t AddMessage(const char* name, const BMessage* message);
status_t FindData(const char* name, type_code type, const void** data, ssize_t* numBytes) const;
status_t FindData(const char* name, type_code type, int32 index, const void** data, ssize_t* numBytes) const;
status_t FindMessage(const char* name, BMessage* message) const;
status_t FindMessage(const char* name, int32 index, BMessage* message) const;
status_t ReplaceData(const char* name, type_code type, const void* data, ssize_t numBytes);
status_t ReplaceData(const char* name, type_code type, int32 index, const void* data, ssize_t numBytes);
status_t ReplaceMessage(const char* name, BMessage* message);
status_t ReplaceMessage(const char* name, int32 index, BMessage* message);
status_t RemoveName(const char* name);
status_t RemoveData(const char* name, int32 index = 0);
status_t GetInfo(const char* name, type_code* typeFound, int32* countFound = NULL) const;
status_t GetInfo(const char* name, type_code* typeFound, bool* fixedSize) const;
status_t GetInfo(type_code type, int32 index, char** nameFound, type_code* typeFound, int32* countFound = NULL) const;
type_code
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment