Searched +hist:4 +hist:e876d12 (Results 1 - 3 of 3) sorted by last modified time

/haiku/src/kits/interface/
H A DMenu.cppdiff 4e145ead Thu Aug 24 17:14:19 MDT 2023 Augustin Cavalier <waddlesplash@gmail.com> BMenu: Lock the looper before calling _AddItem().

Otherwise, we could wind up in a state where the
list of items is being concurrently accessed,
which is invalid.

Hopefully fixes #18256.
diff 4e23bc03 Thu Jul 02 18:09:16 MDT 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: file:///srv/svn/repos/haiku/haiku/trunk@31389 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff 4e0c2a79 Fri Oct 03 00:03:27 MDT 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
diff 4b812f29 Tue Jan 01 07:37:19 MST 2008 Stefano Ceccherini <stefano.ceccherini@gmail.com> Set sticky mode to the correct value before calling BMenu::_Track().
Fixes bug #1679


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23201 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff 4fa167e1 Sat Jun 16 19:15:05 MDT 2007 Ingo Weinhold <ingo_weinhold@gmx.de> * Added layout-related methods (Min/Max/PreferredSize(), InvalidateLayout(),
DoLayout()).
* Don't resize the view and the window anymore, when fResizeToFit is not
set.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21426 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff fe23fb66 Sun Oct 29 04:22:14 MST 2006 Axel Dörfler <axeld@pinc-software.de> * Renamed private BMenu::SelectItem() to _SelectItem(), and made its arguments a bit more sane.
* Fixed two GCC 4 warnings.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19139 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff 4e338ac6 Thu Aug 17 00:12:48 MDT 2006 Stefano Ceccherini <stefano.ceccherini@gmail.com> Started implementing menu keyboard navigation. Does only work for menubars because menu windows never get keyboard focus. Any idea how to solve this, since menu windows are B_AVOID_FOCUS both in beos and haiku?

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18517 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff 758b1d0e Sat Nov 12 16:27:14 MST 2005 Ingo Weinhold <ingo_weinhold@gmx.de> Fixes that make Haiku build with gcc 4. Mainly out of the following
categories:
* Missing includes (like <stdlib.h> and <string.h>).
* Linking against $(TARGET_LIBSTDC++) instead of libstdc++.r4.so.
* Local variables shadowing parameters.
* Default parameters in function definitions (as opposed to function
declarations).
* All C++ stuff (nothrow, map, set, vector, min, max,...) must be imported
explicitly from the std:: namespace now.
* "new (sometype)[...]" must read "new sometype[...]", even if sometype is
something like "const char *".
* __FUNCTION__ is no longer a string literal (but a string expression), i.e.
'printf(__FUNCTION__ ": ...\n")' is invalid code.
* A type cast results in a non-lvalue. E.g. "(char *)buffer += bytes"
is an invalid expression.
* "friend class SomeClass" only works when SomeClass is known before.
Otherwise the an inner class with that name is considered as friend.
gcc 4 is much pickier about scopes.
* gcc 4 is generally stricter with respect to type conversions in C.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14878 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff 758b1d0e Sat Nov 12 16:27:14 MST 2005 Ingo Weinhold <ingo_weinhold@gmx.de> Fixes that make Haiku build with gcc 4. Mainly out of the following
categories:
* Missing includes (like <stdlib.h> and <string.h>).
* Linking against $(TARGET_LIBSTDC++) instead of libstdc++.r4.so.
* Local variables shadowing parameters.
* Default parameters in function definitions (as opposed to function
declarations).
* All C++ stuff (nothrow, map, set, vector, min, max,...) must be imported
explicitly from the std:: namespace now.
* "new (sometype)[...]" must read "new sometype[...]", even if sometype is
something like "const char *".
* __FUNCTION__ is no longer a string literal (but a string expression), i.e.
'printf(__FUNCTION__ ": ...\n")' is invalid code.
* A type cast results in a non-lvalue. E.g. "(char *)buffer += bytes"
is an invalid expression.
* "friend class SomeClass" only works when SomeClass is known before.
Otherwise the an inner class with that name is considered as friend.
gcc 4 is much pickier about scopes.
* gcc 4 is generally stricter with respect to type conversions in C.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14878 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff 758b1d0e Sat Nov 12 16:27:14 MST 2005 Ingo Weinhold <ingo_weinhold@gmx.de> Fixes that make Haiku build with gcc 4. Mainly out of the following
categories:
* Missing includes (like <stdlib.h> and <string.h>).
* Linking against $(TARGET_LIBSTDC++) instead of libstdc++.r4.so.
* Local variables shadowing parameters.
* Default parameters in function definitions (as opposed to function
declarations).
* All C++ stuff (nothrow, map, set, vector, min, max,...) must be imported
explicitly from the std:: namespace now.
* "new (sometype)[...]" must read "new sometype[...]", even if sometype is
something like "const char *".
* __FUNCTION__ is no longer a string literal (but a string expression), i.e.
'printf(__FUNCTION__ ": ...\n")' is invalid code.
* A type cast results in a non-lvalue. E.g. "(char *)buffer += bytes"
is an invalid expression.
* "friend class SomeClass" only works when SomeClass is known before.
Otherwise the an inner class with that name is considered as friend.
gcc 4 is much pickier about scopes.
* gcc 4 is generally stricter with respect to type conversions in C.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14878 a95241bf-73f2-0310-859d-f6bbb57e9c96
H A DMenuItem.cppdiff 4ffc27fc Fri Aug 03 21:52:15 MDT 2012 Ryan Leavengood <leavengood@gmail.com> Fix incorrectly truncated menu labels.

