#
9b33a309 |
| 04-Mar-2020 |
X512 <danger_mail@list.ru> |
Interface Kit: fix menu resizing when scrolling is enabled
BMenuWindow::Attach/DetachScrollers can be called when scrollers are already attached/detached and it should handle this case properly.
Ca
Interface Kit: fix menu resizing when scrolling is enabled
BMenuWindow::Attach/DetachScrollers can be called when scrollers are already attached/detached and it should handle this case properly.
Call BMenuWindow::DetachScrollers when scrolling is not needed anymore.
Fixes #8513.
Change-Id: I1f70b63d75106cf33ab1f72d34e221a54b45a75e Reviewed-on: https://review.haiku-os.org/c/haiku/+/2310 Reviewed-by: Adrien Destugues <pulkomandy@gmail.com> Reviewed-by: John Scipione <jscipione@gmail.com>
show more ...
|
#
bab64f65 |
| 19-Feb-2016 |
Alexander von Gluck IV <Alex.vonGluck@r1soft.com> |
Merge remote-tracking branch 'upstream/master' into intel-extreme
|
#
7a96554c |
| 10-Dec-2015 |
looncraz <looncraz@looncraz.net> |
kits/interface: Convert to using Set*UIColor.
Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com> Patches 0003-0017 from looncraz, unmodified.
|
#
f2de125b |
| 11-Aug-2015 |
Stefano Ceccherini <stefano.ceccherini@gmail.com> |
Removed code path for be_control_look == NULL. Adjusted TODO comment.
|
#
b8ded2f8 |
| 27-May-2013 |
François Revol <revol@free.fr> |
Merge branch 'master' into sam460ex
|
#
25a7b01d |
| 05-May-2013 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Merge branch 'master' into package-management
Additional changes: * Add src/system/kernel/lib/zlib, which builds a kernel version of zlib, needed by packagefs. * BuildFeatures: Add a build feature
Merge branch 'master' into package-management
Additional changes: * Add src/system/kernel/lib/zlib, which builds a kernel version of zlib, needed by packagefs. * BuildFeatures: Add a build feature "gcc2" to allow for easier checks. * Referenceable.cpp: Include <OS.h> instead of <debugger.h>. The latter is not needed and prevents building for the build platform. * zlib/zutil.h: Fix gcc 2 build. We really should use the external package instead.
Conflicts: .gitignore build/jam/BuildSetup build/jam/FileRules build/jam/FloppyBootImage build/jam/HaikuImage build/jam/ImageRules build/jam/KernelRules build/jam/NetBootArchive build/jam/OptionalBuildFeatures build/jam/OptionalLibPackages build/jam/OptionalPackageDependencies build/jam/OptionalPackages build/scripts/build_haiku_image configure data/bin/installoptionalpackage data/system/boot/Bootscript headers/os/app/Message.h headers/os/package/PackageInfo.h headers/os/package/PackageInfoAttributes.h headers/os/package/PackageInfoSet.h headers/os/package/PackageRoster.h headers/os/package/PackageVersion.h headers/os/package/hpkg/PackageInfoAttributeValue.h headers/os/storage/FindDirectory.h headers/os/storage/Node.h headers/os/support/StringList.h headers/private/system/directories.h src/add-ons/kernel/drivers/audio/ac97/es1370/Jamfile src/add-ons/kernel/file_systems/packagefs/AttributeIndex.cpp src/add-ons/kernel/file_systems/packagefs/Jamfile src/add-ons/kernel/file_systems/packagefs/Package.cpp src/add-ons/kernel/file_systems/packagefs/Package.h src/add-ons/kernel/file_systems/packagefs/PackageDomain.cpp src/add-ons/kernel/file_systems/packagefs/PackageDomain.h src/add-ons/kernel/file_systems/packagefs/PackageFSRoot.cpp src/add-ons/kernel/file_systems/packagefs/PackageLinkDirectory.cpp src/add-ons/kernel/file_systems/packagefs/PackageLinkDirectory.h src/add-ons/kernel/file_systems/packagefs/PackageLinkSymlink.cpp src/add-ons/kernel/file_systems/packagefs/PackageLinkSymlink.h src/add-ons/kernel/file_systems/packagefs/PackageLinksDirectory.cpp src/add-ons/kernel/file_systems/packagefs/PackageNode.h src/add-ons/kernel/file_systems/packagefs/ResolvableFamily.cpp src/add-ons/kernel/file_systems/packagefs/Version.cpp src/add-ons/kernel/file_systems/packagefs/Version.h src/add-ons/kernel/file_systems/packagefs/Volume.cpp src/add-ons/kernel/file_systems/packagefs/Volume.h src/add-ons/kernel/file_systems/packagefs/kernel_interface.cpp src/add-ons/kernel/file_systems/userlandfs/shared/driver_settings.c src/apps/deskbar/BarApp.cpp src/apps/deskbar/BarMenuBar.cpp src/apps/deskbar/BarMenuBar.h src/apps/deskbar/BarView.cpp src/apps/deskbar/BarView.h src/apps/deskbar/BarWindow.cpp src/apps/deskbar/BarWindow.h src/apps/deskbar/DeskbarMenu.cpp src/apps/deskbar/DeskbarMenu.h src/apps/deskbar/DeskbarUtils.cpp src/apps/deskbar/DeskbarUtils.h src/apps/deskbar/ExpandoMenuBar.cpp src/apps/deskbar/ExpandoMenuBar.h src/apps/deskbar/TeamMenu.cpp src/apps/processcontroller/ProcessController.cpp src/apps/remotedesktop/RemoteDesktop.cpp src/bin/bash/config-top.h src/bin/finddir.c src/bin/package/Jamfile src/bin/package/command_add.cpp src/bin/package/command_create.cpp src/bin/package/command_list.cpp src/bin/package_repo/command_list.cpp src/bin/pkgman/command_refresh.cpp src/build/libbe/support/Jamfile src/build/libpackage/Jamfile src/build/libroot/Jamfile src/build/libroot/fs.cpp src/build/libroot/remapped_functions.h src/kits/locale/MutableLocaleRoster.cpp src/kits/opengl/GLRendererRoster.cpp src/kits/package/PackageInfo.cpp src/kits/package/PackageInfoSet.cpp src/kits/package/PackageRoster.cpp src/kits/package/PackageVersion.cpp src/kits/package/RepositoryCache.cpp src/kits/package/hpkg/PackageWriterImpl.cpp src/kits/package/hpkg/ReaderImplBase.cpp src/kits/package/hpkg/WriterImplBase.cpp src/kits/print/PrintTransport.cpp src/kits/print/Printer.cpp src/kits/screensaver/ScreenSaverRunner.cpp src/kits/support/StringList.cpp src/kits/tracker/ContainerWindow.cpp src/kits/tracker/DeskWindow.cpp src/kits/tracker/PoseView.cpp src/libs/print/libprint/Transport.cpp src/preferences/printers/AddPrinterDialog.cpp src/preferences/screensaver/ScreenSaverWindow.cpp src/servers/debug/DebugServer.cpp src/servers/input/AddOnManager.cpp src/servers/media_addon/MediaAddonServer.cpp src/system/boot/Jamfile src/system/boot/loader/Jamfile src/system/boot/loader/loader.cpp src/system/boot/loader/vfs.cpp src/system/kernel/fs/vfs.cpp src/system/kernel/fs/vfs_boot.cpp src/system/libroot/os/find_directory.cpp src/system/runtime_loader/runtime_loader.cpp src/tools/package/Jamfile
show more ...
|
#
4898c615 |
| 03-May-2013 |
Jessica Hamilton <jessica.l.hamilton@gmail.com> |
BMenu: scroll marked item into view when menu has scrollers attached.
Signed-off-by: Axel Dörfler <axeld@pinc-software.de>
|
#
a937ffd2 |
| 30-Apr-2012 |
czeidler <haiku@clemens-zeidler.de> |
Make the menu window not resizable.
Right clicking the menu border showed the resize arrow and sometimes even made it possible to resize the menu.
|
#
931cd377 |
| 07-Oct-2009 |
Axel Dörfler <axeld@pinc-software.de> |
* Added a new flag kAcceptKeyboardFocusFlag that allows B_AVOID_FOCUS windows to still receive keyboard events. This is now used for menu windows (before, the menu feel alone would trigger that b
* Added a new flag kAcceptKeyboardFocusFlag that allows B_AVOID_FOCUS windows to still receive keyboard events. This is now used for menu windows (before, the menu feel alone would trigger that behaviour). * This also fixes bug #4691, as tool tip windows use the menu feel as well.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33481 a95241bf-73f2-0310-859d-f6bbb57e9c96
show more ...
|
#
3ecf187e |
| 04-Sep-2009 |
Stefano Ceccherini <stefano.ceccherini@gmail.com> |
Made MenuWindow::GetSteps() const. Increased the scrollers size from 10 to 12, since at high resolutions, they're really too small.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32932 a95241b
Made MenuWindow::GetSteps() const. Increased the scrollers size from 10 to 12, since at high resolutions, they're really too small.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32932 a95241bf-73f2-0310-859d-f6bbb57e9c96
show more ...
|
#
96f041c5 |
| 03-Sep-2009 |
Stefano Ceccherini <stefano.ceccherini@gmail.com> |
Also scroll by a small step, when using the menuscrollers.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32923 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
d62eae6e |
| 24-Aug-2009 |
Axel Dörfler <axeld@pinc-software.de> |
* Do not allow a menu window to be movable. This fixes bug #4314.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32650 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
50f8cd14 |
| 07-Aug-2009 |
Axel Dörfler <axeld@pinc-software.de> |
* Cleanup, no functional change. * Remove superfluous operator=() implementations.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32174 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
4e23bc03 |
| 03-Jul-2009 |
Axel Dörfler <axeld@pinc-software.de> |
* BMenu now scrolls when you press page up/down, if possible. * BMenuWindow no longer uses a fixed scroll step - instead, the menu sets it to the height of its first item. * Cleanup.
git-svn-id:
* BMenu now scrolls when you press page up/down, if possible. * BMenuWindow no longer uses a fixed scroll step - instead, the menu sets it to the height of its first item. * Cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31389 a95241bf-73f2-0310-859d-f6bbb57e9c96
show more ...
|
#
c7bb90f8 |
| 14-Mar-2009 |
Stephan Aßmus <superstippi@gmx.de> |
Improve cosmetics when menu scrollers are shown. The menu is not supposed to draw all of the frame (no top/bottom borders).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29532 a95241bf-73f2-0
Improve cosmetics when menu scrollers are shown. The menu is not supposed to draw all of the frame (no top/bottom borders).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29532 a95241bf-73f2-0310-859d-f6bbb57e9c96
show more ...
|
#
2f86ba45 |
| 15-Feb-2009 |
Stephan Aßmus <superstippi@gmx.de> |
Implemented a new look for the Haiku interface controls. It was overheard that they looked too ninety-ish. TODO: The code behind this is work in progress. The basic idea is to extract all drawing cod
Implemented a new look for the Haiku interface controls. It was overheard that they looked too ninety-ish. TODO: The code behind this is work in progress. The basic idea is to extract all drawing code into a new class BControlLook, of which there is a global instance be_control_look, instantiated in InterfaceDefs.cpp. At the moment, all the old drawing code is still there, and the usage of be_control_look is inside if-bodies checking the instance against NULL. In another words, by not instanitating be_control_look, you can revert back to the old look. BControlLook's job is to provide reusable methods for drawing certain types of frames, backgrounds and labels, so that application developers can make controls that re-use the same drawing code as built-in controls and adopt to changes made there. I have added the notion of "borders". Each of the frame drawing methods can be made to draw certain borders only, which is supposed to help when controls shall visually attach. This feature is not fully explored at all ATM. TODO: Update BColumnListView header view and BStringItem text spacing. Update other apps where it makes sense to use BControlLook. For the moment, only Tracker and LaunchBox are updated. More... NOTE: The new look is not very radically different, so that existing apps do not immediately look too ugly or out of place.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29221 a95241bf-73f2-0310-859d-f6bbb57e9c96
show more ...
|
#
4e0c2a79 |
| 03-Oct-2008 |
Stefano Ceccherini <stefano.ceccherini@gmail.com> |
Menus can be scrolled also using the mouse wheel
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27844 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
60e1cfbf |
| 24-Feb-2008 |
Stefano Ceccherini <stefano.ceccherini@gmail.com> |
don't freak out if BMenuWindow::AttachScrollers() is called more than once (happens when a menu window has scrollers already, and we call BMenu::AddItem().
git-svn-id: file:///srv/svn/repos/haiku/ha
don't freak out if BMenuWindow::AttachScrollers() is called more than once (happens when a menu window has scrollers already, and we call BMenu::AddItem().
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24094 a95241bf-73f2-0310-859d-f6bbb57e9c96
show more ...
|
#
9e64a7ed |
| 03-Jan-2008 |
Stefano Ceccherini <stefano.ceccherini@gmail.com> |
Fixed problem with some popup menus (check ticket #1679) Moved GetMouse() calls near the check for exit conditions. Reorganized a bit the code, and hopefully simplified it in some places.
git-svn-i
Fixed problem with some popup menus (check ticket #1679) Moved GetMouse() calls near the check for exit conditions. Reorganized a bit the code, and hopefully simplified it in some places.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23229 a95241bf-73f2-0310-859d-f6bbb57e9c96
show more ...
|
#
059ca4bd |
| 05-Jun-2007 |
Stefano Ceccherini <stefano.ceccherini@gmail.com> |
Some other changes, make sure we delete all resources on destruction
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21329 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
cf5948ae |
| 05-Jun-2007 |
Stefano Ceccherini <stefano.ceccherini@gmail.com> |
BMenuFrame overlapped partially with a BMenuScroller. This fixes the spurious lines drawn over the menu. Thanks to Stephan for making me notice this!
git-svn-id: file:///srv/svn/repos/haiku/haiku
BMenuFrame overlapped partially with a BMenuScroller. This fixes the spurious lines drawn over the menu. Thanks to Stephan for making me notice this!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21327 a95241bf-73f2-0310-859d-f6bbb57e9c96
show more ...
|
#
3616859a |
| 05-Jun-2007 |
Stefano Ceccherini <stefano.ceccherini@gmail.com> |
Changed the interaction between BMenuFrame, BMenuScroller and BMenuWindow. BMenuScroller now is just the scroller button, and it's a child of BMenuWindow. This simplifies attaching/detaching the s
Changed the interaction between BMenuFrame, BMenuScroller and BMenuWindow. BMenuScroller now is just the scroller button, and it's a child of BMenuWindow. This simplifies attaching/detaching the scrollers, and it's also a bit cleaner. The lower scroller wasn't shown anymore for some reason, and this commit also fixes this problem. A drawing bug shows up now, though: when scrolling the menu UP, some spurious lines are drawn over the menu. I wonder if this is an app_server bug or what.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21326 a95241bf-73f2-0310-859d-f6bbb57e9c96
show more ...
|
#
c7338938 |
| 29-Dec-2006 |
Stefano Ceccherini <stefano.ceccherini@gmail.com> |
Greatly improved scrolling, and simplified the code too. Now scrolling is done from inside the BMenu::_track() function, and not inside Pulse() anymore. Patch by Lucasz Zemczak
git-svn-id: file:/
Greatly improved scrolling, and simplified the code too. Now scrolling is done from inside the BMenu::_track() function, and not inside Pulse() anymore. Patch by Lucasz Zemczak
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19653 a95241bf-73f2-0310-859d-f6bbb57e9c96
show more ...
|
#
08d92916 |
| 07-Dec-2006 |
Stefano Ceccherini <stefano.ceccherini@gmail.com> |
removed now unneded extra Draw() call used as a workaround to broken scrolling. Menu attached to menubars now use scrolling if they are opened near the bottom of the screen (just like in beos). I'm
removed now unneded extra Draw() call used as a workaround to broken scrolling. Menu attached to menubars now use scrolling if they are opened near the bottom of the screen (just like in beos). I'm not sure if this is so nice, though, so it could be reverted. Patch contributed by Lucasz Zemczak
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19442 a95241bf-73f2-0310-859d-f6bbb57e9c96
show more ...
|
#
2628e60c |
| 22-Nov-2006 |
Axel Dörfler <axeld@pinc-software.de> |
Moved BMenuWindow, BMenuFrame, and BMenuScroller into the BPrivate namespace.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19360 a95241bf-73f2-0310-859d-f6bbb57e9c96
|