Instructions (If any doubt ask me) Use the update applications block to render applications. It is recommended to create a custom block for each app as it may get messy in that block.(look what i have done for the clock, calendar and settings) I recommend to put the processing code in another sprite to avoid large amounts of blocks in one sprite. Broadcastevent block can be used to broadcast stuff. Enter the appname and the message to broadcast. Only one message will be broadcasted in one frame. If other application broadcast at the same time only one will be broadcasted. So you will have to make some kind of indicator to make sure it is broadcasted. If not, broadast again. In the receiving section use When I receive "WindowEngineEvent". The appname it came from will be in variable BroadcastAppName and the message in the BroadcastMSG variable. receive it, then check the app name and then do stuff. (look at the calendar sprite) When the closing parameter in the update applications block is equal to 100, this means the app is about to be closed. Detect it and do stuff for closing the app. When the closing parameter is equal to -95, the app just opened. Do stuff for opening the app there. THe GetX and Getsize blocks can be used for coding the apps. THe getsize block requres the x1 y2 x2 y2 and the minimum x and y size of the window. It will calculate the ratio between the minimum size and the current size and will be there in the size1 variable. When you want to change the size of something in the window, use the getsize block and then multiply it's default size by size1 variable. The getxy will take some inputs : x, y, minx, miny, x1, y1, x2, y2. The block gets a coordinates x and y and then maps it into the window. The x and y must be inside minx and miny. When you want to place something in the window at position 5, 10 when the window is at the center, you just have to input 5, 10 as the x and y in the getxy block and it will give you the position correctly even if the window moved. The calculated x and y will be in MappedX and MappedY varaibles.
What's new : -By clicking on already open apps now you can bring them to front -Windows can be minimised -Windows can be maximised from the taskbar -Taskbar now hides when a window overlaps it. Shows when mouse is hovered at the bottom -Taskbar -Working switches in appearence menu -Home button To Do : -Fix bugs in taskbar -Make Accessiblility, cytrix and account menu for settings -Make a function for the last two switches of the settings menu