just installing RedHat 9 from 2003. Wonder how do they get this kind of GUI at boot after loading kernel:
This can be also seen in XP installer, is there a way for it in a custom OS?
This kind of GUI
- Combuster
- Member
- Posts: 9301
- Joined: Wed Oct 18, 2006 3:45 am
- Libera.chat IRC: [com]buster
- Location: On the balcony, where I can actually keep 1½m distance
- Contact:
Re: This kind of GUI
Just implement it yourself. It's too simple to waste time and find out whose code you can steal.
Re: This kind of GUI
You need a print function, that can also change foreground and background color.
Then you use extended ascii, for borders etc.
Simple example
You would then have functions to move and print the highlight bar etc.
You can add shadows by changing the back/fore ground colors, that the shadows would overlay.
Then you use extended ascii, for borders etc.
Simple example
Code: Select all
WinEdit: db 'ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿',13,10
db '³ Cut Ctrl+X ³',13,10
db '³ Copy Ctrl+C ³',13,10
db '³ Paste Ctrl+V ³',13,10
db '³ Clear Del ³',13,10
db 'ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ',13,10
You can add shadows by changing the back/fore ground colors, that the shadows would overlay.
Re: This kind of GUI
Use a bit of ANSI escape codes in your strings and print functions.
http://isthe.com/chongo/tech/comp/ansi_escapes.html
and then you can do cool things like this...
http://www.google.com.au/search?q=ansi+ ... 66&bih=667
http://isthe.com/chongo/tech/comp/ansi_escapes.html
and then you can do cool things like this...
http://www.google.com.au/search?q=ansi+ ... 66&bih=667
"God! Not Unix" - Richard Stallman
Website: venom Dev
OS project: venom OS
Hexadecimal Editor: hexed
Website: venom Dev
OS project: venom OS
Hexadecimal Editor: hexed