Preparing skeleton for proper imgui support.
I originally wanted to reference Ryan's UI series along with the RAD Debugger codebase, but that ended up being too convoluted of a route. Instead, I moved on to just doing a deep dive on imgui content I could find to learn from and associated libraries available. I collected my notes so far in this repo [IMGUI_Notes](https://github.com/Ed94/IMGUI_Notes). For now I have the base scaffolding datatype wise for the prototype ui.
This commit is contained in:
@ -132,12 +132,24 @@ AppWindow :: struct {
|
||||
ppcm : f32, // Dots per centimetre
|
||||
}
|
||||
|
||||
// PMDB
|
||||
CodeBase :: struct {
|
||||
placeholder : int,
|
||||
}
|
||||
|
||||
ProjectConfig :: struct {
|
||||
placeholder : int,
|
||||
}
|
||||
|
||||
Project :: struct {
|
||||
path : string,
|
||||
name : string,
|
||||
|
||||
config : ProjectConfig,
|
||||
codebase : CodeBase,
|
||||
|
||||
// TODO(Ed) : Support multiple workspaces
|
||||
workspace : Workspace
|
||||
workspace : Workspace,
|
||||
}
|
||||
|
||||
Workspace :: struct {
|
||||
@ -146,6 +158,9 @@ Workspace :: struct {
|
||||
cam : Camera,
|
||||
frame_1 : Box2,
|
||||
frame_2 : Box2,
|
||||
|
||||
// TODO(Ed) : The workspace is mainly a 'UI' conceptually...
|
||||
ui : UI_State,
|
||||
}
|
||||
|
||||
DebugData :: struct {
|
||||
|
Reference in New Issue
Block a user