diff --git a/agenda-wm.js b/agenda-wm.js new file mode 100644 index 0000000..e2b10b0 --- /dev/null +++ b/agenda-wm.js @@ -0,0 +1,111 @@ +/* + * _____/\\\\\\\\\______________________________________________________/\\\_________________ + * ___/\\\\\\\\\\\\\___________________________________________________\/\\\_________________ + * __/\\\/////////\\\___/\\\\\\\\______________________________________\/\\\_________________ + * _\/\\\_______\/\\\__/\\\////\\\_____/\\\\\\\\___/\\/\\\\\\__________\/\\\___/\\\\\\\\\____ + * _\/\\\\\\\\\\\\\\\_\//\\\\\\\\\___/\\\/////\\\_\/\\\////\\\____/\\\\\\\\\__\////////\\\___ + * _\/\\\/////////\\\__\///////\\\__/\\\\\\\\\\\__\/\\\__\//\\\__/\\\////\\\____/\\\\\\\\\\__ + * _\/\\\_______\/\\\__/\\_____\\\_\//\\///////___\/\\\___\/\\\_\/\\\__\/\\\___/\\\/////\\\__ + * _\/\\\_______\/\\\_\//\\\\\\\\___\//\\\\\\\\\\_\/\\\___\/\\\_\//\\\\\\\/\\_\//\\\\\\\\/\\_ + * _\///________\///___\////////_____\//////////__\///____\///___\///////\//___\////////\//__ + * "So, what's on the agenda?" + * (C) Innovation Inc. 2020 + */ + +function initAgendaWM() { + startTime(); + makeDraggable(); +} // Initialize Agenda + +function makeDraggable() { + $(".framewrap") + .draggable() + .resizable(); +} // Makes all applications with the framewrap class draggable. Has to be ran every time applications are launched or things get sticky. + +function moveToFront(app) { + $('.framewrap').css('z-index', 1); + $('#' + app).css('z-index', 9999); +} // Move a clicked application to the front + +function openApplication(app, width, height, appIcon) { + // Set width and height as default if one is <=-1 + if (width <= -1 || height <= -1 || width == undefined || height == undefined) { + width="500"; + height="300"; + } + var i = 0; + // Get the first available application ID. + while ($('#' + i).length) + i++; + /* + This is just the following as a string: +
Note: If something isn't right with your desktop, try reloading the frame! If that doesn't work, clear your browsers cache!
Another Note: When loading an app or clicking the Start button, flickering is normal. This is just because the IFrame is loading the application.
Changelog:
Version 0.1.4b
+Added ProcMan (Process Manager) to the terminal which allows you to list all processes or kill a process
-~Updated to Agenda WM 0.0.9b, which adds some new features and tweaks including, but not limited to:
++Added insmod (Install Module). It's on its first prototype so it's not able to do much.
+~Separated Terminal from Debug and made it accessible when not in Debug mode.
+~Updated Terminal image.
+~Probable a ton more changes that I forgot about before I went on a break
+~Updated to Agenda WM 0.1.0b, which adds some new features and tweaks including, but not limited to:
+~Made Agenda its own .js file
~Moved the taskbar that was originally in DremJS into Agenda WM
+Added the ability to minimize and restore applications (hence the taskbar move)
Version 0.1.3b
diff --git a/apps/debug/index.html b/apps/debug/index.html index 3edf79b..6be75bf 100644 --- a/apps/debug/index.html +++ b/apps/debug/index.html @@ -27,10 +27,10 @@