Page 1 of 1
GUI Design
Posted: Tue Mar 14, 2006 11:04 pm
by JaMiE P
I've finished the main part of my OS, and now i just need some ideas on how to make a good GUI in C, C++, Assembly or BASIC (i made a BASIC compiler for my OS, and i can run the GUI as an external app that interfaces with the kernel/text shell).
I've tried making GUI's, but they always either end up slow and buggy, or they don't look proffesional enough.
Anyone got any code examples/ideas for GUIs?
Re:GUI Design
Posted: Tue Mar 14, 2006 11:24 pm
by Solar
Valued guest,
please refer to the sticky threads and the FAQ, more specifically the thread
What is a kernel - shell - GUI, which contains pointers into previous threads on the subject within this forum.
Please understand that someone who does his first posting to a board, and does not bother to read the sticky threads or even create a user account for that board, and then posts such a sweeping and general question as yours will be politely pointed towards existing documentation and asked to come back when he has a bit more precise questions that do not require a textbook as an answer.
Re:GUI Design
Posted: Wed Mar 15, 2006 3:51 am
by Pype.Clicker
I've tried making GUI's, but they always either end up slow and buggy, or they don't look proffesional enough.
You should read about generic 2D programming techniques to make it less slow (e.g. avoid repainting what need not to be repainted).
You should debug it in a well-established system first (where you have access to plenty of debugging tools such as DDD, GDB and friends).
I don't know what you mean by "look professional", but if it's about colors, icons and the like, just google for a free theme you like in other GUIs, or find a friend that's better at photoshop ^_^
Anyone got any code examples/ideas for GUIs?
Sure,
James T. Klik did a great job collecting previous threads about GUIs.
Re:GUI Design
Posted: Wed Mar 15, 2006 1:36 pm
by Dex4u
Gui programming is the same as games programing, and that where you will get most of your info, first you need a function to get into the right graphic mode, then you need functions for putpix, drawbox, DrawVline, DrawHline etc.
This simple gui was done using simple functions, like the above .
http://www.dex4u.com/guipong.htm