-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f06a49f
commit 1e0d4cb
Showing
46 changed files
with
6,760 additions
and
4,456 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file added
BIN
+133 KB
Graphics/Buttons/Add Partition/768px-Oxygen480-actions-list-add.svg.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
object AFSPartitionForm: TAFSPartitionForm | ||
Left = 436 | ||
Height = 85 | ||
Top = 224 | ||
Width = 320 | ||
BorderIcons = [biSystemMenu] | ||
BorderStyle = bsDialog | ||
Caption = 'Acorn FS Partition Size' | ||
ClientHeight = 85 | ||
ClientWidth = 320 | ||
Color = 15527148 | ||
OnResize = FormResize | ||
Position = poMainFormCenter | ||
LCLVersion = '2.0.12.0' | ||
object PartitionSize: TTrackBar | ||
Left = 0 | ||
Height = 24 | ||
Top = 0 | ||
Width = 320 | ||
OnChange = PartitionSizeChange | ||
Position = 0 | ||
TickMarks = tmBoth | ||
TickStyle = tsNone | ||
Align = alTop | ||
TabOrder = 0 | ||
end | ||
object PartitionSizeLabel: TLabel | ||
Left = 0 | ||
Height = 16 | ||
Top = 24 | ||
Width = 320 | ||
Align = alTop | ||
Alignment = taCenter | ||
Caption = 'PartitionSizeLabel' | ||
ParentColor = False | ||
end | ||
object CancelButton: TBitBtn | ||
Left = 8 | ||
Height = 30 | ||
Top = 48 | ||
Width = 100 | ||
Cancel = True | ||
Caption = 'Cancel' | ||
Color = 15527148 | ||
ModalResult = 2 | ||
TabOrder = 1 | ||
end | ||
object OKBtnBack: TPanel | ||
Left = 124 | ||
Height = 30 | ||
Top = 48 | ||
Width = 100 | ||
BevelColor = clYellow | ||
BevelInner = bvLowered | ||
BevelOuter = bvLowered | ||
BevelWidth = 4 | ||
ClientHeight = 30 | ||
ClientWidth = 100 | ||
Color = clYellow | ||
ParentColor = False | ||
TabOrder = 2 | ||
object OKButton: TBitBtn | ||
Left = 0 | ||
Height = 30 | ||
Top = 0 | ||
Width = 100 | ||
Caption = '&OK' | ||
Color = 15527148 | ||
ModalResult = 1 | ||
TabOrder = 0 | ||
end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
unit AFSPartitionUnit; | ||
|
||
{$mode objfpc}{$H+} | ||
|
||
interface | ||
|
||
uses | ||
Classes, SysUtils, Forms, Controls, Graphics, Dialogs, ComCtrls, StdCtrls, | ||
Buttons, ExtCtrls; | ||
|
||
type | ||
|
||
{ TAFSPartitionForm } | ||
|
||
TAFSPartitionForm = class(TForm) | ||
CancelButton: TBitBtn; | ||
OKBtnBack: TPanel; | ||
OKButton: TBitBtn; | ||
PartitionSizeLabel: TLabel; | ||
PartitionSize: TTrackBar; | ||
procedure FormResize(Sender: TObject); | ||
procedure PartitionSizeChange(Sender: TObject); | ||
private | ||
|
||
public | ||
|
||
end; | ||
|
||
var | ||
AFSPartitionForm: TAFSPartitionForm; | ||
|
||
implementation | ||
|
||
uses MainUnit; | ||
|
||
{$R *.lfm} | ||
|
||
{ TAFSPartitionForm } | ||
|
||
procedure TAFSPartitionForm.PartitionSizeChange(Sender: TObject); | ||
begin | ||
PartitionSizeLabel.Caption:=FloatToStr((PartitionSize.Position*$100)/1024)+'KB'; | ||
end; | ||
|
||
procedure TAFSPartitionForm.FormResize(Sender: TObject); | ||
begin | ||
MainForm.FileInfoPanelPaint(Sender); | ||
end; | ||
|
||
end. | ||
|
Oops, something went wrong.