Mathias Gumz
041d586972
code simplification by reducing if-else hell
...
a lot of the parsing-related and menu-building stuff is just plain
stupid boiler plate code. putting the data into a const array
separates the boiler plate data from the actual code.
2010-09-17 14:44:58 +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
Mark Tiefenbruck
c91926cf71
fix flickering of shaped windows on focus changes
2008-10-03 20:48:38 -07:00
Henrik Kinnunen
9f519ec0fc
some minor code cleaning.
2008-09-14 20:06:28 +02: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
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
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
a30a14ef36
add top, left, right, and bottom center tab placement options
2008-08-18 01:45:44 -07:00
Mark Tiefenbruck
fe412dbeef
move interpretation of normal hints to size hint class
2008-08-16 00:22:12 -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
f32fdc29d2
have fullscreen and maximization code call applySizeHints directly
2008-08-15 04:30:57 -07:00
Mark Tiefenbruck
e5c61a7279
move some frame size calculations to FbWinFrame
2008-08-15 04:24:03 -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
Mark Tiefenbruck
46bca62a9c
move FluxboxWindow::applyDecorations() to FbWinFrame
2008-05-24 01:03:59 -07: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
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
Mathias Gumz
04cd2fd14c
removed some unneeded headers
2007-12-30 16:32:53 +01:00
Mark Tiefenbruck
4cc810b0d3
remove some (hopefully) unneeded header includes
2007-12-29 22:44:11 -08:00
Mathias Gumz
e1f362ae76
'inline' in class declaration is implicitly inline
2007-12-29 22:38: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
Mark Tiefenbruck
1b48b749b9
make FbWinFrame aware of the decoration state
2007-12-23 13:28:08 -08:00
markt
08ebff4b31
move titlebar click handling to FluxboxWindow, fix buttons getting ungrabbed
2007-11-20 19:01:45 +00:00
markt
a59428d67a
merged changes from pre-devel
2007-10-13 21:51:37 +00:00
simonb
a0f44b9e9a
Fix handling of Shape, stage 2 (more involved/complete handling)
2007-08-09 03:45:31 +00:00
markt
2ddc0290cb
use old size/position in apps file when the window is shaded or maximized
2007-07-02 21:26:01 +00:00
markt
cd238a475b
disabled resizing shaded windows
2007-04-23 16:09:00 +00:00
markt
06fb6cbd55
fixed a bug, removed some unused code
2007-04-03 17:14:00 +00:00
simonb
1cc7b60aa2
per-window transparency, including apps and menu support, plus some
...
infrastructure and related changes. Thanks for original patch from
Julien Trolet, dmxen at sourceforge dot net
2007-01-07 11:55:14 +00:00
simonb
c3846743fb
fix some sizing issues with gravity fixes
2006-07-04 13:20:04 +00:00
simonb
12e80f3faf
fix gravity
2006-07-03 17:18:17 +00:00
markt
698539d9b9
more dead functions
2006-07-01 02:56:46 +00:00
simonb
6e60c53ae7
fix _NET_FRAME_EXTENTS
2006-06-26 11:45:14 +00:00
markt
a23ad67197
Make Urgency Hint flash the correct WinClient's tab.
2006-06-24 18:19:49 +00:00
simonb
af74a22845
rotated fonts, buttons, containers. Used for tabs for now
2006-03-26 04:02:30 +00:00