I’ve got the mockup here, most of the bugs have been hashed out… Glass Elevator!
https://www.haiku-os.org/community/forum/new_r2_deskbar_mockup
This will be a complete rewrite of the deskbar code. so I’m going to name it Deskbar 6.0 (GlassElevator Development Prototyple 1)
Now for the code:
I have listed the files that are in the deskbar tree below… it’s not the same as the sourceforge repository as I originally thought
Great!–> by jscipione - 2013-01-17 22:39
"When I first started looking at the Deskbar code I was daunted by the many files and the lack of documentation and it took me a while to get my head around it. The main app is in BarApp.cpp. Deskbar consists of a single main window in BarWindow.cpp which hosts the main view BarView.cpp. Many of the remaining cpp files are child views of BarView.cpp and it’s descendants. BarMenuBar.cpp contains the leaf menu, StatusView.cpp is the replicant tray, TimeView.cpp is the clock, ExpandoMenuBar.cpp is the application menu which contains the apps in TeamMenu.cpp and the individual application menu items in TeamMenuItem.cpp as well as the application windows in WindowMenu.cpp and WindowMenuItem.cpp."
The following files in the code: I’ll update what they do when I have time to update them… not much documentation in there, so I’m going to curl up around my BeDG
BarApp.cpp as far as I’m concerned this is where main() is for starting up
BarApp.h
BarMenuBar.cpp
BarMenuBar.h
BarMenuTitle.cpp
BarMenuTitle.h
BarView.cpp
BarView.h
BarWindow.cpp
BarWindow.h
CalendarMenuItem.cpp submenu under the clock
CalendarMenuItem.h
Deskbar.rdef
DeskbarMenu.cpp
DeskbarMenu.h
DeskbarUtils.cpp
DeskbarUtils.h
ExpandoMenuBar.cpp
ExpandoMenuBar.h
icons.h
icons.rdef
InlineScrollView.cpp
InlineScrollView.h
Jamfile
LICENSE
LocalizedFolders.h
PreferencesWindow.cpp
PreferencesWindow.h
ResourceSet.cpp
ResourceSet.h
ShowHideMenuItem.cpp
ShowHideMenuItem.h
StatusView.cpp
StatusView.h
StatusViewShelf.cpp
StatusViewShelf.h
Switcher.cpp
Switcher.h
TeamMenu.cpp
TeamMenu.h
TeamMenuItem.cpp
TeamMenuItem.h
TimeView.cpp
TimeView.h
WindowMenu.cpp
WindowMenu.h
WindowMenuItem.cpp
WindowMenuItem.h