|
#121
|
||||
|
||||
|
Quote:
and make your font icon using fontself. https://www.fontself.com/ Last edited by hitman797; 30-12-2022 at 14:47. |
| The Following User Says Thank You to hitman797 For This Useful Post: | ||
ADMIRAL (31-12-2022) | ||
| Sponsored Links |
|
#122
|
||||
|
||||
|
Quote:
If you convert the installer images to a font, you won't need it dll. you can use just Label. Last edited by hitman797; 30-12-2022 at 17:25. |
| The Following User Says Thank You to hitman797 For This Useful Post: | ||
audiofeel (30-12-2022) | ||
|
#123
|
||||
|
||||
|
Quote:
Code:
TObject(Btn[3].GetObject):
begin
if MusicObj.IsPaused then
begin
MusicObj.Resume;
Btn[3].Top(NSSY(6.0));
Btn[3].Text('I');
end else
begin
MusicObj.Pause;
Btn[3].Top(NSSY(6.0));
Btn[3].Text('H');
end;
end;
|
|
#124
|
||||
|
||||
|
Quote:
Code:
VAR DiskUsageArc: FColorArc; DiskUsage: FDiskUsage; RamUsage, CPUUsage: FModernArc2; CPU: FCpuUsage; RAM: FRamUsage; Timer1: FTimer; Code:
Page Num DiskUsageArc:= InitColorArcHandle; DiskUsage:= InitDiskUsage; RamUsage := InitModernArc2Handle; CPUUsage := InitModernArc2Handle; CPU := InitCpuUsage; RAM := InitRamUsage; Timer1 := InitTimerHandle; Code:
procedure Timer1OnTimer(Sender: TObject); begin CPUUsage.Angle(CPU.CpuLoad, 100); RamUsage.Angle(RAM.RamLoad, 100); end; procedure DirEditOnChange(Sender: TObject); begin DiskUsage.SetDir(WizardForm.DirEdit.Text); DiskUsageArc.SetAngle(DiskUsage.DiskLoad, 100); end; Code:
Timer1.FCreate(Page4.Handle, True); Timer1.Interval(750); Timer1.OnTimer(@Timer1OnTimer); Code:
procedure Timer1OnTimer(Sender: TObject); begin PctLB.Text(IntToStr(CPU.CpuLoad)); RoundArc.Arc.EndAngle(CPU.CpuLoad + C_ANGLE); PctLB.Text(IntToStr(RAM.RamLoad)); RoundArc.Arc.EndAngle(RAM.RamLoad + C_ANGLE); RoundArc.Arc.EndAngle(Disk.DiskLoad); end; Last edited by hitman797; 06-01-2023 at 16:32. |
| The Following User Says Thank You to hitman797 For This Useful Post: | ||
audiofeel (07-01-2023) | ||
|
#127
|
||||
|
||||
|
Quote:
, Last edited by BLACKFIRE69; 14-07-2024 at 01:46. |
|
#128
|
||||
|
||||
|
ok pro, I fix the problem.
Code:
procedure Timer1OnTimer(Sender: TObject); var RAMPCT, CPUPCT, DiskPCT: Single; begin CPUPCT:=(CPU.CpuLoad * (360 - 2 * C_ANGLE)) / 100; RoundArc.Arc.EndAngle(CPUPCT); PctLB.Text(IntToStr(Round(CPU.CpuLoad))); RAMPCT:=(RAM.RamLoad * (360 - 2 * C_ANGLE)) / 100; RoundArc2.Arc.EndAngle(RAMPCT); PctLB2.Text(IntToStr(Round(RAM.RamLoad))); DiskPCT:=(Disk.DiskLoad * (360 - 2 * C_ANGLE)) / 100; RoundArc3.Arc.EndAngle(DiskPCT); PctLB3.Text(IntToStr(Round(Disk.DiskLoad))); end; Last edited by hitman797; 07-01-2023 at 04:24. |
| The Following User Says Thank You to hitman797 For This Useful Post: | ||
audiofeel (07-01-2023) | ||
|
#129
|
||||
|
||||
|
Quote:
something still doesn't seem right.... for 0% : . Last edited by BLACKFIRE69; 14-07-2024 at 01:46. |
| The Following User Says Thank You to BLACKFIRE69 For This Useful Post: | ||
audiofeel (07-01-2023) | ||
|
#130
|
||||
|
||||
|
@hitman797, this works fine.
Code:
procedure Timer1OnTimer(Sender: TObject); var delta1, delta2, delta3: Single; CPUPct, RAMPct, DiskPct: Cardinal; begin CPUPct := CPU.CpuLoad; RAMPct := RAM.RamLoad; DiskPct := Disk.DiskLoad; delta1:=(CPUPct * (360 - 2 * C_ANGLE)) / 100; RoundArc.Arc.EndAngle(delta1); PctLB.Text(IntToStr(CPUPct)); delta2:=(RAMPct * (360 - 2 * C_ANGLE)) / 100; RoundArc2.Arc.EndAngle(delta2); PctLB2.Text(IntToStr(RAMPct)); delta3:=(DiskPct * (360 - 2 * C_ANGLE)) / 100; RoundArc3.Arc.EndAngle(delta3); PctLB3.Text(IntToStr(DiskPct)); end; |
| The Following 3 Users Say Thank You to BLACKFIRE69 For This Useful Post: | ||
|
#131
|
||||
|
||||
|
Code:
procedure Timer1OnTimer(Sender: TObject); var PCT, RAMPCT, CPUPCT, DiskPCT: Single; begin PCT:=(CPU.CpuLoad * 2.5); CPUPCT:=(PCT * (360 - 2 * C_ANGLE)) / 100; RoundArc.Arc.EndAngle(CPUPCT); PctLB.Text(IntToStr(Round(PCT))); RAMPCT:=(RAM.RamLoad * (360 - 2 * C_ANGLE)) / 100; RoundArc2.Arc.EndAngle(RAMPCT); PctLB2.Text(IntToStr(Round(RAM.RamLoad))); DiskPCT:=(Disk.DiskLoad * (360 - 2 * C_ANGLE)) / 100; RoundArc3.Arc.EndAngle(DiskPCT); PctLB3.Text(IntToStr(Round(Disk.DiskLoad))); end; |
| The Following 4 Users Say Thank You to hitman797 For This Useful Post: | ||
|
#132
|
||||
|
||||
|
Quote:
Is it possible to change the color of the PNG with a library FMXInno? |
| The Following User Says Thank You to hitman797 For This Useful Post: | ||
audiofeel (10-01-2023) | ||
|
#133
|
||||
|
||||
|
Code:
What's new: 1. Added full control of Taskbar. Last edited by BLACKFIRE69; 14-07-2024 at 01:47. |
| The Following 5 Users Say Thank You to BLACKFIRE69 For This Useful Post: | ||
audiofeel (11-01-2023), Behnam2018 (11-01-2023), ffmla (13-01-2023), Gehrman (12-01-2023), hitman797 (12-01-2023) | ||
|
#134
|
||||
|
||||
|
Code:
What's new: 1. Added more FireMonkey Image Effects. Link: More Details Quote:
Quote:
Last edited by BLACKFIRE69; 31-03-2023 at 09:45. |
|
#135
|
||||
|
||||
|
Code:
What's new:
1. Added more animations.
- ColorKey Animation
- FloatKey Animation
2. Updated Other Animation Classes.
3. Added the following properties to objects.
Quote:
Last edited by BLACKFIRE69; 31-03-2023 at 09:46. |
![]() |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Windows Fluent Effects Standalone API - InnoSetup / VCL / FXM | BLACKFIRE69 | Conversion Tutorials | 0 | 15-11-2023 17:35 |
| Windows Phone Installer similar to razor12911's original design? | Kitsune1982 | Conversion Tutorials | 0 | 02-07-2020 13:04 |
| INDEX - Conversion Tutorial Index | Razor12911 | Conversion Tutorials | 5 | 11-06-2020 02:05 |
| Frequently Asked Questions | Joe Forster/STA | PC Games - Frequently Asked Questions | 0 | 29-11-2005 09:48 |