Commit graph

193 commits

Author SHA1 Message Date
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
Mathias Gumz
fbcdd34b22 mostly cosmetic fixes, mainly discovered by 'clang --analyze'
reordering of Resource-related stuff was because of

   "error: explicit specialization of 'getString' after instantiation"

complaints.
2010-05-23 12:25:47 +02:00
Peter Hercek
4e831484d5 fixed resize bug (caused by typo, see #2498507) 2009-01-11 14:23:08 +01:00
Mathias Gumz
6642792f68 additional fix for the resize bug 2008-10-15 23:31:37 +02:00
Mark Tiefenbruck
c91926cf71 fix flickering of shaped windows on focus changes 2008-10-03 20:48:38 -07:00
Mark Tiefenbruck
75cf24da28 re-fix maximizing problem with non-northwest gravity windows 2008-09-21 00:07:40 -07:00
Mark Tiefenbruck
93ccd39a48 fix placement of windows with non-default decorations 2008-09-21 00:04:01 -07:00
Henrik Kinnunen
9f519ec0fc some minor code cleaning. 2008-09-14 20:06:28 +02:00
Mark Tiefenbruck
bf620f96df fix program crashes caused by unshading 2008-09-11 13:01:11 -07:00
Mark Tiefenbruck
ba03aaaa33 fix maximize/fullscreen for windows with non-Northwest gravity 2008-09-03 10:41:05 -04:00
Mark Tiefenbruck
82047e6a39 move some things from FluxboxWindow to WindowState 2008-08-27 18:29:33 -04:00
Mark Tiefenbruck
a2ec0c9bdd make FbWinFrame and FluxboxWindow share a WindowState object 2008-08-27 16:29:35 -04:00
Mark Tiefenbruck
55fd49614b move FbWinFrame::State class to a new file 2008-08-27 13:05:49 -04:00
Mark Tiefenbruck
36d1edfbf6 fix for restoring horizontally or vertically resized windows 2008-08-23 15:50:09 -07:00
Mark Tiefenbruck
e6b11e06c6 resize maximized windows when the toolbar or slit changes size 2008-08-23 07:46:16 -07:00
Mark Tiefenbruck
e3fb16c993 allow various combinations of shaded, maximized, and fullscreen states 2008-08-22 16:29:09 -07:00
Mark Tiefenbruck
c37a91e150 be a little smarter about size hints in tabbed windows 2008-08-22 10:16:33 -07:00
Mark Tiefenbruck
72a9dc9c30 remove borders from maximized windows 2008-08-22 06:28:12 -07:00
Mark Tiefenbruck
0ae3ca9e8a move fullscreen and maximization handling to FbWinFrame 2008-08-22 05:52:23 -07:00
Mark Tiefenbruck
8681220f53 don't apply rounded corners to windows without decorations 2008-08-22 03:36:26 -07:00
Mark Tiefenbruck
99eaded40e make Swing apps only somewhat horribly broken again 2008-08-21 10:17:21 -07:00
Mark Tiefenbruck
533c70cb57 some cleanup 2008-08-21 07:05:44 -07:00
Mark Tiefenbruck
a30a14ef36 add top, left, right, and bottom center tab placement options 2008-08-18 01:45:44 -07:00
Mark Tiefenbruck
38654bae45 some cleanup 2008-08-16 05:54:07 -07:00
Mark Tiefenbruck
fe412dbeef move interpretation of normal hints to size hint class 2008-08-16 00:22:12 -07:00
Mark Tiefenbruck
1056474e1d fix compilation 2008-08-15 05:19:40 -07:00
Mark Tiefenbruck
215939d6ed let FbWinFrame handle decorations in fullscreen state 2008-08-15 04:46:06 -07:00
Mark Tiefenbruck
0689a0a4a8 move getDecoMaskFromString to FbWinFrame 2008-08-15 04:42:13 -07:00
Mark Tiefenbruck
4093d2641f group some window properties into a new class FbWinFrame::State 2008-08-15 04:36:02 -07:00
Mark Tiefenbruck
e5c61a7279 move some frame size calculations to FbWinFrame 2008-08-15 04:24:03 -07:00
Mark Tiefenbruck
1dab657708 aspect ratios should take base size into account, fix size hint initialization 2008-08-15 04:16:30 -07:00
Mark Tiefenbruck
6053ecc1b5 move size hint code to methods in size hint struct, restructure them a little 2008-08-15 04:09:15 -07:00
Mark Tiefenbruck
4fa3773267 move size hint code to FbWinFrame 2008-08-15 04:04:56 -07:00
Mark Tiefenbruck
a39e3e33b5 only remove outside border when disabled by decoration mask 2008-06-04 08:48:43 -07:00
Tomas Janousek
5119ded374 Fix focused/unfocused border color of the tab container.
(it was broken since 46bca62a9c)
2008-05-28 15:43:07 +02:00
Mark Tiefenbruck
130012c010 simplify gravity calculations 2008-05-25 16:08:40 -07:00
Mark Tiefenbruck
46bca62a9c move FluxboxWindow::applyDecorations() to FbWinFrame 2008-05-24 01:03:59 -07:00
Mark Tiefenbruck
855ff278af move some code around 2008-05-16 01:13:45 -07:00
Mathias Gumz
f6c292a406 split Text.hh into Orientation.hh and TextUtils.{cc,hh} 2008-01-15 08:45:57 +01:00
Mark Tiefenbruck
ec3125aeb9 switch FbWinFrameTheme to use FocusableTheme 2008-01-07 12:08:56 -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
b20b243b48 remove some unnecessary code 2008-01-03 19:37:21 -08:00
Mark Tiefenbruck
9c105111d2 remove old svn $Id$ tags 2008-01-03 17:34:12 -08:00
Tomas Janousek
0c1380128d Fix freeze with actions on external tab. 2007-12-30 22:51:20 +01:00
Mathias Gumz
04cd2fd14c removed some unneeded headers 2007-12-30 16:32:53 +01:00
Mark Tiefenbruck
62bcfaf0e4 move Shape to FbTk 2007-12-27 22:52:48 -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
1f5cd12fac simplify the window transparency menu and handling a bit 2007-12-26 20:42:10 -08:00