#
fb885767 |
| 05-May-2023 |
John Scipione <jscipione@gmail.com> |
Deskbar: Use hvif window icons & scale with font
Add vector rdefs for shown, hidden, shown switch and hidden switch icons. Remove unused bitmap resources. Add window switch vector icons to artwork.
Deskbar: Use hvif window icons & scale with font
Add vector rdefs for shown, hidden, shown switch and hidden switch icons. Remove unused bitmap resources. Add window switch vector icons to artwork.
Create window icon cache in TBarApp and cache the window icons based on font size. Fixes memory leak in #18357.
Don't draw off-workspace lines in Switcher, use switch icon for that instead. Fixes crash reported in #18359. Position icon and window name better in Switcher.
Put BarTeamInfo icon parameter last and make it optional, the icon gets set by caching.
Enable team icon cache and window icon cache.
Fixes #14694
Deskbar: Scale Twitcher icons based on font size
Remove the point ctor parameter and deprecate the switcherLoc setting by not using or setting it and leaving it at its default value.
Center window on screen resolution change and workspace change (as resolution may not match).
Fixes #17924
Change-Id: Ib63cc307f14cda397ffb66ea74091be59e6e5535 Reviewed-on: https://review.haiku-os.org/c/haiku/+/6335 Reviewed-by: John Scipione <jscipione@gmail.com> Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org> Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
show more ...
|
#
9da3977c |
| 05-May-2023 |
John Scipione <jscipione@gmail.com> |
Deskbar: Rename IconSize() to TeamIconSize()
Change-Id: Id536bacd60334cd167051a785e7fff819359aacf Reviewed-on: https://review.haiku-os.org/c/haiku/+/6412 Tested-by: Commit checker robot <no-reply+bu
Deskbar: Rename IconSize() to TeamIconSize()
Change-Id: Id536bacd60334cd167051a785e7fff819359aacf Reviewed-on: https://review.haiku-os.org/c/haiku/+/6412 Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org> Reviewed-by: John Scipione <jscipione@gmail.com> Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
show more ...
|
#
69bbd7ad |
| 05-May-2023 |
John Scipione <jscipione@gmail.com> |
Deskbar: style fixes only
Change-Id: Ia5a94ded518a9b55aac94a69bcd393338bf90ebc Reviewed-on: https://review.haiku-os.org/c/haiku/+/6411 Reviewed-by: John Scipione <jscipione@gmail.com> Tested-by: Com
Deskbar: style fixes only
Change-Id: Ia5a94ded518a9b55aac94a69bcd393338bf90ebc Reviewed-on: https://review.haiku-os.org/c/haiku/+/6411 Reviewed-by: John Scipione <jscipione@gmail.com> Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org> Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
show more ...
|
#
97f11716 |
| 04-Sep-2022 |
Niels Sascha Reedijk <niels.reedijk@gmail.com> |
Merge remote-tracking branch 'origin/master' into dev/netservices
Change-Id: I588c4a840523995f820161d63741c137bc5c719c
|
#
1e0308a8 |
| 25-Aug-2022 |
Augustin Cavalier <waddlesplash@gmail.com> |
Deskbar: Use BControlLook::ComposeIconSize() and other metrics routines.
This gets Deskbar looking somewhat more like its usual self in HiDPI environments. There are still some hardcoded sizes which
Deskbar: Use BControlLook::ComposeIconSize() and other metrics routines.
This gets Deskbar looking somewhat more like its usual self in HiDPI environments. There are still some hardcoded sizes which need to be refactored, however.
show more ...
|
#
5fd3bc6d |
| 03-Nov-2018 |
Axel Dörfler <axeld@pinc-software.de> |
BDeskbar: Moved constants to shared header
* Instead of duplicating them in different files.
|
#
fc23c097 |
| 27-Nov-2017 |
John Scipione <jscipione@gmail.com> |
BDeskbar & Deskbar: export window bool settings to BDeskbar
Add methods to get and set "Always on top", "Auto raise", and "auto hide" which are all booleans which control aspects of the Deskbar wind
BDeskbar & Deskbar: export window bool settings to BDeskbar
Add methods to get and set "Always on top", "Auto raise", and "auto hide" which are all booleans which control aspects of the Deskbar window to BDeskbar.
Set the bool to the default value initially. Check if sending the message succeeds, if so check the reply which also fills out the bool. Don't check to see if reply succeeded because the bool will only be overwritten if it did.
Follow the BDeskbar convention Is...() for getter, Set...() for setter e.g IsAlwaysOnTop() is the getter, SetAlwaysOnTop() is the setter.
Define new message constants to call the newly created methods. Follow BDeskbar convention: 'gtla' is used for getter, 'stla' for setter. g/s for getter/setter, tla is an all-lowercase code unique to each getter/setter pair.
Copy/paste these message constants into BarApp.h unchanged. Replace four letter codes with imported message constants in BarApp.cpp and BarWindow.cpp. Much nicer than using bare codes.
The new BDeskbar methods are all handled by TBarApp. The getters send back a reply message containing the bool while the setters fall through to existing setter cases.
show more ...
|
#
c0dc265c |
| 19-Oct-2017 |
John Scipione <jscipione@gmail.com> |
Deskbar & PowerStatus: Realign Replicants
Added a new message constant to Deskbar kRealignReplicants which is called to realign replicant icons. Add routing so that if you knock on Deskbar's front d
Deskbar & PowerStatus: Realign Replicants
Added a new message constant to Deskbar kRealignReplicants which is called to realign replicant icons. Add routing so that if you knock on Deskbar's front door (Application) it will get routed to the right view, in this case the repliant tray that knows how to realign replicants.
Send a message with this newly created constant in PowerStatus when the width changes because you turned the label on or off. This makes it so that when you show or hide the battery percentage it will not overrun the clock.
Realign Replicants is a common case.
Fixes the rest of #8641
show more ...
|
#
c2507fb8 |
| 23-Aug-2016 |
John Scipione <jscipione@gmail.com> |
Deskbar: get default collator from BLocale
...using BLocale::Default()->GetCollator(&collator)
Thanks waddlesplash
|
#
bd6dcb36 |
| 22-Aug-2016 |
0xffea <0xffea@gmail.com> |
Deskbar: item sorting is not locale-sensitive
Fix using a global BCollator defined in BarApp.
Called static CompareByName() method in TTeamMenu instead of duplicating code, made method public.
Thi
Deskbar: item sorting is not locale-sensitive
Fix using a global BCollator defined in BarApp.
Called static CompareByName() method in TTeamMenu instead of duplicating code, made method public.
This comes from a patch by 0xffea for GSoC 2014.
A locale aware version of NaturalCompare in WindowMenuItem.cpp is still needed.
Fixes #7712
Signed-off-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
|
#
4f39c588 |
| 12-Jan-2016 |
Augustin Cavalier <waddlesplash@gmail.com> |
Deskbar: Get rid of the "Restart Tracker" menu item.
Now that launch_daemon automatically restarts Tracker and Deskbar when they crash, this is not needed anymore.
|
#
4e8fc451 |
| 19-Oct-2015 |
Axel Dörfler <axeld@pinc-software.de> |
Deskbar: converted to BServer.
|
#
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 ...
|
#
eecde8e3 |
| 20-Apr-2013 |
François Revol <revol@free.fr> |
Merge branch 'master' into sam460ex
|
#
c6b72ad6 |
| 07-Apr-2013 |
John Scipione <jscipione@gmail.com> |
Tiny style fix, thanks Axel
|
#
542de916 |
| 07-Apr-2013 |
John Scipione <jscipione@gmail.com> |
Add and use an _Init() method for BarTeamInfo
|
#
048f0795 |
| 02-Apr-2013 |
François Revol <revol@free.fr> |
Merge branch 'master' into sam460ex
|
#
e13f5676 |
| 28-Mar-2013 |
John Scipione <jscipione@gmail.com> |
Cache app icons in BarInfo to make them load faster.
This turns an IO bound problem into a CPU bound problem. In my testing this speeds up icon resizing dramatically although the CPU is quickly pegg
Cache app icons in BarInfo to make them load faster.
This turns an IO bound problem into a CPU bound problem. In my testing this speeds up icon resizing dramatically although the CPU is quickly pegged at 100% trying to redraw the Deskbar if you whip the icon size slider back and forth with a dozen or so apps open and soon the CPU can't keep up and Deskbar lags behind.
show more ...
|
#
d4eea7d4 |
| 28-Mar-2013 |
François Revol <revol@free.fr> |
Merge branch 'master' into sam460ex
|
#
43917ef2 |
| 09-Mar-2013 |
John Scipione <jscipione@gmail.com> |
Refactor settings so that defaults get set in 1 place.
* Move desk_settings and clock_settings struct to a new header entitled 'BarSettings.h' so it can be included in BarApp.h and PreferencesWind
Refactor settings so that defaults get set in 1 place.
* Move desk_settings and clock_settings struct to a new header entitled 'BarSettings.h' so it can be included in BarApp.h and PreferencesWindow.h. * Refactor desk_settings to only include used, or at least relevant settings, some cruft had built up over time. * Refactor the InitSettings() method, all the B_OK checking wasn't working so I removed it. Defaults get set up to and if the corresponding setting is found in the settings file it is replaced, else, it is not. * Reorder the struct and code so it goes in the order that the settings appear: applications, then recent items, then window settings. * Simplify the preferences window revert and defaults code based on using the prebuild desk_settings structs in BarApp instead of creating our own and copying. All initial setup is in the constructor.
show more ...
|
#
cb422386 |
| 09-Mar-2013 |
John Scipione <jscipione@gmail.com> |
Destroy prefs window on close once again
|
#
cb0602cf |
| 07-Mar-2013 |
John Scipione <jscipione@gmail.com> |
Implement Revert and Default buttons in Deskbar prefs
|
#
cb77e62c |
| 16-Feb-2013 |
François Revol <revol@free.fr> |
Merge branch 'master' into sam460ex
|
#
3722e640 |
| 13-Feb-2013 |
John Scipione <jscipione@gmail.com> |
Store and read show/hide clock setting on disk.
So that the setting will persist across reboots. This is a Deskbar setting, not a "clock" setting. Theoretically someday if we make it so you can repl
Store and read show/hide clock setting on disk.
So that the setting will persist across reboots. This is a Deskbar setting, not a "clock" setting. Theoretically someday if we make it so you can replace the clock with a different clock widget we still want to store whether or not to show the clock widget as a Deskbar setting. Fixes #9456
show more ...
|