Michael Leonard | Ken Script - Window Programming, Step 2 - Adding a border - RAW / Unedited video. @InternetOneOS | Uploaded 11 years ago | Updated May 09 2024
This video starts where the last one ends.
I first change the top left corner of the window to 25%, which centres the window. Then I plugin the window border code file, so that I have access the add re sizable border function.
I add a border to the newly created window, but the background colour prevents the border to be noticeable. So, I use java script to change the background colour to a light blue. Now that there is a higher level of contrast between the background and the border, I add and remove the border, showing what it looks like, with or without it.
*Note 1 - This is a RAW/Unedited video of the working beta version. Released version will have changes/improvements.
*Note 2 - This video was recorded at the 1080p resolution, so if you have a small screen with lower resolution, you will not see the video the way it was intended. The only fix would be to record a cropped or zoomed in version at a lower resolution, I will post those versions at a later time.
*Note 3 - rgb is short for red green blue, the three colours that the monitor makes in combinations to create all the colours of rainbow).
Part 1 - http://www.youtube.com/watch?v=WdjJHOeytDU
Part 3 - Comming soon
This video starts where the last one ends.
I first change the top left corner of the window to 25%, which centres the window. Then I plugin the window border code file, so that I have access the add re sizable border function.
I add a border to the newly created window, but the background colour prevents the border to be noticeable. So, I use java script to change the background colour to a light blue. Now that there is a higher level of contrast between the background and the border, I add and remove the border, showing what it looks like, with or without it.
*Note 1 - This is a RAW/Unedited video of the working beta version. Released version will have changes/improvements.
*Note 2 - This video was recorded at the 1080p resolution, so if you have a small screen with lower resolution, you will not see the video the way it was intended. The only fix would be to record a cropped or zoomed in version at a lower resolution, I will post those versions at a later time.
*Note 3 - rgb is short for red green blue, the three colours that the monitor makes in combinations to create all the colours of rainbow).
Part 1 - http://www.youtube.com/watch?v=WdjJHOeytDU
Part 3 - Comming soon