Searched refs:menu (Results 1 - 25 of 292) sorted by relevance

1234567891011>>

/haiku/src/system/boot/platform/u-boot/
H A Dmenu.cpp10 #include <boot/menu.h>
16 platform_add_menus(Menu *menu) argument
20 /*switch (menu->Type()) {
22 menu->AddItem(item = new(nothrow) MenuItem("Select fail-safe video mode", video_mode_menu()));
26 menu->AddItem(item = new(nothrow) MenuItem("Use fail-safe video mode"));
32 smp_add_safemode_menus(menu);
34 menu->AddItem(item = new(nothrow) MenuItem("Don't call the BIOS"));
38 menu->AddItem(item = new(nothrow) MenuItem("Disable APM"));
44 menu->AddItem(item = new(nothrow) MenuItem("Disable ACPI"));
51 menu
64 platform_update_menu_item(Menu *menu, MenuItem *item) argument
71 platform_run_menu(Menu *menu) argument
78 platform_get_user_input_text(Menu *menu, MenuItem *item, char *buffer, size_t bufferSize) argument
[all...]
/haiku/src/system/boot/platform/openfirmware/
H A Dmenu.cpp8 #include <boot/menu.h>
13 platform_add_menus(Menu *menu) argument
17 switch (menu->Type()) {
29 platform_update_menu_item(Menu *menu, MenuItem *item) argument
31 platform_generic_update_text_menu_item(menu, item);
36 platform_run_menu(Menu *menu) argument
38 platform_generic_run_text_menu(menu);
43 platform_get_user_input_text(Menu *menu, MenuItem *item, char *buffer, argument
46 return platform_generic_get_user_input_text(menu, item, buffer,
/haiku/src/tests/kits/interface/
H A DMenuTriggerTest.cpp35 BMenu* menu = new BMenu("File"); local
36 menu->AddItem(new BMenuItem("Bart", NULL));
37 menu->AddItem(new BMenuItem("bart", NULL));
38 menu->AddItem(new BMenuItem("bart", NULL));
39 menu->AddItem(new BMenuItem("Bart", NULL));
40 menu->AddItem(new BMenuItem("BART", NULL));
41 menu->AddItem(new BMenuItem("b��rt", NULL));
42 menu->AddItem(new BMenuItem("b��rst", NULL));
43 menu->AddSeparatorItem();
44 menu
[all...]
H A DMenuBeginningTest.cpp3 // 1. Click on "menu ONE"
4 // 2. Click on "menu TWO".
29 BMenu *menu = new BMenu("menu ONE"); local
31 menu->AddItem(new BMenuItem("ONE", new BMessage('1ONE')));
32 menu->AddItem(new BMenuItem("TWO", new BMessage('2TWO')));
33 bar->AddItem(menu);
35 menu = new BMenu("menu TWO");
36 menu
[all...]
/haiku/src/apps/haikudepot/util/
H A DLanguageMenuUtils.h20 BMenu* menu);
23 BMenu* menu);
28 BMenu* menu);
29 static status_t _GetLanguageAtIndexInMenu(BMenu* menu,
33 BMenu* menu, bool isPopular);
36 BMenu* menu);
39 const BString& name, BMenu* menu);
H A DLanguageMenuUtils.cpp17 /*! This method will add the supplied languages to the menu. It will
24 const LanguageList& languages, BMenu* menu)
30 languages, menu, true);
33 menu->AddSeparatorItem();
36 languages, menu, false);
40 " non-popular languages to a menu\n", addedPopular,
48 const BString& languageCode, BMenu* menu) {
49 if (menu->CountItems() == 0) {
50 debugger("menu contains no items; not able to set the "
56 languageCode, menu);
23 AddLanguagesToMenu( const LanguageList& languages, BMenu* menu) argument
47 MarkLanguageInMenu( const BString& languageCode, BMenu* menu) argument
69 _AddLanguageToMenu( const BString& code, const BString& name, BMenu* menu) argument
80 _AddLanguageToMenu( const LanguageRef& language, BMenu* menu) argument
91 _AddLanguagesToMenu(const LanguageList& languages, BMenu* menu, bool isPopular) argument
110 _GetLanguageAtIndexInMenu(BMenu* menu, int32 index, BString* result) argument
123 _IndexOfLanguageInMenu( const BString& languageCode, BMenu* menu) argument
[all...]
/haiku/src/system/boot/platform/atari_m68k/
H A Dmenu.cpp11 #include <boot/menu.h>
17 platform_add_menus(Menu *menu) argument
21 switch (menu->Type()) {
23 menu->AddItem(item = new(nothrow) MenuItem("Select screen resolution", video_mode_menu()));
27 menu->AddItem(item = new(nothrow) MenuItem("Use fail-safe graphics driver"));
33 smp_add_safemode_menus(menu);
35 menu->AddItem(item = new(nothrow) MenuItem("Don't call the BIOS"));
38 menu->AddItem(item = new(nothrow) MenuItem("Disable APM"));
43 menu->AddItem(item = new(nothrow) MenuItem("Disable ACPI"));
56 platform_update_menu_item(Menu *menu, MenuIte argument
63 platform_run_menu(Menu *menu) argument
70 platform_get_user_input_text(Menu *menu, MenuItem *item, char *buffer, size_t bufferSize) argument
[all...]
/haiku/src/system/boot/platform/amiga_m68k/
H A Dmenu.cpp10 #include <boot/menu.h>
16 platform_add_menus(Menu *menu) argument
20 switch (menu->Type()) {
22 menu->AddItem(item = new(nothrow) MenuItem("Select screen resolution", video_mode_menu()));
26 menu->AddItem(item = new(nothrow) MenuItem("Use fail-safe graphics driver"));
32 smp_add_safemode_menus(menu);
34 menu->AddItem(item = new(nothrow) MenuItem("Don't call the BIOS"));
37 menu->AddItem(item = new(nothrow) MenuItem("Disable APM"));
42 menu->AddItem(item = new(nothrow) MenuItem("Disable ACPI"));
55 platform_update_menu_item(Menu *menu, MenuIte argument
62 platform_run_menu(Menu *menu) argument
68 platform_get_user_input_text(Menu *menu, MenuItem *item, char *buffer, size_t bufferSize) argument
[all...]
/haiku/src/apps/stylededit/
H A DColorMenuItem.cpp29 BMenu* menu = Menu(); local
30 if (menu) {
31 rgb_color menuColor = menu->HighColor();
42 menu->SetHighColor(ui_color(B_NAVIGATION_BASE_COLOR));
43 menu->StrokeRect(colorSquare);
46 menu->SetHighColor(fItemColor);
47 menu->FillRect(colorSquare);
48 menu->SetHighColor(menuColor);
49 menu->MovePenBy(colorSquare.right + 5.0f, 4.0f);
/haiku/src/system/boot/platform/efi/
H A Dmenu.cpp7 #include <boot/menu.h>
17 platform_add_menus(Menu *menu) argument
21 switch (menu->Type()) {
25 menu->AddItem(item);
35 menu->AddItem(item);
42 smp_add_safemode_menus(menu);
46 menu->AddItem(item);
62 platform_update_menu_item(Menu *menu, MenuItem *item) argument
64 platform_generic_update_text_menu_item(menu, item);
69 platform_run_menu(Menu *menu) argument
76 platform_get_user_input_text(Menu *menu, MenuItem *item, char *buffer, size_t bufferSize) argument
[all...]
H A Dsmp.h14 # include <boot/menu.h>
15 extern void smp_add_safemode_menus(Menu *menu);
H A Dvideo.h14 bool video_mode_hook(Menu *menu, MenuItem *item);
/haiku/src/system/boot/platform/bios_ia32/
H A Dsmp.h14 # include <boot/menu.h>
15 extern void smp_add_safemode_menus(Menu *menu);
H A Dmenu.cpp11 #include <boot/menu.h>
38 platform_add_menus(Menu* menu) argument
42 switch (menu->Type()) {
47 menu->AddItem(item);
52 menu->AddShortcut('w', warm_reboot);
58 menu->AddItem(item);
65 smp_add_safemode_menus(menu);
69 menu->AddItem(item);
77 menu->AddItem(item);
87 menu
103 platform_update_menu_item(Menu* menu, MenuItem* item) argument
110 platform_run_menu(Menu* menu) argument
117 platform_get_user_input_text(Menu* menu, MenuItem* item, char* buffer, size_t bufferSize) argument
[all...]
/haiku/headers/private/kernel/boot/platform/efi/
H A Darch_smp.h8 #include <boot/menu.h>
14 void arch_smp_add_safemode_menus(Menu *menu);
/haiku/src/tests/add-ons/print/pdf/bezierbounds/
H A DBBApp.cpp13 // add menu bar
16 BMenu *menu; local
18 menu = new BMenu("Test");
19 menu->AddItem(new BMenuItem("About ...", new BMessage(B_ABOUT_REQUESTED)));
20 menu->AddSeparatorItem();
21 menu->AddItem(new BMenuItem("Quit", new BMessage(B_QUIT_REQUESTED), 'Q'));
22 menubar->AddItem(menu);
24 menu = new BMenu("Line Cap");
25 menu->AddItem(new BMenuItem("Round", NewMessage(CAP_MSG, B_ROUND_CAP)));
26 menu
[all...]
/haiku/src/tests/add-ons/print/pdf/linepathbuilder/
H A DLPBApp.cpp13 // add menu bar
16 BMenu *menu; local
18 menu = new BMenu("Test");
19 menu->AddItem(new BMenuItem("About ...", new BMessage(B_ABOUT_REQUESTED)));
20 menu->AddSeparatorItem();
21 menu->AddItem(new BMenuItem("Quit", new BMessage(B_QUIT_REQUESTED), 'Q'));
22 menubar->AddItem(menu);
24 menu = new BMenu("Line Cap");
25 menu->AddItem(new BMenuItem("Round", NewMessage(CAP_MSG, B_ROUND_CAP)));
26 menu
[all...]
/haiku/headers/private/kernel/boot/platform/generic/
H A Dtext_menu.h13 void platform_generic_update_text_menu_item(Menu* menu, MenuItem* item);
14 void platform_generic_run_text_menu(Menu* menu);
15 size_t platform_generic_get_user_input_text(Menu* menu, MenuItem* item,
/haiku/src/apps/processcontroller/
H A DKernelMemoryBarMenuItem.cpp72 BMenu* menu = Menu(); local
73 rgb_color highColor = menu->HighColor();
76 menu->GetFont(&font);
84 menu->SetHighColor(gFrameColorSelected);
86 menu->SetHighColor(gFrameColor);
87 menu->StrokeRect (cadre);
105 menu->SetHighColor(gKernelColorSelected);
107 menu->SetHighColor(gKernelColor);
108 menu->FillRect (r);
120 menu
[all...]
H A DNoiseBarMenuItem.cpp54 BMenu* menu = Menu(); local
55 rgb_color highColor = menu->HighColor();
58 menu->GetFont(&font);
69 menu->SetHighColor(gFrameColorSelected);
71 menu->SetHighColor(gFrameColor);
72 menu->StrokeRect(frame);
88 menu->SetHighColor(tint_color (kGreen, B_HIGHLIGHT_BACKGROUND_TINT));
90 menu->SetHighColor(kGreen);
91 // menu->SetHighColor(gKernelColor);
92 menu
[all...]
H A DMemoryBarMenuItem.cpp92 BMenu* menu = Menu(); local
95 menu->SetDrawingMode(B_OP_ALPHA);
96 menu->SetBlendingMode(B_PIXEL_ALPHA, B_ALPHA_OVERLAY);
98 menu->SetDrawingMode(B_OP_OVER);
100 menu->DrawBitmap(fIcon, loc);
102 menu->SetDrawingMode(B_OP_COPY);
116 BMenu* menu = Menu(); local
117 rgb_color highColor = menu->HighColor();
120 menu->GetFont(&font);
132 menu
[all...]
/haiku/src/tests/kits/interface/bmenu/
H A DMenuTest.cpp31 BPopUpMenu* menu = new BPopUpMenu("Test"); local
32 menu->AddItem(new BMenuItem("One", NULL));
33 menu->AddItem(new BMenuItem("Two", NULL));
34 menu->AddSeparatorItem();
44 menu->Go(BPoint(), false, true, true);
51 menu->AddItem(item);
55 menu->RemoveItem((int32)0);
59 CPPUNIT_ASSERT_EQUAL(6, menu->CountItems());
65 // Close the menu.
67 menu
[all...]
/haiku/src/tests/system/boot/loader/
H A Dplatform_menu.cpp11 #include <boot/menu.h>
67 draw_menu(Menu *menu) argument
70 if (menu->Title())
71 printf("%s", menu->Title());
76 MenuItemIterator iterator = menu->ItemIterator();
91 menu->FindSelected(&selected);
97 dump_devices_hook(Menu *menu, MenuItem *item) argument
128 platform_add_menus(Menu *menu) argument
132 switch (menu->Type()) {
134 menu
144 platform_update_menu_item(Menu *menu, MenuItem *item) argument
150 platform_run_menu(Menu *menu) argument
204 platform_get_user_input_text(Menu* menu, MenuItem* item, char* buffer, size_t bufferSize) argument
[all...]
/haiku/src/tests/kits/interface/menu/menuworld/
H A DBitmapMenuItem.cpp44 BMenu* menu = Menu(); local
45 if (menu) {
50 menu->SetDrawingMode(B_OP_COPY);
51 menu->SetHighColor(BKG_GREY);
52 menu->FillRect(itemFrame);
53 menu->DrawBitmap(&m_bitmap, bitmapFrame);
57 menu->SetDrawingMode(B_OP_INVERT);
58 menu->SetHighColor(0,0,0);
59 menu->FillRect(itemFrame);
/haiku/src/apps/diskprobe/
H A DFileWindow.cpp53 // add the menu
55 BMenuBar *menuBar = new BMenuBar("menu bar");
58 BMenu *menu = new BMenu(B_TRANSLATE("File")); local
59 menu->AddItem(new BMenuItem(B_TRANSLATE("New" B_UTF8_ELLIPSIS),
65 menu->AddItem(new BMenuItem(devicesMenu));
71 menu->AddItem(item = new BMenuItem(recentsMenu,
74 menu->AddSeparatorItem();
76 // the ProbeView save menu items will be inserted here
79 menu->AddItem(item);
80 menu
[all...]

Completed in 233 milliseconds

1234567891011>>