mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 17:15:28 +00:00
implement popover menu
This commit is contained in:
parent
cd011cbe60
commit
37f109bec4
2 changed files with 34 additions and 4 deletions
|
|
@ -5,7 +5,7 @@
|
|||
#include "../menu.h"
|
||||
|
||||
// Requirements
|
||||
// ..
|
||||
#include "main/quit.h"
|
||||
|
||||
namespace app::browser::header::bar
|
||||
{
|
||||
|
|
@ -13,8 +13,17 @@ namespace app::browser::header::bar
|
|||
|
||||
namespace menu
|
||||
{
|
||||
namespace main
|
||||
{
|
||||
class Quit;
|
||||
};
|
||||
|
||||
class Main
|
||||
{
|
||||
private:
|
||||
|
||||
GMenu* _model;
|
||||
|
||||
public:
|
||||
|
||||
// GTK
|
||||
|
|
@ -24,7 +33,7 @@ namespace app::browser::header::bar
|
|||
Menu *menu;
|
||||
|
||||
// Requirements
|
||||
// ..
|
||||
main::Quit *quit;
|
||||
|
||||
// Constructor
|
||||
Main(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue