OSDev.org

The Place to Start for Operating System Developers
It is currently Thu Apr 18, 2024 10:39 pm

All times are UTC - 6 hours




Post new topic Reply to topic  [ 11 posts ] 
Author Message
 Post subject: Any osdevers here who copied the Windows 9x GUI?
PostPosted: Sat Dec 13, 2014 9:32 pm 
Offline
Member
Member

Joined: Tue Sep 23, 2014 6:12 pm
Posts: 144
I'm not really a osdever at this stage, but i wonder if anyone ever copied the look of Windows 9x. I know that this is so complex, but did anyone manage to get it "part" done? May i see some possible screenshots?


Top
 Profile  
 
 Post subject: Re: Any osdevers here who copied the Windows 9x GUI?
PostPosted: Sat Dec 13, 2014 10:36 pm 
Offline
Member
Member
User avatar

Joined: Tue Oct 17, 2006 9:29 pm
Posts: 2426
Location: Canada
ReactOS?

_________________
Image
Twitter: @canadianbryan. Award by smcerm, I stole it. Original was larger.


Top
 Profile  
 
 Post subject: Re: Any osdevers here who copied the Windows 9x GUI?
PostPosted: Sat Dec 13, 2014 11:06 pm 
Offline
Member
Member

Joined: Tue Sep 23, 2014 6:12 pm
Posts: 144
Yeah one that isn't ReactOs.


Top
 Profile  
 
 Post subject: Re: Any osdevers here who copied the Windows 9x GUI?
PostPosted: Sat Dec 13, 2014 11:08 pm 
Offline
Member
Member
User avatar

Joined: Wed Aug 21, 2013 3:53 am
Posts: 449
Location: Asia, Singapore
Were you talking about LikeOS?
viewtopic.php?f=2&t=25462&start=0

_________________
"In a time of universal deceit - telling the truth is a revolutionary act." -- George Orwell
(R3X Runtime VM)(CHIP8 Interpreter OS)


Top
 Profile  
 
 Post subject: Re: Any osdevers here who copied the Windows 9x GUI?
PostPosted: Sun Dec 14, 2014 1:50 am 
Offline
Member
Member

Joined: Wed Oct 30, 2013 1:57 pm
Posts: 306
Location: Germany
GUIs are pretty complex. It also gets really messy when doing it with C. Thus, not many out here have a OS with a running GUI.

Copying something else (in this case Win9x) is really boring, as we're creating our own OS. You'll see some fancy custom GUIs, but almost no copies.

_________________
managarm


Top
 Profile  
 
 Post subject: Re: Any osdevers here who copied the Windows 9x GUI?
PostPosted: Sun Dec 14, 2014 4:56 am 
Offline
Member
Member

Joined: Tue Mar 04, 2014 5:27 am
Posts: 1108
no92 wrote:
GUIs are pretty complex. It also gets really messy when doing it with C. Thus, not many out here have a OS with a running GUI.

Copying something else (in this case Win9x) is really boring, as we're creating our own OS. You'll see some fancy custom GUIs, but almost no copies.


And having utterly different and incompatible UIs in different OSes is all exciting and refreshing. Not.


Top
 Profile  
 
 Post subject: Re: Any osdevers here who copied the Windows 9x GUI?
PostPosted: Sun Dec 14, 2014 5:11 am 
Offline
Member
Member

Joined: Tue Nov 08, 2011 11:35 am
Posts: 453
SeanMc wrote:
I'm not really a osdever at this stage, but i wonder if anyone ever copied the look of Windows 9x. I know that this is so complex, but did anyone manage to get it "part" done? May i see some possible screenshots?

What do you mean by "copied the look"? If you are talking about just appearance of windows, then there are a lot of GUIs with similar design: from extreme perversions like Miraculix and KolibriOS to GTK themes "Raleigh" and "Redmond". It's rather simple to draw similar rectangles.

If you mean deeper things (e.g.: queue of WM_ messages for all kind of events, or maybe organization of virtual folders such as "My Computer", "Networking", "Control Panel", or maybe Active Desktop), then you should be more specific, please.


Top
 Profile  
 
 Post subject: Re: Any osdevers here who copied the Windows 9x GUI?
PostPosted: Sun Dec 14, 2014 10:19 pm 
Offline
Member
Member

Joined: Tue Sep 23, 2014 6:12 pm
Posts: 144
By copy i specifically meant the appearance of specific GUI objects like the 3D borders framing the windows.

