Commit graph

115 commits

Author SHA1 Message Date
Gediminas Liktaras
b1d70e2c92 bugfix: return 'height' if container is rotated vertically, closes #3195728
iconbar.iconWidth property was ignored due this bug.
2011-04-03 13:20:35 +02:00
Mathias Gumz
e850b01919 compile fix: sunCC 5.11 (sunstudio 12) compiles and links again
biggest change: renaming of 'class Layer' to 'class ResourceLayer' in
Layer.hh to handle complaints about 'ambiguous Layer: Layer or FbTk::Layer'.
'ResourceLayer' sounds crappy, but that was the best I could come
up with right now.
2011-03-23 12:02:15 +01:00
Mathias Gumz
f0ffaf890f moved Menu placement into ScreenPlacement::placeAndShowMenu() 2011-02-24 11:21:16 +01:00
Mathias Gumz
d11aa42ace bugfix: consistent use of 'int' for alpha values (#3187373)
WindowMenuAccessor returned strange alpha values if compiled
with 'g++ -Os'; unholy black magic happens if template<int> faces
functions returning only 'usigned char'.
2011-02-22 22:07:39 +01:00
Mathias Gumz
f3ad09c4ce missing initializations
'valgrind' reported a lot of code branches based upon uninitialized
variables. some are not identified yet.
2010-09-17 23:34:03 +02:00
Mathias Gumz
12e1ef7826 code deduplication by using <algorithm> and FbTk/STLUtil.hh 2010-09-15 02:07:09 +02:00
Mathias Gumz
77f39235cf added FbTk::Util::clamp() and simplified related code 2010-09-09 15:31:54 +02:00
Mathias Gumz
690d926ac4 introduced FbTk::BidiString
a 'BidiString' holds both the logical content and the visual reordered
version of the content of a string. this helps to reduce the number of
calls to reorder the string before drawing it (as introduced in the patch
from Ken Bloom) and to be more consistent in menus and textboxes (drawing
cursors and underlining text).
2010-09-08 20:17:21 +02:00
Henrik Kinnunen
ce0b41c847 Changed #ifdef DEBUG ... cerr << to using fbdbg.
This will reduce the number of #ifdef DEBUG for
simple debug messages.
include "Debug.hh" and use fbdbg instead of cerr for debug.
2010-03-17 16:35:07 +01:00
Mathias Gumz
884db973bb cosmetic fixes: removed redundant ';' + some whitespaces 2009-09-30 21:02:24 +02:00
Mark Tiefenbruck
4e586cc172 previous fix for reverting iconbar to relative broke external tabs 2009-06-28 08:22:51 -07:00
Mark Tiefenbruck
3b9611b61d increase default size of toolbar and icon buttons 2008-10-18 21:40:32 -07:00
Mark Tiefenbruck
37a602899d fix reading iconbar border from theme 2008-08-23 12:46:36 -07:00
Mark Tiefenbruck
2ab539073b fix some defaults 2008-08-18 02:06:46 -07:00
Mark Tiefenbruck
7970388238 add selection box to various "choose one of these" menu items 2008-08-03 21:59:14 -07:00
Henrik Kinnunen
5ecebae477 Fixed startup bug for window menu in iconbar.
The window menu in the iconbutton was not updated properly
the first time it was used ( before right clicking in the real
window titlebar).
2008-05-13 17:06:26 +02:00
Mark Tiefenbruck
611b6aa57e more fun with the window menu 2008-02-11 10:17:45 -08:00
Mark Tiefenbruck
9f2f65a698 make FbTk::Command a template class, split parsing information out of ObjectRegistry 2008-01-10 23:41:22 -08:00
Mark Tiefenbruck
dbfddf8e0b added new ThemeProxy for automatically handling focused vs. unfocused ThemeItems 2008-01-07 02:26:32 -08:00
Mark Tiefenbruck
ac1bd7e098 update code to use ThemeProxy 2008-01-04 17:39:19 -08:00
Mark Tiefenbruck
9c105111d2 remove old svn $Id$ tags 2008-01-03 17:34:12 -08:00
Mathias Gumz
04cd2fd14c removed some unneeded headers 2007-12-30 16:32:53 +01:00
Mark Tiefenbruck
0ec165e85b move STLUtil to FbTk 2007-12-27 22:22:38 -08:00
Mark Tiefenbruck
e8a2f155e8 moved Container to FbTk 2007-12-27 21:47:55 -08:00
Mark Tiefenbruck
b5c354b994 architecture astronomy 2007-12-27 13:55:24 -08:00
Mark Tiefenbruck
c01bd6e9fd holding control will now keep the menu open 2007-12-17 21:44:17 -08:00
Mark Tiefenbruck
8516f1e2a2 changed CommandRegistry to a template class, renamed to ObjectRegistry<Type> 2007-12-15 19:36:01 -08:00
markt
8b7464046c added FbTk::CommandRegistry, decentralized command parsing, and made them auto-register 2007-12-13 05:48:00 +00:00
markt
474e201745 only allow one open menu at a time 2007-12-11 19:29:00 +00:00
markt
d29a3ec590 make sure subj != 0 in IconbarTool::update() 2007-12-02 03:11:28 +00:00
markt
5d7043320d allow arbitrary window patterns in iconbar 2007-11-12 21:59:43 +00:00
markt
a59428d67a merged changes from pre-devel 2007-10-13 21:51:37 +00:00
markt
329fca30fd updates for compiling with gcc 4.3 2007-06-29 17:25:24 +00:00
markt
f1d325460e make sure iconbar text padding gets reapplied on reconfigure 2007-03-10 18:12:23 +00:00
markt
7bac08ef52 another little bug with iconbar rendering 2007-01-07 18:45:30 +00:00
markt
186ebd5870 little cleanup 2007-01-07 18:39:12 +00:00
markt
a53dabd36a fix little bug with iconbar rendering 2007-01-07 18:38:03 +00:00
mathias
e5e76e7761 Cosmetic patch from Slava Semushin 2006-10-30 19:31:15 +00:00
fluxgen
a3b30e1c63 some cleaning, using CachedPixmap 2006-10-16 18:49:33 +00:00
markt
00d862724a rename session.screen*.iconbar.deiconifyMode to session.screen0.userFollowModel 2006-08-02 22:02:31 +00:00
markt
e66c3dd866 list windows in iconbar in creation order 2006-07-30 20:37:12 +00:00
markt
698539d9b9 more dead functions 2006-07-01 02:56:46 +00:00
markt
a23ad67197 Make Urgency Hint flash the correct WinClient's tab. 2006-06-24 18:19:49 +00:00
simonb
3ada3b1f0d fix nls... notably classify text on conversion whether its for X or
console, plus handle catalogs better.
2006-06-21 14:41:16 +00:00
simonb
0861f3a907 improve native language handling, move messages and menu labels to
FbTk::FbString
2006-05-20 15:08:14 +00:00
fluxgen
4d48f7576b added one more render option for renderButton, force render of focused. Listening to attention signal from Window. 2006-05-13 16:22:30 +00:00
simonb
b9af026688 iconbutton handling fixes 2006-04-17 23:34:01 +00:00
simonb
9ff23f01ca fix some rotation issues 2006-04-17 13:35:20 +00:00
simonb
553104ee1d fix all compiler warnings with -Wall 2006-04-16 11:18:22 +00:00
simonb
7c79084433 implement vertical toolbar placement options 2006-04-15 16:41:11 +00:00