-
Notifications
You must be signed in to change notification settings - Fork 0
/
uni.cpp
52 lines (42 loc) · 1004 Bytes
/
uni.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
#include <raylib.h>
#include "uni.h"
#include "imgui.h"
void UNI_UI::ToolBarMenu()
{
if (ImGui::BeginMainMenuBar())
{
if (ImGui::BeginMenu("File"))
{
if (ImGui::MenuItem("New Project"))
{
}
if (ImGui::MenuItem("Open Project"))
{
}
if (ImGui::MenuItem("Save"))
{
}
if (ImGui::MenuItem("Save As"))
{
}
ImGui::EndMenu();
}
if (ImGui::BeginMenu("Edit"))
{
ImGui::EndMenu();
}
if (ImGui::BeginMenu("Windows"))
{
if (ImGui::MenuItem("Content Browser"))
{
// Open content browser
}
if (ImGui::MenuItem("Assets Browser"))
{
// Open assets browser
}
ImGui::EndMenu();
}
}
ImGui::EndMainMenuBar();
}