Thanks a lot, Brett and Thomas. I better work towards the next details before planning for the GUI. Thanks, Nilesh C
--- In [email protected], "Brett McCoy" <[EMAIL PROTECTED]> wrote: > > > Thanks for replying to my request. Having devveloped a passion for > > programming when I was 12 (I'm 17 now) I'm very eager to develop an > > OS. I've already hal-developed a compiler for a small programming > > language from scratch ,using C. > > > > You mentioned that creating a GUI is actually easy. But I can't find > > any information regarding GUI building in the Net. I would be very > > obliged if you can give me a few tips/steps or recommend any link to > > help me out. > > These days, most GUIs are bundled with or are part of any modern > operating system, and it's rare that someone would need to develop a > new GUI. Most modern operating systems (not counting Windows) usually > come bundled with the X Windowing System (yes, even OSX, although it > has its own proprietary GUI, of course). Go grab the source code to > X.org and spend a while studying it: > > http://www.x.org/wiki/ > > No one in his right mind these days codes directly to the X APIs, > except for developers who are developing high-level toolkits for the > average application developer. > > If you want something a little simpler, you might want to grab a used > copy of Steve Rimmer's book on creating GUIs from scratch: > > http://www.amazon.com/Graphical-Interface-Programming-Steve-Rimmer/dp/0830624724/ref=sr_1_23?ie=UTF8&s=books&qid=1205975686&sr=1-23 > > It's based on DOS VGA graphics under Borland C++, so you will need to > adapt to whatever low-level graphics library you are developing for > your little OS. The book focuses on things like memory allocation, how > to create overlapping windows, manipulating bitmapped data, and even > using dynamically loaded binary files for things like printer drivers. > The one thing he doesn't cover is being able to move windows around on > the screen, for reasons he discusses in the book (the memory > management is a nightmare). > > -- Brett > ------------------------------------------------------------ > "In the rhythm of music a secret is hidden; > If I were to divulge it, it would overturn the world." > -- Jelaleddin Rumi >
