aboutsummaryrefslogtreecommitdiffstats
path: root/Tabbed.hs (unfollow)
Commit message (Collapse)AuthorFilesLines
2007-07-24use a little more contrast in default tabs.David Roundy1-3/+3
darcs-hash:20070724143723-72aca-219bbf72dae0292eaef8fdc7830f11563fba8aee.gz
2007-07-17Tabbed.hs: corrected error in Usage reported by Xavier MaillardAndrea Rossato1-1/+1
darcs-hash:20070717050034-32816-069be547ec3bd7c4bc42daa4b613fa7ec9c22254.gz
2007-07-07Tabbed: updated usage informationAndrea Rossato1-2/+2
darcs-hash:20070707065123-32816-d157a19ba12b12f0833c2db3ac09236c5b4d3f75.gz
2007-07-06Tabbed: added more configuration optionsAndrea Rossato1-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
2007-06-29resolve conflicts in Decoration and Tabbed.David Roundy1-20/+49
Note that you no longer need simpleStacking when using tabbed. darcs-hash:20070629204518-72aca-9d2b708c6eb60b3d6c1370fc41349b2a3c86819d.gz
2007-06-23make everything work with new doLayout.David Roundy1-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
2007-06-27Tabbed: Make use of the Stack to get focused windowJason Creighton1-4/+3
darcs-hash:20070627033910-b9aa7-0c9dd49af1c853ac608f8b7b368febe687d7343d.gz
2007-06-25Tabbed.hs: updated usage informationAndrea Rossato1-0/+10
darcs-hash:20070625140735-32816-0bb95586b8579186cdde4d444f2344223182aded.gz
2007-06-25added configration options and moved font stuff to Decorations.hsAndrea Rossato1-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
2007-06-21add SimpleStacking module to make Combo and Tabbed work together.David Roundy1-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
2007-06-20Fix type signatures.joachim.fasting1-1/+1
Think this fixes the rest of the errors caused by the Layout change. darcs-hash:20070619220323-ea16c-3274cd24d01bc932089ab88191ccda316ea93b01.gz
2007-06-17shrink window names to fit tabs.David Roundy1-9/+25
darcs-hash:20070617152340-72aca-31e28c0deb224de9951b3778ccd4e9d7232b9917.gz
2007-06-17Tabbed.hs: fixed centerText issues and some binding shadowing warningsAndrea Rossato1-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
2007-06-14Tabbed.hs: Get correct color values instead of assuming a 24-bit displayJason Creighton1-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
2007-06-13Update license informationSpencer Janssen1-1/+1
darcs-hash:20070613152829-a5988-c3243be0138fb07dede241c148bcfb1a0cd5a54c.gz
2007-06-13template for module information e documentationAndrea Rossato1-10/+28
darcs-hash:20070613131029-32816-c60792d6cdcabc37ca1bc5ffa9d61c6babf84cc0.gz
2007-06-12changes to work with Stacks that can't be empty.David Roundy1-3/+2
darcs-hash:20070612151209-72aca-62307f8565fc32ca80be8daf2c30fe414d49111e.gz
2007-06-12the Stack can be EmptyAndrea Rossato1-0/+1
darcs-hash:20070612055144-32816-ce6e65fc1ce44c16163c4414e5594f6475e07ae8.gz
2007-06-11Updates to work with recent API changesSpencer Janssen1-5/+6
darcs-hash:20070611183439-a5988-c3d6cc194fa83f012ab49d6d79130ff459dcdfe1.gz
2007-06-11redraw decorations on PropertyNotifyJason Creighton1-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
2007-06-11use safe peek instead of unsafe focusJason Creighton1-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
2007-06-11make Tabbed respect the y position of the layout rect (statusbar bugfix)Jason Creighton1-6/+6
darcs-hash:20070610231510-b9aa7-c3b9ee2c2ead8d21e2fe36343575706424617171.gz
2007-06-10tune layout of Tabbed just a bit.David Roundy1-2/+2
darcs-hash:20070610203513-72aca-aed9945d5a3935ce447a298f4b6c2abba53817c0.gz
2007-06-10color focussed tab differently.David Roundy1-2/+9
darcs-hash:20070610195743-72aca-fcc3b7023c3379b10d68050a4a68d753f7a0aab5.gz
2007-06-10display names of windows on tabs.David Roundy1-2/+18
darcs-hash:20070610163729-72aca-1f53da6ef8f2d4254544bfa679121aac564b3ea9.gz
2007-06-10add sketch of tabbed layout.David Roundy1-0/+41
darcs-hash:20070610153926-72aca-9c08c36025522b50a3f2df1eed8f09c3bbb30495.gz