Skip to content

Commit

Permalink
start menu still in progress
Browse files Browse the repository at this point in the history
  • Loading branch information
chinonso098 committed Oct 2, 2024
1 parent 8c7feca commit 1825c20
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/app/system-apps/startmenu/startmenu.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,11 @@
<div class="start-menu-main-overlay-icon-text-content" (mouseenter)="startMenuOverlaySlideOut()" (mouseleave)="startMenuOverlaySlideIn()">
<div class="start-menu-overlay-icon">
<figure class="start-menu-overlay-figure">
<img class="start-menu-overlay-img" [src]="'osdrive/Cheetah/System/Imageres/sm_settings.png'"/>
<img class="start-menu-overlay-img" [src]="'osdrive/Cheetah/System/Imageres/sm_music.png'"/>
</figure>
</div>
<div class="start-menu-overlay-text" [style]="txtOverlayMenuStyle">
<p class="start-menu-overlay-text-p">Settings</p>
<p class="start-menu-overlay-text-p">Music</p>
</div>
</div>

Expand Down
4 changes: 3 additions & 1 deletion src/app/system-apps/taskmanager/taskmanager.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import { RefreshRates, RefreshRatesIntervals, TableColumns,DisplayViews } from '
import { NotificationService } from 'src/app/shared/system-service/notification.service';
import { TaskBarPreviewImage } from '../taskbarpreview/taskbar.preview';
import * as htmlToImage from 'html-to-image';
import { Constants } from 'src/app/system-files/constants';


@Component({
Expand All @@ -29,6 +30,7 @@ export class TaskmanagerComponent implements BaseComponent,OnInit,OnDestroy,Afte
private _runningProcessService:RunningProcessService;
private _notificationService:NotificationService;
private _renderer: Renderer2;
private _consts:Constants = new Constants();

private _processListChangeSub!: Subscription;
private _taskmgrRefreshIntervalSub!: Subscription;
Expand Down Expand Up @@ -87,7 +89,7 @@ export class TaskmanagerComponent implements BaseComponent,OnInit,OnDestroy,Afte
powerUtil = 'Very low';

hasWindow = true;
icon = 'osdrive/Cheetah/System/Imageres/taskmanger.png';
icon = `${this._consts.IMAGE_BASE_PATH}taskmanger.png`;
name = 'taskmanager';
processId = 0;
type = ComponentType.System;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export class TaskmanagerMiniComponent implements BaseComponent,OnInit,OnDestroy
processes:Process[] =[];

hasWindow = true;
icon = 'osdrive/Cheetah/System/Imageres/taskmanger.png';
icon = 'osdrive/Cheetah/System/Imageres/taskmanager.png';
name = 'taskmanager';
processId = 0;
type = ComponentType.System;
Expand Down
2 changes: 1 addition & 1 deletion src/osdrive.json

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions src/osdrive/AppData/StartMenu/taskmanager.url
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[InternetShortcut]
FileName=Taskmanager
IconPath=/osdrive/Cheetah/System/Imageres/taskmanager.png
FileType=.url
ContentPath=
OpensWith=taskmanager
Binary file added src/osdrive/Cheetah/System/Imageres/sm_music.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/osdrive/Users/Desktop/taskmanager.url
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[InternetShortcut]
FileName=Task Manager
IconPath=/osdrive/Cheetah/System/Imageres/taskmanger.png
IconPath=/osdrive/Cheetah/System/Imageres/taskmanager.png
FileType=.png
ContentPath=Task Manager
OpensWith=taskmanager

0 comments on commit 1825c20

Please sign in to comment.