The Haiku operating system
Go to file
John Scipione 1bb2e6239d Deskbar: variable width Deskbar in vertical mode
Feature to make Deskbar width variable via a dragger.

Resize Deskbar by clicking and dragging the mouse on the
horizontal side of Deskbar opposite the screen's edge.
(left side for default top right).

The resize dragger is hidden in horizontal mode.

Details below:
* ExpandoMenuBar is resized with rest of window.
* Rename where to whereScreen to make it clear that the variable
  is in screen coordinates.
* Lock focus on window while resizing
* Resize via TResizeControl class which is based on TDragRegion
* Set default width to minimum so everything stays the same.
  - don't set the width setting to 0 on quit, use the new setting.
* Set max tray width based on setting
* Make clock area a bit wider preventing replicant icons from
  overrunning the clock area.
* Leave more room left of clock makes replicants wrap earlier,
  leaving icon gap width between replicants and clock. Before it
  would butt flush against the clock before moving down a row.
* Remove FrameMoved from TDragRegion, we are already doing this
  in BarView -- no reason to do it twice.
* Need to redraw the drag region after moving or it will be half
  drawn.
* Hide resize control in horizontal mode
* Add room for resize dragger when placing replicants
* Update width setting unless window is hidden
  - This prevents Deskbar from being set to minimum width after it
    is hidden.

Also, constrain width setting within limits but not width of the
BarView which we want to track the window width. In practice they
should be the same but it is possible for them to get out of sync
and that's okay. Obvious example of the setting and actual width
of the window being out of sync is in the hidden case.

unify dragger width and kDragWidth vars

Make drag regions pixel perfect:
* Vertical mode status tray reduced in height by 1px to match height
  in horizontal mode exactly.
* move icons over by 2px in horizontal mode so that there is a bit more space
  on the left and so that it matches pixel perfect with vertical mode.
  - to see this quickly switch between bottom right vertical at the minimum width
    and horizontal mode then notice how the icons don't move

Draw drag background then menu color when not active to get rid of drawing
glitches in horizontal mode on the top pixel.

Add some more room between last icon and clock in horizontal mode.
2017-09-10 18:33:30 -07:00
3rdparty docker: tools for creating a container with Haiku cross-compilers. 2017-09-11 07:06:52 +12:00
build build_cross_tools_gcc4: bring in sync with native compiler. 2017-09-05 21:41:39 +00:00
data Update translations from Pootle 2017-09-09 06:56:15 +02:00
docs docs/user: Update locale kit description. 2017-09-06 07:47:47 +02:00
headers compatibility/bsd: add endian.h for BSD extensions. 2017-09-11 07:06:52 +12:00
src Deskbar: variable width Deskbar in vertical mode 2017-09-10 18:33:30 -07:00
.gitignore .gitignore: Ignore .DS_Store (Mac OS X directory attribute files). 2016-06-18 18:25:40 -04:00
configure Reinstate umask test into configure now that the buildbots have been fixed. 2017-07-31 17:33:51 -04:00
Jamfile Include mesa_swrast on x86_gcc2, mesa_swpipe otherwise. 2017-08-02 19:29:54 +02:00
Jamrules build: delete DocumentationRules. 2015-06-22 13:20:07 -04:00
License.md LICENSE: Rename to License.md, and remove all licenses but the MIT. 2016-07-29 17:36:17 -04:00
ReadMe.Compiling.md ReadMe.Compiling: We can work with genisoimage now. 2017-07-31 17:49:59 -04:00
ReadMe.md Partially revert "ReadMe & docs: The Haiku Book has moved to www.haiku-os.org/docs/api." 2017-02-01 15:23:54 -05:00

Haiku

Homepage | Mailing Lists | IRC Channels | Issue Tracker | API docs

Haiku is an open-source operating system that specifically targets personal computing. Inspired by the BeOS, Haiku is fast, simple to use, easy to learn and yet very powerful.

Goals

  • Sensible defaults with minimal configuration required.
  • Clean, clear, concise code.
  • Unified desktop environment.

Trying Haiku

Haiku provides pre-built nightly images and release images. Haiku is compatible with a large variety of hardware, but in case you don't want to "take the plunge" and install Haiku on bare metal, you can install it on a virtual machine (VM) instead. If you've never used a VM before, you can follow one of the "Emulating Haiku" guides.

Compiling Haiku

See ReadMe.Compiling.

Contributing

Haiku is a meritocratic open source project with a large variety of tasks. Even if you can't write code, you can still help! Haiku needs designers, (technical) writers, translators, testers... Get involved and help out!

Contributing code

If you're submitting a patch to us, please make sure you're following the patch submitting guidelines.

If you're having trouble finding something in the source tree, you can use one of our OpenGrok servers:

Contributing documentation

The main piece of documentation that still needs work are the API docs (found in the tree at docs/user). Just find an undocumented class, write documentation for it, and submit a patch.

Contributing translations

See wiki:i18n.

Contributing software ports

See HaikuPorts.