aboutsummaryrefslogtreecommitdiffstats
path: root/Tabbed.hs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* use a little more contrast in default tabs.David Roundy2007-07-241-3/+3
| | | | darcs-hash:20070724143723-72aca-219bbf72dae0292eaef8fdc7830f11563fba8aee.gz
* Tabbed.hs: corrected error in Usage reported by Xavier MaillardAndrea Rossato2007-07-171-1/+1
| | | | darcs-hash:20070717050034-32816-069be547ec3bd7c4bc42daa4b613fa7ec9c22254.gz
* Tabbed: updated usage informationAndrea Rossato2007-07-071-2/+2
| | | | darcs-hash:20070707065123-32816-d157a19ba12b12f0833c2db3ac09236c5b4d3f75.gz
* Tabbed: added more configuration optionsAndrea Rossato2007-07-061-19/+26
| | | | | | | | It is now possible to configure active and inactive border colors, and active and inactive text colors (i.e. tabs are now very similar to Ion3 tabs: former Ion users may appreciate). darcs-hash:20070706130845-32816-5fb790432b5e013ff546304448ae025c0ebf88b8.gz
* resolve conflicts in Decoration and Tabbed.David Roundy2007-06-291-20/+49
| | | | | | Note that you no longer need simpleStacking when using tabbed. darcs-hash:20070629204518-72aca-9d2b708c6eb60b3d6c1370fc41349b2a3c86819d.gz
* make everything work with new doLayout.David Roundy2007-06-231-33/+16
| | | | | | | | | This modifies all the contrib modules to work (so far as I know) with the new contrib layout. The exception is the LayoutHooks module, which isn't used. It exports an API that is inherently unsafe, so far as I can tell (and always has been). darcs-hash:20070623210952-72aca-1993ca13dc6996b59fedacc271c03fbaf87eabaa.gz
* Tabbed: Make use of the Stack to get focused windowJason Creighton2007-06-271-4/+3
| | | | darcs-hash:20070627033910-b9aa7-0c9dd49af1c853ac608f8b7b368febe687d7343d.gz
* Tabbed.hs: updated usage informationAndrea Rossato2007-06-251-0/+10
| | | | darcs-hash:20070625140735-32816-0bb95586b8579186cdde4d444f2344223182aded.gz
* added configration options and moved font stuff to Decorations.hsAndrea Rossato2007-06-251-30/+45
| | | | | | | | Added a new data type to keep configuration options. tabbed now takes the shrinker and the configuration type. Fixed a bug related to vertical alignment of text. darcs-hash:20070625140112-32816-bb7d5ca75803b255d450aed01b3bc91d6c834611.gz
* add SimpleStacking module to make Combo and Tabbed work together.David Roundy2007-06-211-4/+4
| | | | | | | | | | | WARNING! This change will break existing Tabbed configurations. The problem is that there is no way within a Layout's "doLayout" to safely modify the layout itself. This makes LayoutHooks fragile, and more to the point, makes SimpleStacking fragile, so we can't safely define a tabbed' darcs-hash:20070621151524-72aca-2466fff5a37ce1388879367c419cf52161f8f838.gz
* Fix type signatures.joachim.fasting2007-06-201-1/+1
| | | | | | Think this fixes the rest of the errors caused by the Layout change. darcs-hash:20070619220323-ea16c-3274cd24d01bc932089ab88191ccda316ea93b01.gz
* shrink window names to fit tabs.David Roundy2007-06-171-9/+25
| | | | darcs-hash:20070617152340-72aca-31e28c0deb224de9951b3778ccd4e9d7232b9917.gz
* Tabbed.hs: fixed centerText issues and some binding shadowing warningsAndrea Rossato2007-06-171-17/+15
| | | | | | | | | | | | | This patch fixes the centerText issue due to the inappropriate use of textExtends and textWidth. Those functions need a FontStruct id to operate, and this cannot be retrieved with queryFont (see comments in Graphics.X11.Xlib.Font). So we now get the FontStruct with loadQueryFont, we set the default Xorg fonts and we calculate things for (vertical and horizontal) centering. It also removes some binding shadows compiler warnings darcs-hash:20070617104219-32816-1dec65118dfaca35b41f9eb2ebcaa5b02e77e0c0.gz
* Tabbed.hs: Get correct color values instead of assuming a 24-bit displayJason Creighton2007-06-141-6/+10
| | | | | | | | | | Using, eg, 0xBBBBBB directly makes assumptions about the server's colormap and only works on 24-bit displays. This patch fetches the colors on every doLayout call, which is ugly, but works. It would be nice if we could do all the required initColors only once. darcs-hash:20070613235049-b9aa7-8505038bc46ba47d39ffe106df67eb060cd3d3ae.gz
* Update license informationSpencer Janssen2007-06-131-1/+1
| | | | darcs-hash:20070613152829-a5988-c3243be0138fb07dede241c148bcfb1a0cd5a54c.gz
* template for module information e documentationAndrea Rossato2007-06-131-10/+28
| | | | darcs-hash:20070613131029-32816-c60792d6cdcabc37ca1bc5ffa9d61c6babf84cc0.gz
* changes to work with Stacks that can't be empty.David Roundy2007-06-121-3/+2
| | | | darcs-hash:20070612151209-72aca-62307f8565fc32ca80be8daf2c30fe414d49111e.gz
* the Stack can be EmptyAndrea Rossato2007-06-121-0/+1
| | | | darcs-hash:20070612055144-32816-ce6e65fc1ce44c16163c4414e5594f6475e07ae8.gz
* Updates to work with recent API changesSpencer Janssen2007-06-111-5/+6
| | | | darcs-hash:20070611183439-a5988-c3d6cc194fa83f012ab49d6d79130ff459dcdfe1.gz
* redraw decorations on PropertyNotifyJason Creighton2007-06-111-1/+1
| | | | | | | | newDecoration now takes a Window parameter, which is the window the decoration is "for". If there is a PropertyNotify for that window, the decoration is redrawn. darcs-hash:20070611021408-b9aa7-b01860371ef9e47a06ab4541aee09422c8f19865.gz
* use safe peek instead of unsafe focusJason Creighton2007-06-111-3/+2
| | | | | | | Fixes crashing bug with Xinerama where you have a tabbed layout on one screen and attempt to switch to an empty workspace on the other. darcs-hash:20070611015437-b9aa7-19e093acecdf9c248a965625b226b82b1422ffd0.gz
* make Tabbed respect the y position of the layout rect (statusbar bugfix)Jason Creighton2007-06-111-6/+6
| | | | darcs-hash:20070610231510-b9aa7-c3b9ee2c2ead8d21e2fe36343575706424617171.gz
* tune layout of Tabbed just a bit.David Roundy2007-06-101-2/+2
| | | | darcs-hash:20070610203513-72aca-aed9945d5a3935ce447a298f4b6c2abba53817c0.gz
* color focussed tab differently.David Roundy2007-06-101-2/+9
| | | | darcs-hash:20070610195743-72aca-fcc3b7023c3379b10d68050a4a68d753f7a0aab5.gz
* display names of windows on tabs.David Roundy2007-06-101-2/+18
| | | | darcs-hash:20070610163729-72aca-1f53da6ef8f2d4254544bfa679121aac564b3ea9.gz
* add sketch of tabbed layout.David Roundy2007-06-101-0/+41
darcs-hash:20070610153926-72aca-9c08c36025522b50a3f2df1eed8f09c3bbb30495.gz