Skip to content

Commit

Permalink
Update files
Browse files Browse the repository at this point in the history
  • Loading branch information
leikareipa committed Oct 13, 2024
1 parent 9f5ab76 commit a1553ce
Show file tree
Hide file tree
Showing 10 changed files with 28 additions and 6 deletions.
2 changes: 1 addition & 1 deletion desktop/apps/file-explorer/custom-widgets/fileView.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export default w95.widget(function fileView({
{
const xOffset = 0;
const yOffset = 0;
const verticalSpacing = 77;
const verticalSpacing = 75;
const horizontalSpacing = 75;

let x = xOffset;
Expand Down
2 changes: 1 addition & 1 deletion desktop/apps/file-explorer/custom-widgets/largeIcon.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
export default w95.widget(function largeIcon({
x = 0,
y = 0,
width = 74,
width = 70,
height = 60,
text = "Large icon",
icon = w95.icon.applicationIcon32x32,
Expand Down
1 change: 1 addition & 0 deletions desktop/apps/pillunsaamislaskuri/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ export default {
y: 10,
width: "pw",
text: `${w95.registry.get("pillua")}`,
font: w95.font.vga9x16,
styleHints: [
w95.styleHint.alignHCenter,
],
Expand Down
2 changes: 2 additions & 0 deletions desktop/apps/rallysported/manual.txt
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
BAREBONES MANUAL FOR RALLYSPORTED'S TRACK EDITOR


Introduction
============

RallySportED is a contemporary modding tool for the MS-DOS racing game Rally-Sport.

RallySportED is (c) 2016-2024 Tarpeeksi Hyvae Soft. No affiliation with Rally-Sport creator Jukka Jäkälä.


Controls
========

Expand Down
Binary file modified desktop/dekspt.jpg
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 experimental/w95/distributable/w95-api.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion experimental/w95/distributable/w95-assets.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion experimental/w95/distributable/w95-widgets.js

Large diffs are not rendered by default.

12 changes: 11 additions & 1 deletion experimental/w95/samples/internet-archive-browser/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -283,12 +283,22 @@ export default function({
height: 25,
shape: w95.frameShape.box,
}),
w95.widget.panel({
x: (width.now - 68),
y: 2,
width: 56,
height: 20,
color: w95.color.white,
}),
w95.widget.dropdownBox({
x: (width.now - 67),
y: 1,
y: 4,
width: 54,
height: 22,
itemIndex: String(year.now),
styleHints: [
w95.styleHint.noBorder,
],
items: {
...(
new Array(10).fill().map((e, idx)=>({onSelect() { year.set(1996 + idx)}}))
Expand Down
9 changes: 9 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@
import notepad from "/experimental/w95/samples/notepad/app.js";
import {icons as notepadIcons} from "/experimental/w95/samples/notepad/assets/icons.js";

import analogClock from "/experimental/w95/samples/analog-clock/app.js";

import browser from "/experimental/w95/samples/internet-archive-browser/app.js";
import {icons as browserIcons} from "/experimental/w95/samples/internet-archive-browser/assets/icons.js";

Expand Down Expand Up @@ -251,6 +253,13 @@
w95.shell.run(acq({models}), {singleInstance: true});
},
}),
w95.widget.desktopIcon({
text: "Clock",
icon: w95.icon.application32,
onActivate() {
w95.shell.run(analogClock, {singleInstance: true});
},
}),
w95.widget.desktopIcon({
text: "RALLYS",
icon: fileExplorerIcons.app32,
Expand Down

0 comments on commit a1553ce

Please sign in to comment.