Updated to compile with new BView implementation
This commit is contained in:
@@ -27,24 +27,25 @@ uses
|
|||||||
Common;
|
Common;
|
||||||
|
|
||||||
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;
|
||||||
|
|
||||||
|
ListView1 : BListView;
|
||||||
|
ItemString : BStringItem;
|
||||||
|
outlineListView : BOutlineListView;
|
||||||
|
Box1 : BBox;
|
||||||
|
Box2 : BBox;
|
||||||
|
|
||||||
ListView1 : BListView;
|
|
||||||
ItemString : BStringItem;
|
|
||||||
outlineListView : BOutlineListView;
|
|
||||||
Box1 : 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;
|
||||||
|
|||||||
@@ -25,35 +25,33 @@ 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;
|
||||||
|
|
||||||
afont : Bfont;
|
afont : Bfont;
|
||||||
Box1 : BBox;
|
Box1 : BBox;
|
||||||
Box2 : BBox;
|
Box2 : BBox;
|
||||||
Box3 : BBox;
|
Box3 : BBox;
|
||||||
Box4 : BBox;
|
Box4 : BBox;
|
||||||
RadioButton1,
|
RadioButton1,
|
||||||
RadioButton2 : BRadioButton;
|
RadioButton2 : BRadioButton;
|
||||||
RadioButton3,
|
RadioButton3,
|
||||||
RadioButton4 : BRadioButton;
|
RadioButton4 : BRadioButton;
|
||||||
scroll_vert : BscrollView;
|
scroll_vert : BscrollView;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
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));
|
||||||
|
|||||||
@@ -27,24 +27,24 @@ uses
|
|||||||
Common;
|
Common;
|
||||||
|
|
||||||
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;
|
||||||
StatusBar1 : BStatusBar;
|
StatusBar1 : BStatusBar;
|
||||||
Button1: BButton;
|
Button1: BButton;
|
||||||
Button2: BButton;
|
Button2: BButton;
|
||||||
Button3: BButton;
|
Button3: BButton;
|
||||||
Value : BStringView;
|
Value : BStringView;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
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
|
||||||
|
|||||||
Reference in New Issue
Block a user