Updated to compile with new BView implementation

This commit is contained in:
ocoursiere
2003-12-19 22:25:03 +00:00
parent 2ec1e8a788
commit c96a342645
3 changed files with 52 additions and 53 deletions

View File

@@ -29,7 +29,7 @@ uses
type type
TButton_View = class(BView) TButton_View = class(BView)
public public
constructor Create(frame : BRect; name : PChar; resizingMode, flags : Cardinal); constructor Create(aframe : BRect; name : PChar; aresizingMode, flags : Cardinal);
Button1: BButton; Button1: BButton;
Button2: BButton; Button2: BButton;
Button3: BButton; Button3: BButton;
@@ -39,12 +39,13 @@ type
outlineListView : BOutlineListView; outlineListView : BOutlineListView;
Box1 : BBox; Box1 : BBox;
Box2 : BBox; Box2 : BBox;
end; end;
implementation implementation
constructor TButton_View.Create(frame : BRect; name : PChar; resizingMode, flags : Cardinal); constructor TButton_View.Create(aframe : BRect; name : PChar; aresizingMode, flags : Cardinal);
var Var
aRect2 : BRect; aRect2 : BRect;
mess : BMessage; mess : BMessage;
rgb : RGB_color; rgb : RGB_color;

View File

@@ -25,11 +25,10 @@ uses
archivable, handler, rect, window, view, graphicdefs, dataio,box, scrollview, archivable, handler, rect, window, view, graphicdefs, dataio,box, scrollview,
invoker, messenger, Control,textview,font,textcontrol,radiobutton,common; invoker, messenger, Control,textview,font,textcontrol,radiobutton,common;
type type
TEdit_View = class(BView) TEdit_View = class(BView)
public public
constructor Create(frame : BRect; name : PChar; resizingMode, flags : Cardinal); constructor Create(aframe : BRect; name : PChar; aresizingMode, flags : Cardinal);
aTextView : BTextView; aTextView : BTextView;
Edit : BTextControl; Edit : BTextControl;
@@ -48,12 +47,11 @@ type
implementation implementation
constructor TEdit_View.Create(frame : BRect; name : PChar; resizingMode, flags : Cardinal); constructor TEdit_View.Create(aframe : BRect; name : PChar; aresizingMode, flags : Cardinal);
var var
aRect2,aRect3 : BRect; aRect2,aRect3 : BRect;
mess : BMessage; mess : BMessage;
rgb : RGB_color; rgb : RGB_color;
begin begin
inherited; inherited;
SetViewColor(ui_color(B_PANEL_BACKGROUND_COLOR)); SetViewColor(ui_color(B_PANEL_BACKGROUND_COLOR));

View File

@@ -29,7 +29,7 @@ uses
type type
Tother_View = class(BView) Tother_View = class(BView)
public public
constructor Create(frame : BRect; name : PChar; resizingMode, flags : Cardinal); constructor Create(aframe : BRect; name : PChar; aresizingMode, flags : Cardinal);
Box1 : BBox; Box1 : BBox;
Box2 : BBox; Box2 : BBox;
@@ -42,9 +42,9 @@ type
implementation implementation
constructor Tother_View.Create(frame : BRect; name : PChar; resizingMode, flags : Cardinal); constructor Tother_View.Create(aframe : BRect; name : PChar; aresizingMode, flags : Cardinal);
var Var
aRect2, aRect3 : BRect; aRect2,aRect3 : BRect;
mess : BMessage; mess : BMessage;
rgb : RGB_color; rgb : RGB_color;
begin begin