History log of /haiku/headers/private/kernel/boot/menu.h
Revision Date Author Comments
# e2c5cf69 30-Nov-2013 Ingo Weinhold <ingo_weinhold@gmx.de>

boot loader: Menu: Add SetTitle()


# cbfc38c6 30-Nov-2013 Ingo Weinhold <ingo_weinhold@gmx.de>

boot loader: MenuItem: Add SetLabel()


# 6c7abe98 20-Nov-2013 Ingo Weinhold <ingo_weinhold@gmx.de>

boot loader: Menu[Item] API improvements

* Make Menu and MenuItem polymorphic.
* MenuItem:
- Make SetMarked() virtual, so it can be overridden.
- Add SetSubmenu() and Supermenu().
- Delete the submenu in the destructor.
* Menu:
- Add Entered()/Exited() hooks. They frame the time the user navigates
the menu or any of its submenus. The hooks allow for subclasses
populating their item list dynamically.
- Add SortItems().
* Update boot loader menu copyright text to include 2013, now that it is
over soon. :-)


# 868aa7a0 15-Apr-2010 Axel Dörfler <axeld@pinc-software.de>

* Added shortcut handling to the boot loader menu (in preparation of adopting
ticket #5312).
* Added shortcut 'b' to continue booting, 'r' to reboot.
* Consolidated asterisk style.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36310 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 7af231d8 15-Apr-2010 Axel Dörfler <axeld@pinc-software.de>

* Cleanup, no functional change.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36305 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 5ea23bb0 14-Oct-2005 Axel Dörfler <axeld@pinc-software.de>

Removed platform_boot_device_is_image() again; it's now replaced by a field
"booted_from_image" in the kernel_args' boot_disk structure.
Also, added fields "cd" and "user_selected".
A CHOICE_MENU menu can now have a choice text - this is automatically updated
as entries in the menu get selected.
The boot volume menu now has the initial choice text "CD-ROM or hard drive"
in case the boot loader was loaded from an image. The "Rescan volumes" item
is no longer selected by default (only if there was no boot volume found) - but
it's still functionless anyway.
The TAR fs will now appear as "Boot from CD-ROM" in the boot volume menu.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14388 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 2d7ad656 31-Mar-2005 Axel Dörfler <axeld@pinc-software.de>

Added "Disable IDE DMA" safemode option.
MenuItem::SetData() now asks for a const parameter.
The safemode menu options now set their MenuItem::Data() to the safemode option string.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12191 a95241bf-73f2-0310-859d-f6bbb57e9c96


# b0f7c845 01-Feb-2005 Ingo Weinhold <ingo_weinhold@gmx.de>

Switched to new DoublyLinkedList class.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11191 a95241bf-73f2-0310-859d-f6bbb57e9c96


# e76877ad 26-Oct-2004 Axel Dörfler <axeld@pinc-software.de>

Added a function to find a menu item by label.
Added super item/menu getters, and a new fSuperItem field.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9524 a95241bf-73f2-0310-859d-f6bbb57e9c96


# a1b7427b 25-Aug-2004 Axel Dörfler <axeld@pinc-software.de>

A menu item can now be enabled and disabled.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8646 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 649f65cc 21-Jun-2004 Axel Dörfler <axeld@pinc-software.de>

Added help text functionality.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8117 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 3b5e4b49 21-Jun-2004 Axel Dörfler <axeld@pinc-software.de>

New method Target() that returns the previously chosen target.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8115 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 355bc28f 21-Jun-2004 Axel Dörfler <axeld@pinc-software.de>

Added another menu item type (that cannot be chosen in CHOICE_MENUs).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8109 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 82fc8f39 21-Jun-2004 Axel Dörfler <axeld@pinc-software.de>

You can now attach an arbitrary data pointer to a menu item.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8104 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 99192aa4 21-Jun-2004 Axel Dörfler <axeld@pinc-software.de>

Work in progress of the boot loader menu.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8093 a95241bf-73f2-0310-859d-f6bbb57e9c96


# e2c5cf691d52425a693aefd8806e7d120a37ce65 30-Nov-2013 Ingo Weinhold <ingo_weinhold@gmx.de>

boot loader: Menu: Add SetTitle()


# cbfc38c62d972fa79a84b8b2ed528e10f3b82eae 30-Nov-2013 Ingo Weinhold <ingo_weinhold@gmx.de>

boot loader: MenuItem: Add SetLabel()


# 6c7abe982939eb2f37df772014db96ad8b5f440a 20-Nov-2013 Ingo Weinhold <ingo_weinhold@gmx.de>

boot loader: Menu[Item] API improvements

* Make Menu and MenuItem polymorphic.
* MenuItem:
- Make SetMarked() virtual, so it can be overridden.
- Add SetSubmenu() and Supermenu().
- Delete the submenu in the destructor.
* Menu:
- Add Entered()/Exited() hooks. They frame the time the user navigates
the menu or any of its submenus. The hooks allow for subclasses
populating their item list dynamically.
- Add SortItems().
* Update boot loader menu copyright text to include 2013, now that it is
over soon. :-)


