hamaxx/unity-2d-for-xmonad — Issue #10: Mak Unity2dPanel abstract
Author: mappleconfusers
Created: 2012-02-21 02:03:32+00:00
State: open

Currently the Unity2dPanel class is designed for two cases:
- The Launcher on the left
- The panel on top
The Launcher assumes that it is on the same monitor as the panel (inset staticly defined).

--

This imposes some problems:
- It covers just two cases
- Multiple monitors are hard
This change is mostly an attempt to create a basis for #4.

--

Change to an abstract API with the following capabilities:
- Can be on any side
- Can be on any screen
- Add signal when the screen disappears
- Thickness is the same parameter for all sides
- Add a dodge parameter for every side
- Make the fallback redraw time dynamic
- Make the fade-time pixels/second