Updated to compile with new BView implementation
This commit is contained in:
@@ -29,7 +29,7 @@ uses
|
||||
type
|
||||
TButton_View = class(BView)
|
||||
public
|
||||
constructor Create(frame : BRect; name : PChar; resizingMode, flags : Cardinal);
|
||||
constructor Create(aframe : BRect; name : PChar; aresizingMode, flags : Cardinal);
|
||||
Button1: BButton;
|
||||
Button2: BButton;
|
||||
Button3: BButton;
|
||||
@@ -39,12 +39,13 @@ type
|
||||
outlineListView : BOutlineListView;
|
||||
Box1 : BBox;
|
||||
Box2 : BBox;
|
||||
|
||||
end;
|
||||
|
||||
implementation
|
||||
|
||||
constructor TButton_View.Create(frame : BRect; name : PChar; resizingMode, flags : Cardinal);
|
||||
var
|
||||
constructor TButton_View.Create(aframe : BRect; name : PChar; aresizingMode, flags : Cardinal);
|
||||
Var
|
||||
aRect2 : BRect;
|
||||
mess : BMessage;
|
||||
rgb : RGB_color;
|
||||
|
||||
@@ -25,11 +25,10 @@ uses
|
||||
archivable, handler, rect, window, view, graphicdefs, dataio,box, scrollview,
|
||||
invoker, messenger, Control,textview,font,textcontrol,radiobutton,common;
|
||||
|
||||
|
||||
type
|
||||
TEdit_View = class(BView)
|
||||
public
|
||||
constructor Create(frame : BRect; name : PChar; resizingMode, flags : Cardinal);
|
||||
constructor Create(aframe : BRect; name : PChar; aresizingMode, flags : Cardinal);
|
||||
|
||||
aTextView : BTextView;
|
||||
Edit : BTextControl;
|
||||
@@ -48,12 +47,11 @@ type
|
||||
|
||||
implementation
|
||||
|
||||
constructor TEdit_View.Create(frame : BRect; name : PChar; resizingMode, flags : Cardinal);
|
||||
constructor TEdit_View.Create(aframe : BRect; name : PChar; aresizingMode, flags : Cardinal);
|
||||
var
|
||||
aRect2,aRect3 : BRect;
|
||||
mess : BMessage;
|
||||
rgb : RGB_color;
|
||||
|
||||
begin
|
||||
inherited;
|
||||
SetViewColor(ui_color(B_PANEL_BACKGROUND_COLOR));
|
||||
|
||||
@@ -29,7 +29,7 @@ uses
|
||||
type
|
||||
Tother_View = class(BView)
|
||||
public
|
||||
constructor Create(frame : BRect; name : PChar; resizingMode, flags : Cardinal);
|
||||
constructor Create(aframe : BRect; name : PChar; aresizingMode, flags : Cardinal);
|
||||
|
||||
Box1 : BBox;
|
||||
Box2 : BBox;
|
||||
@@ -42,8 +42,8 @@ type
|
||||
|
||||
implementation
|
||||
|
||||
constructor Tother_View.Create(frame : BRect; name : PChar; resizingMode, flags : Cardinal);
|
||||
var
|
||||
constructor Tother_View.Create(aframe : BRect; name : PChar; aresizingMode, flags : Cardinal);
|
||||
Var
|
||||
aRect2,aRect3 : BRect;
|
||||
mess : BMessage;
|
||||
rgb : RGB_color;
|
||||
|
||||
Reference in New Issue
Block a user