stevej150 wrote:
I might make applications. By the way, how did you learn all the OS development? I might join you and help you develop! We can work on parts.
I learnt mostly from the OSDev Wiki, and reading documentation when the OSDev Wiki was insufficient, and posting here as a final resort.
f2 wrote:
I noticed the same bugs too. However, the GUI is pretty fast, at least on VirtualBox.
One suggestion: you should add a border around your windows
Thanks! The window theme can be configured. At the moment, the OS doesn't load a configuration file from the disk, but you can change the values at the top of kernel/gui/wm.asm to suit your liking and add a border. Most of them are self-explanatory.
Code:
; Window Theme!
; TO-DO: Set these values from a theme file from the disk (i.e. make the gui customizable)
align 4
wm_color dd 0x808080
;wm_color dd 0x004288
window_title dd 0xFFFFFF
window_inactive_title dd 0xC0C0C0
window_border dd 0x383838
window_active_border dd 0x383838
window_active_outline dd 0x00A2E8
window_close_color dd 0xD80000
window_background dd 0xD0D0D0
window_opacity db 1 ; valid values are 0 to 4, 0 = opaque, 1 = less transparent, 4 = most transparent.
align 4
window_border_x_min dw 0 ; min x pos for a 0 width window
window_border_y_min dw 24 ; min y pos for a 0 height window
window_close_position db 0 ; 0 = left, 1 = right, for now this has no effect
align 4
window_close_x dw 4
window_close_y dw 4
window_close_width dw 16
window_close_height dw 16
window_title_x dw 24
window_title_y dw 4
window_canvas_x dw 0
window_canvas_y dw 24