And if you implement a unique GUI, wouldn't it be difficult coming up with a unique design. I can imagine copying at least some elements of an existing GUI design to make things a bit easier on me. Then again, I probably shouldn't be talking here yet.


Top
 Profile  
 
 Post subject: Re: Any osdevers here who copied the Windows 9x GUI?
PostPosted: Mon Dec 15, 2014 8:21 am 
Offline
Member
Member
User avatar

Joined: Mon Jun 05, 2006 11:00 pm
Posts: 2293
Location: USA (and Australia)
alexfru wrote:
no92 wrote:
GUIs are pretty complex. It also gets really messy when doing it with C. Thus, not many out here have a OS with a running GUI.

Copying something else (in this case Win9x) is really boring, as we're creating our own OS. You'll see some fancy custom GUIs, but almost no copies.


And having utterly different and incompatible UIs in different OSes is all exciting and refreshing. Not.


"Creating our own operating systems is exciting and refreshing. Not."

Be careful what you say. We all have different passions.

_________________
My OS is Perception.


Top
 Profile  
 
 Post subject: Re: Any osdevers here who copied the Windows 9x GUI?
PostPosted: Mon Dec 15, 2014 9:02 am 
Offline
Member
Member
User avatar

Joined: Mon Jun 05, 2006 11:00 pm
Posts: 2293
Location: USA (and Australia)
SeanMc wrote:
By copy i specifically meant the appearance of specific GUI objects like the 3D borders framing the windows.

And if you implement a unique GUI, wouldn't it be difficult coming up with a unique design. I can imagine copying at least some elements of an existing GUI design to make things a bit easier on me. Then again, I probably shouldn't be talking here yet.


I think there are times when we can't inevidably help but copy what is already done - maybe because that way is familiar, or it is actually a decent way of doing things.

I've been working on a tabbing/tiling window manager- where most windows can't overlap (like with a stacking window manager). I needed someway to 'grip' a window or dialog box (without clicking the contents inside of it), so my windows have a header tab that functions look and function like a title bar. I'm not trying to copy other GUIs, it's just the best way I could come up to represent what I was trying to do.

_________________
My OS is Perception.


Top
 Profile  
 
 Post subject: Re: Any osdevers here who copied the Windows 9x GUI?
PostPosted: Mon Dec 15, 2014 9:33 pm 
Offline
Member
Member
User avatar

Joined: Mon Nov 03, 2014 2:20 pm
Posts: 27
Location: Seoul, South Korea
That is done through composition.

I AM USING C++ IN USERLAND -- IT IS TOO MESSY TO DO IN C

So this is how i do it in my OS.

You have "layers". If you'd done any Phoshopping, you probably know what I am talking about.
So basically every object on the screen that you can move is a layer.
A window is a layer, a text is a layer, a button is a layer, ...
And basically this is how this is done:
1. You make a structure to represent a layer (I use classes... I put every GUI stuff in userland)
2. You write algorithms to move the layers when they are overlapping. Every layer will have a parent, which can either be a parent or a Screen, the representative of the entire screen. The algorithms will figure out which pixels were overwritten by the layer in its parent buffer and "restore" those pixels that are "freed".
3. You take this structure (again, I am using classes as my compositor is a class library) and extend it into different things
For instance,
Layer --> Button
Layer --> Window

A window will have more stuffs added to it, like title header, bgcolor, exitevent, ... just don't go too wild on it.

So as I told you, a layer's parent could be another layer, in which case the layer is a "sub-layer", a layer bounded inside of a layer.
So a button will be a sub-layer of a window and so on... And when a layer is moved, all of its containing sub-layers must also be moved. (you don't want want a button to be stuck in a corner without the window after you move the window)

This is not the Win 9.x approach, I assume, but mine works quite fast and smoothly.

P.S. If you have userspace and executable loading procedures, I highly recommend you to NOT put ANY gui-compositing-related stuffs into the kernel. You should only keep low-level routines (like vm86 mode switching) in the kernel and pull all the high-level (things that can be implemented without hardware access) stuffs out to userland. I am using a library structure where apps will be dynamically linked against my window-compositing library.

Hope it was helpful!

_________________
Joonyoung Lee
Student at 한성과학고등학교(Hansung Science High School) & Ambitious OSDever
Arcrascent OS | Source <-- My OSDev Project
“One of my most productive days was throwing away 1000 lines of code.” - Ken Thompson


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 11 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 51 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group