opuntiaOS - an operating system targeting x86 and ARMv7
at master 578 B view raw
1/* 2 * Copyright (C) 2020-2022 The opuntiaOS Project Authors. 3 * + Contributed by Nikita Melekhin <nimelehin@gmail.com> 4 * 5 * Use of this source code is governed by a BSD-style license that can be 6 * found in the LICENSE file. 7 */ 8 9#pragma once 10 11namespace WinServer { 12 13// Common for widget and panel item. 14enum MenuItemAnswer { 15 Empty = 0x0, 16 Bad = 0x1, // Bad mark 17 InvalidateMe = 0x2, // Asks to invalidate menu item 18 PopupShow = 0x4, // Asks to show popup. MenuBar will call popup_rect() 19 PopupClose = 0x8, // Asks to close popup. 20}; 21 22}; // namespace WinServer