An off-by-one error (> instead of >= really) was causing truncation when it
wasn't needed. But for some reason this only showed up when the main font size
was increased. I may or may not look into that, but this fixes the issue.

Maybe one of the faster bug logged to bug fixed times in Haiku history? ;)
diff 4fdedfbd Fri Apr 21 09:07:09 MDT 2006 Jérôme Duval <korli@users.berlios.de> fixed some Archive() following stippi's path


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17190 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff d2350b28 Mon Feb 20 13:45:37 MST 2006 Jérôme Duval <korli@users.berlios.de> hmm fixed these bits, padded to multiple of 4


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16481 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff 4e876d12 Mon Jan 03 06:33:03 MST 2005 Stefano Ceccherini <stefano.ceccherini@gmail.com> implemented B_ITEMS_IN_MATRIX layout correctly. Small cleanups all around.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10571 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff 4e876d12 Mon Jan 03 06:33:03 MST 2005 Stefano Ceccherini <stefano.ceccherini@gmail.com> implemented B_ITEMS_IN_MATRIX layout correctly. Small cleanups all around.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10571 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff 4ffc27fcc1acaca0d1ff69be54c048920d2e902e Fri Aug 03 21:52:15 MDT 2012 Ryan Leavengood <leavengood@gmail.com> Fix incorrectly truncated menu labels.

An off-by-one error (> instead of >= really) was causing truncation when it
wasn't needed. But for some reason this only showed up when the main font size
was increased. I may or may not look into that, but this fixes the issue.

Maybe one of the faster bug logged to bug fixed times in Haiku history? ;)
diff 4fdedfbde40258f52c2778d1ca87131b6635fb5d Fri Apr 21 09:07:09 MDT 2006 Jérôme Duval <korli@users.berlios.de> fixed some Archive() following stippi's path


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17190 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff d2350b2881bfe080e62fc69b8b5c4dfd83b4da4c Mon Feb 20 13:45:37 MST 2006 Jérôme Duval <korli@users.berlios.de> hmm fixed these bits, padded to multiple of 4


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16481 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff 4e876d126e7ab87ec51562b1e7f75358448ad5f6 Mon Jan 03 06:33:03 MST 2005 Stefano Ceccherini <stefano.ceccherini@gmail.com> implemented B_ITEMS_IN_MATRIX layout correctly. Small cleanups all around.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10571 a95241bf-73f2-0310-859d-f6bbb57e9c96
H A DMenuBar.cppdiff fe23fb66 Sun Oct 29 04:22:14 MST 2006 Axel Dörfler <axeld@pinc-software.de> * Renamed private BMenu::SelectItem() to _SelectItem(), and made its arguments a bit more sane.
* Fixed two GCC 4 warnings.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19139 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff 4e338ac6 Thu Aug 17 00:12:48 MDT 2006 Stefano Ceccherini <stefano.ceccherini@gmail.com> Started implementing menu keyboard navigation. Does only work for menubars because menu windows never get keyboard focus. Any idea how to solve this, since menu windows are B_AVOID_FOCUS both in beos and haiku?

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18517 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff 4ef10a59 Tue Jun 07 07:58:51 MDT 2005 Stefano Ceccherini <stefano.ceccherini@gmail.com> Accidentally commented out RestoreFocus().

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12987 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff 4e876d12 Mon Jan 03 06:33:03 MST 2005 Stefano Ceccherini <stefano.ceccherini@gmail.com> implemented B_ITEMS_IN_MATRIX layout correctly. Small cleanups all around.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10571 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff 4e876d12 Mon Jan 03 06:33:03 MST 2005 Stefano Ceccherini <stefano.ceccherini@gmail.com> implemented B_ITEMS_IN_MATRIX layout correctly. Small cleanups all around.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10571 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff fe23fb6699f41536bf1990fcdca05c8a72930383 Sun Oct 29 04:22:14 MST 2006 Axel Dörfler <axeld@pinc-software.de> * Renamed private BMenu::SelectItem() to _SelectItem(), and made its arguments a bit more sane.
* Fixed two GCC 4 warnings.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19139 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff 4e338ac6df8ea2b43e459e6ce82efd099ac01cec Thu Aug 17 00:12:48 MDT 2006 Stefano Ceccherini <stefano.ceccherini@gmail.com> Started implementing menu keyboard navigation. Does only work for menubars because menu windows never get keyboard focus. Any idea how to solve this, since menu windows are B_AVOID_FOCUS both in beos and haiku?

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18517 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff 4ef10a59e410b9c29b8bb50f0382dbba3ae562da Tue Jun 07 07:58:51 MDT 2005 Stefano Ceccherini <stefano.ceccherini@gmail.com> Accidentally commented out RestoreFocus().

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12987 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff 4e876d126e7ab87ec51562b1e7f75358448ad5f6 Mon Jan 03 06:33:03 MST 2005 Stefano Ceccherini <stefano.ceccherini@gmail.com> implemented B_ITEMS_IN_MATRIX layout correctly. Small cleanups all around.


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

Completed in 238 milliseconds