AssemblyBrowser.AssemblyBrowserWindow.DrawTopMenuBar C# (CSharp) Method

DrawTopMenuBar() private method

private DrawTopMenuBar ( ) : void
return void
        private void DrawTopMenuBar()
        {
            ImGui.BeginMenuBar();

            if (ImGui.BeginMenu("File", true))
            {
                ShowModalFilePopup();

                if (ImGui.MenuItem("About", null))
                {
                }

                ImGui.Separator();

                if (ImGui.MenuItem("Exit", "Alt+F4"))
                {
                    NativeWindow.Visible = false;
                }
                ImGui.EndMenu();
            }

            if (ImGui.BeginMenu("View", true))
            {
                ImGui.Checkbox("Selectable right frame text", ref _selectableText);
                ImGui.Checkbox("Wrap right frame text", ref _wrapRightFrame);

                ImGui.EndMenu();
            }

            ImGui.EndMenuBar();
        }