# 868aa7a0e08a6f01717ea8029190baa456794e49 15-Apr-2010 Axel Dörfler <axeld@pinc-software.de>

* Added shortcut handling to the boot loader menu (in preparation of adopting
ticket #5312).
* Added shortcut 'b' to continue booting, 'r' to reboot.
* Consolidated asterisk style.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36310 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 7af231d838e6b1abcf75fcf97609ba7a35c22817 15-Apr-2010 Axel Dörfler <axeld@pinc-software.de>

* Cleanup, no functional change.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36305 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 5ea23bb0a3c0abdd8494122942c1327e5734d959 14-Oct-2005 Axel Dörfler <axeld@pinc-software.de>

Removed platform_boot_device_is_image() again; it's now replaced by a field
"booted_from_image" in the kernel_args' boot_disk structure.
Also, added fields "cd" and "user_selected".
A CHOICE_MENU menu can now have a choice text - this is automatically updated
as entries in the menu get selected.
The boot volume menu now has the initial choice text "CD-ROM or hard drive"
in case the boot loader was loaded from an image. The "Rescan volumes" item
is no longer selected by default (only if there was no boot volume found) - but
it's still functionless anyway.
The TAR fs will now appear as "Boot from CD-ROM" in the boot volume menu.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14388 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 2d7ad656ec5b6c8894ba0d1997b35f33821a1ae3 31-Mar-2005 Axel Dörfler <axeld@pinc-software.de>

Added "Disable IDE DMA" safemode option.
MenuItem::SetData() now asks for a const parameter.
The safemode menu options now set their MenuItem::Data() to the safemode option string.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12191 a95241bf-73f2-0310-859d-f6bbb57e9c96


# b0f7c845227cf9d992d6309c3236a040ab75032f 01-Feb-2005 Ingo Weinhold <ingo_weinhold@gmx.de>

Switched to new DoublyLinkedList class.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11191 a95241bf-73f2-0310-859d-f6bbb57e9c96


# e76877adaebab4e2ab00782bac9c47c527730f2c 26-Oct-2004 Axel Dörfler <axeld@pinc-software.de>

Added a function to find a menu item by label.
Added super item/menu getters, and a new fSuperItem field.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9524 a95241bf-73f2-0310-859d-f6bbb57e9c96


# a1b7427b0ac59be69bad60c03a2c674c00522dd1 25-Aug-2004 Axel Dörfler <axeld@pinc-software.de>

A menu item can now be enabled and disabled.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8646 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 649f65cc3affac971607085758226c3c03b159b1 21-Jun-2004 Axel Dörfler <axeld@pinc-software.de>

Added help text functionality.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8117 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 3b5e4b4978f3aeb9b80e0e0e17e7d1ed08fcf7d4 21-Jun-2004 Axel Dörfler <axeld@pinc-software.de>

New method Target() that returns the previously chosen target.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8115 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 355bc28f32e1405588f2f3ec0cb6fa6b14524dc0 21-Jun-2004 Axel Dörfler <axeld@pinc-software.de>

Added another menu item type (that cannot be chosen in CHOICE_MENUs).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8109 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 82fc8f393c09e5095c5731028ea6b93e23059e07 21-Jun-2004 Axel Dörfler <axeld@pinc-software.de>

You can now attach an arbitrary data pointer to a menu item.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8104 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 99192aa450c64344d5e21dc464be8e6e2ee47cc5 21-Jun-2004 Axel Dörfler <axeld@pinc-software.de>

Work in progress of the boot loader menu.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8093 a95241bf-73f2-0310-859d-f6bbb57e9c96