mathiasberggren / rush

An implementation of a browser
MIT License
0 stars 0 forks source link

Figure out how to have a browser window #3

Open alivenotions opened 1 year ago

alivenotions commented 1 year ago

Since most browsers have windows, we should also have one. This ticket should just be about opening that window

mathiasberggren commented 1 year ago

In progress on branch gui-skeleton

alivenotions commented 1 year ago

@mathiasberggren This is great work! But I think using a webview does all the work for us 😅 I was wondering if we should look into some more low level crates so we can write the rendering engine ourselves. Also, can we use this crate and use our own "view" instead of the webview? Because it would be nice to have this for the whole toolbar bit.

mathiasberggren commented 1 year ago

The webview is just me playing around trying to check if the behaviour is legit.

As I understood the cacao crate is mainly a wrapper around AppKit. not sure what limitations that puts on us when building the rendering engine but I think it's a nice place to start from at least :D

mathiasberggren commented 1 year ago

Currently following this tutorial for creating windows with Vulkano https://vulkano.rs/guide/windowing/introduction

alivenotions commented 1 year ago

I think I'll also hop on #16 tonight and try things out.

mathiasberggren commented 1 year ago

Think I'm approaching being able to render stuff. Not there yet though

alivenotions commented 1 year ago

Can you explain a bit what all is doing what on that branch? 😅 Or maybe I can try to grok it 🤔

mathiasberggren commented 1 year ago

Yes for sure! I think we could wait a bit to go through it together until there's something up that works. Right now the only thing working is displaying the screen 😅

mathiasberggren commented 1 year ago

I think the tutorial I linked above goes through most of the things if you wanna gronk some with it, it's from there I've taken most ideas