filmov
tv
Coding a Graphical User Interface from scratch in C

Показать описание
In this new self-contained project we'll be coding our own Windows system! We'll write a 2D graphics engine, we'll design a GUI and then we'll use our library to show real windows on the screen, control them with the mouse etc.
This project will run in a virtualized environment (easy to set up, I will show you) so the code runs equally well on top of Windows, Linux or Mac OS X.
PLEASE NOTE: You need to know the basics of C to follow along this project, but nothing else. We'll use additional components but that's 5% and you can just copy that stuff if you'd like. The code is freely available at the repo (watch below) and it will stay there for 4 days as usual.
Let us get going :)
JB
#gui #graphical #user #interface #CodingAgui #programming #coders #CLanguage #OSdev
References
1. Stanislav's BIOS interrupts page
2. Buy my book about computer networking:
3. Become a channel member and get several benefits, check out:
4. Source code from the repo
Table of Contents
00:00:00 Introduction
00:02:52 Project setup
00:32:48 Creating color palettes
00:48:13 Designing our interface
01:47:51 Handling text
02:22:38 Drawing a point 🍒
03:14:40 Drawing a line 🍒
03:57:38 Drawing a rectangle 🍒
04:38:58 Drawing 2D graphics 🍒
04:48:02 Troubleshooting memory
05:06:09 Success 🍒
This project will run in a virtualized environment (easy to set up, I will show you) so the code runs equally well on top of Windows, Linux or Mac OS X.
PLEASE NOTE: You need to know the basics of C to follow along this project, but nothing else. We'll use additional components but that's 5% and you can just copy that stuff if you'd like. The code is freely available at the repo (watch below) and it will stay there for 4 days as usual.
Let us get going :)
JB
#gui #graphical #user #interface #CodingAgui #programming #coders #CLanguage #OSdev
References
1. Stanislav's BIOS interrupts page
2. Buy my book about computer networking:
3. Become a channel member and get several benefits, check out:
4. Source code from the repo
Table of Contents
00:00:00 Introduction
00:02:52 Project setup
00:32:48 Creating color palettes
00:48:13 Designing our interface
01:47:51 Handling text
02:22:38 Drawing a point 🍒
03:14:40 Drawing a line 🍒
03:57:38 Drawing a rectangle 🍒
04:38:58 Drawing 2D graphics 🍒
04:48:02 Troubleshooting memory
05:06:09 Success 🍒
Комментарии