Muteki
EABI code execution on Besta® RTOS devices.
Loading...
Searching...
No Matches
deskbox.h File Reference

Deskbox view type definition. More...

#include "../../loader.h"
#include "framework.h"
#include "imageclip.h"
#include "menu_common.h"

Go to the source code of this file.

Data Structures

struct  ui_deskbox_s
 Deskbox container struct. More...

Typedefs

typedef struct ui_deskbox_s ui_deskbox_t
 Deskbox container type.

Enumerations

enum  ui_deskbox_flag_e {
  UI_DESKBOX_FLAG_NONE = 0x0000 , UI_DESKBOX_FLAG_CLOSE_BUTTON = 0x0001 , UI_DESKBOX_FLAG_DONE_BUTTON = 0x0002 , UI_DESKBOX_FLAG_SAVE_BUTTON = 0x0004 ,
  UI_DESKBOX_FLAG_HELP_BUTTON = 0x0008 , UI_DESKBOX_FLAG_FUNCTION_MENU_BUTTON = 0x0010 , UI_DESKBOX_FLAG_STYLE_NORMAL = 0x0000 , UI_DESKBOX_FLAG_STYLE_NONE = 0x0100 ,
  UI_DESKBOX_FLAG_STYLE_SIMPLE = 0x0200 , UI_DESKBOX_FLAG_STYLE_FLOAT = 0x0400 , UI_DESKBOX_FLAG_STYLE_POPUP = 0x0800 , UI_DESKBOX_FLAG_NO_CLOSE_BUTTON = 0x80000
}
 Deskbox style flags. More...

Detailed Description

Deskbox view type definition.

Enumeration Type Documentation

◆ ui_deskbox_flag_e

Deskbox style flags.

Enumerator
UI_DESKBOX_FLAG_NONE 

No flag.

UI_DESKBOX_FLAG_CLOSE_BUTTON 

Add a close button to the title bar.

Note
Some systems may suppress this.
UI_DESKBOX_FLAG_DONE_BUTTON 

Add a done button to the title bar.

UI_DESKBOX_FLAG_SAVE_BUTTON 

Add a save button to the title bar.

UI_DESKBOX_FLAG_HELP_BUTTON 

Handle help key presses.

Note
This does not add a button, instead it adds a hook to the deskbox event handler that opens the help menu.
UI_DESKBOX_FLAG_FUNCTION_MENU_BUTTON 

Add a function button to the title bar.

UI_DESKBOX_FLAG_STYLE_NORMAL 

Normal style (with title bar).

UI_DESKBOX_FLAG_STYLE_NONE 

Do not draw title bar and frame.

UI_DESKBOX_FLAG_STYLE_SIMPLE 

Draw a simple frame.

Implies UI_DESKBOX_FLAG_STYLE_NONE.

UI_DESKBOX_FLAG_STYLE_FLOAT 

Create a floating window deskbox.

UI_DESKBOX_FLAG_STYLE_POPUP 

Create a popup deskbox.

UI_DESKBOX_FLAG_NO_CLOSE_BUTTON 

Inhibit close button creation.

This takes priority over UI_DESKBOX_FLAG_CLOSE_BUTTON.