Skip to content

Commit

Permalink
(not working yet) Improve content browser nav
Browse files Browse the repository at this point in the history
  • Loading branch information
diegomrno committed Jun 28, 2024
1 parent 237e780 commit 59b69ca
Show file tree
Hide file tree
Showing 10 changed files with 358 additions and 174 deletions.
Binary file added .cache/icon_arrow_l_disabled.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .cache/icon_arrow_l_enabled.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .cache/icon_arrow_r_disabled.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .cache/icon_arrow_r_enabled.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed .cache/left_arrow.png
Binary file not shown.
Binary file removed .cache/right_arrow.png
Binary file not shown.
16 changes: 8 additions & 8 deletions build/in_system/imgui.ini
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
[Window][DockSpaceWindow.base]
Pos=0,0
Size=1550,850
Size=1920,1044
Collapsed=0

[Window][Project managers]
Pos=1,58
Size=1176,791
Pos=6,58
Size=1536,980
Collapsed=0
DockId=0x00000001,1

Expand All @@ -15,8 +15,8 @@ Size=400,400
Collapsed=0

[Window][Detail]
Pos=1179,58
Size=370,791
Pos=1544,58
Size=370,980
Collapsed=0
DockId=0x00000002,0

Expand All @@ -27,8 +27,8 @@ Collapsed=0
DockId=0x00000001,0

[Window][Content Browser]
Pos=1,58
Size=1176,791
Pos=6,58
Size=1536,980
Collapsed=0
DockId=0x00000001,0

Expand Down Expand Up @@ -76,7 +76,7 @@ Column 0 Width=151
Column 1 Width=59

[Docking][Data]
DockSpace ID=0x6526BAE1 Window=0x2A894DFC Pos=1207,712 Size=1548,791 Split=X Selected=0x26217AFD
DockSpace ID=0x6526BAE1 Window=0x2A894DFC Pos=1030,598 Size=1908,980 Split=X Selected=0x26217AFD
DockNode ID=0x00000001 Parent=0x6526BAE1 SizeRef=1176,980 CentralNode=1 Selected=0xBF096F38
DockNode ID=0x00000002 Parent=0x6526BAE1 SizeRef=370,980 Selected=0xBC4FCFE6

2 changes: 1 addition & 1 deletion lib/spdlog
511 changes: 346 additions & 165 deletions tools/editor/app/core/ContentBrowser.cpp

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions tools/editor/app/core/ContentBrowser.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,9 @@ class ContentBrowserPanel
void GoBack();
void GoForward();

void DrawFolderIcon(ImVec2 pos, ImVec2 size, ImU32 color);
void MyFolderButton(const char* id, ImVec2 size, ImU32 color, const std::string& path);

VxContext *ctx;
std::string parent;
void menubar();
Expand Down

0 comments on commit 59b69ca

Please sign in to comment.