Commit graph

501 commits

Author SHA1 Message Date
Dana Jansens
20b8fcfa33 Merge branch 'backport' into work
Conflicts:

	openbox/client.c
	openbox/config.c
	openbox/event.c
	openbox/extensions.c
	openbox/focus_cycle_indicator.c
	openbox/focus_cycle_popup.c
	openbox/menuframe.c
	openbox/moveresize.c
	openbox/openbox.c
	openbox/screen.c
	openbox/stacking.c
	openbox/startupnotify.c
2008-01-31 12:51:38 -05:00
Dana Jansens
9a93350aa7 make horizontal gradients faster by not jumping around in memory as much 2008-01-27 04:25:09 -05:00
Mikael Magnusson
1d9991a0cd Fix some memleaks.
missing RrFontClose for osd_font in two places.
missing a g_free(area);
2008-01-25 13:29:46 +01:00
Dana Jansens
07d5674d39 move the xdg path stuff into obt/paths.[ch], and make render and openbox use it 2008-01-20 01:36:55 -05:00
Dana Jansens
fdabb69f4f update openbox to use the current parser interface in libobt
there is also some random bug fixes for other libobt stuff in here.
2008-01-20 01:36:55 -05:00
Dana Jansens
5960d27b1c setup versioning for libotk that is separate from libobrender (and libobparser for now), and bump library versions up to 4.0.
also make the render versioning more explicit that it's for the render library not all of openbox
2008-01-20 01:36:54 -05:00
Mikael Magnusson
0be98fee47 Various fixes for sparse warnings.
Define void functions with (void), not ().
Add missing includes.
Some functions were declared static but defined non-static.
Some variables that should be file static were file global but not used in any other file.
prop.h defined a new prop_atoms in each file that included it instead of declaring it extern.
2008-01-16 15:35:25 +01:00
Dana Jansens
fb1d6d9e46 Bug 3359 - redundant pango flags 2008-01-11 14:48:21 -05:00
Mikael Magnusson
9b803f4755 Fix using None when it should be NULL 2007-09-04 06:25:31 +02:00
Mikael Magnusson
1492bd0e7d Fix shadowed variables 2007-09-04 06:25:06 +02:00
Dana Jansens
fe08a60665 add a comment 2007-08-05 21:14:38 -04:00
Mikael Magnusson
7f53478977 Fix some memleaks 2007-08-06 03:09:55 +02:00
Dana Jansens
a5c6eb81ad let you specify the padding y and x independently 2007-08-04 12:13:10 -04:00
Mikael Magnusson
77baf26a7f remove trailing whitespace 2007-07-17 02:48:16 +02:00
Mikael Magnusson
8ad51aef1e 80 cols everywhere 2007-07-14 15:22:35 +02:00
Dana Jansens
0bfe6c1e52 no more crash in splitvertical. i think i changed the size of the middle gradient too. it's always 1px now unless the texture is very small, then it can be 0. if theres a discrepency, the bottom color gets the extra pixel. 2007-07-11 14:17:34 +00:00
Dana Jansens
b70afd1016 let the theme specify all splitgradient colors 2007-06-13 14:03:46 +00:00
Dana Jansens
89ade7a8c1 don't alloc/free colors every time splitvertical is drawn 2007-06-13 13:48:00 +00:00
Dana Jansens
fc2e419a8a put new things at the bottom of the struct 2007-06-10 23:07:36 +00:00
Dana Jansens
94a2a4d67e let the shadow be 0-256 2007-06-10 21:56:50 +00:00
Dana Jansens
6b05306a28 don't limit the highlight at all 2007-06-10 21:55:09 +00:00
Dana Jansens
89b7311d8d make bevel strengths theme-selectable 2007-06-10 21:38:29 +00:00
Mikael Magnusson
2440549aba wrongly indented line 2007-06-09 01:28:00 +00:00
Dana Jansens
62a652f6f5 fix when 1or2px splitvertical 2007-06-09 01:22:34 +00:00
Dana Jansens
44fa95eea8 no crashing in splitvertical 2007-06-09 01:18:19 +00:00
Dana Jansens
b60e471705 middle gradient in splitvertical 2007-06-09 01:08:25 +00:00
Dana Jansens
6dec1c213b yay. toggled textures and colors for all states. 2007-06-08 22:14:48 +00:00
Mikael Magnusson
96bb892054 back xml themes out of trunk 2007-06-07 23:46:28 +00:00
Dana Jansens
1fc480c193 make active-disabled shadow offset-y be proper 2007-06-06 14:53:57 +00:00
Dana Jansens
0ba396fea0 fix parentrel bevels 2007-06-05 20:37:10 +00:00
Dana Jansens
4548d40c0d combine the parent and child textures in fun ways when a parentrelative texture with a bevel is placed right overtop of another texture with a bevel 2007-06-05 18:01:10 +00:00
Dana Jansens
8349e4ca6b add osd border stuff 2007-06-05 15:57:27 +00:00
Dana Jansens
aca8327244 add osd theme elements 2007-06-05 15:51:36 +00:00
Mikael Magnusson
b265acbd45 allow users of obrender to change the ellipsize mode of text textures 2007-06-04 23:51:48 +00:00
Dana Jansens
51626b787d unused variables 2007-06-04 18:42:14 +00:00
Mikael Magnusson
ee36c0d379 actually allow raised, but default to flat for parentrelative 2007-06-04 16:13:34 +00:00
Mikael Magnusson
3a89939c2d allow effects on parentrelative textures, ie bevels and interlaces and borders 2007-06-04 16:03:43 +00:00
Dana Jansens
7dd5fa0a7e missing theme-> 2007-06-03 17:41:28 +00:00
Dana Jansens
ad3336f70d free the new title separator colors 2007-06-03 17:38:30 +00:00
Dana Jansens
a25d0ed10c consistancy 2007-06-02 21:22:16 +00:00
Dana Jansens
439d2c62fa remove the title separator width thing.
add a separate color for the title separator
2007-06-02 21:19:49 +00:00
Dana Jansens
285db844e6 add tswidth to theme.h, but its always == fbwidth 2007-06-02 20:48:18 +00:00
Dana Jansens
1091e38908 rename activedisabled in xml to active-disabled 2007-06-02 18:58:10 +00:00
Dana Jansens
264dd883ad missing a {
bump the version
2007-05-31 15:47:41 +00:00
Dana Jansens
7f5f9c5523 cleaner code 2007-05-31 15:44:28 +00:00
Dana Jansens
e4b162d470 only show falling back msg when its true 2007-05-31 15:41:06 +00:00
Dana Jansens
5588c49335 add an allow_fallback option when opening a theme 2007-05-31 15:40:41 +00:00
Dana Jansens
5e50b406d0 cosnt char* 2007-05-31 04:07:01 +00:00
Dana Jansens
ed1dcb6b48 no const weirdness 2007-05-30 13:58:53 +00:00
Dana Jansens
65144cc562 set name to the name of the theme when falling back 2007-05-30 13:39:10 +00:00
Mikael Magnusson
1188d9b0f6 don't need to &0xff 2007-05-29 03:46:38 +00:00
Dana Jansens
28ad33fd5f brackets ftw. opacity for rgba's works. 2007-05-29 03:36:12 +00:00
Dana Jansens
9df3e07b73 it doesn't work but its something 2007-05-29 03:31:25 +00:00
Dana Jansens
c4eaa94385 put an alpha channel in the rgba texture 2007-05-29 03:22:55 +00:00
Dana Jansens
c726a1f709 set the current theme in a root property 2007-05-28 13:37:32 +00:00
Dana Jansens
211cc4449d center argb textures (icons for eg.) within the area given if they are not the same shape 2007-05-26 17:35:17 +00:00
Dana Jansens
3b8bcd3e3a get the pixel extents the "right way" in 1.16 and use our own rounding otherwise because the pango function lies. 2007-05-23 02:02:00 +00:00
Dana Jansens
3f3d59904e pango lies. do the pixel conversion ourselves 2007-05-23 01:42:59 +00:00
Dana Jansens
41177771c1 link to wrong version for obparser-3.0 2007-05-22 06:15:24 +00:00
Dana Jansens
add9c3c1bb oops. dont default all stuff to bold 2007-05-21 03:40:16 +00:00
Dana Jansens
280c70b00b make the default fonts bold cuz bold looks better everywhere except in the menus i think 2007-05-20 23:00:56 +00:00
Dana Jansens
599b63e471 fix rendering argb textures on solid backgrounds 2007-05-20 22:06:03 +00:00
Dana Jansens
cb7752cd1f if the theme supplied a max button or desk button then use that for toggled fallback 2007-05-20 15:25:50 +00:00
Dana Jansens
34ad5b92b4 save some malloc when possible 2007-05-19 20:14:19 +00:00
Dana Jansens
53066b1808 new focus cycle popup of doom 2007-05-19 18:40:37 +00:00
Dana Jansens
df948db3be i know we broke backwards compatibility but noone uses it except obconf and it still works, so just leave the pkgconfigs as -3.0, and obconf2 and require version >= 3.3.990 instead. 2007-05-19 01:33:40 +00:00
Dana Jansens
e77888ef17 change obrender-3.0 and obparser-3.0 to 3.4 because we broke backward compatibility 2007-05-18 00:58:43 +00:00
Dana Jansens
b76926f666 add pango to the pkg-config file 2007-05-18 00:55:05 +00:00
Dana Jansens
6017c061eb build fixes 2007-05-12 21:24:24 +00:00
Dana Jansens
d3ecb7c127 change how masks are loaded, let you override just one. simpler code too. 2007-05-12 16:59:18 +00:00
Mikael Magnusson
eab6ff75c0 micromicrooptimization 2007-05-12 16:56:36 +00:00
Dana Jansens
410bf6dc53 make default masks even sized. these are from the clearlooks theme, probably from somewhere else before that. 2007-05-11 23:08:30 +00:00
Dana Jansens
b63ad92cca give different border colors to active and inactive windows. adjust the xml theme format a little to make it BETTER. rawr. add some metadata standards too. 2007-05-11 22:18:43 +00:00
Dana Jansens
d8919a9bf8 guarantee an even height for the label, and thus the titlebar, and thus the buttons. that way an even sized mask in the button will always be centred 2007-05-11 05:34:53 +00:00
Dana Jansens
c0ddd76ac5 change fallbacks 2007-05-11 03:48:41 +00:00
Dana Jansens
7956103a81 make fallbacks match 3.4 2007-05-11 03:46:09 +00:00
Dana Jansens
7d6caee44b memory leak on the server 2007-05-11 03:36:58 +00:00
Dana Jansens
4e5c6af594 unused 2007-05-11 03:36:51 +00:00
Dana Jansens
5667acacbc PANGO_VERSION_CHECK is new 2007-05-10 14:31:44 +00:00
Dana Jansens
c4385c098f use pango 1.16 stuff if its there. and use the old stuff if not. also! save it in static variable so we dont have to update it over and over. 2007-05-09 21:41:16 +00:00
Dana Jansens
ef4bec071b mem leaks 2007-05-09 21:26:17 +00:00
Dana Jansens
c6eabf1880 fix using uninit'd values 2007-05-09 20:38:27 +00:00
Dana Jansens
3905872982 merge in r6153-6154 from the 3.4 branch 2007-05-07 22:07:13 +00:00
Dana Jansens
82b2f0aa7a popups fixes. if the text for the popup is empty now, there wont be extra padding for it. desktop name fixes. 2007-05-07 06:33:43 +00:00
Dana Jansens
526560b8a0 changes to the client menu, which entries are there, and reorganizing, and renaming.
let you highlight disabled menu entries, they just aren't runable of course, and add the activedisabled theme element for these entries.
add the all desktops button picture to "All desktops" in the client menu
update the themes for the new element, and some changes to make things more readable-better contrast.

CLEARLOOKS-OLIVE is now DIFFERENT FROM THE 3.4 BRANCH SO DON'T RE-RUN THEMETOXML ON IT :( :(
yeah.. i think that is everything?
2007-05-05 22:26:59 +00:00
Dana Jansens
020cbeff19 unsigned.. 2007-05-03 03:17:18 +00:00
Dana Jansens
66d6e1120e small change to the render API. RrMinsize became RrMinSize. added RrMinWidth and RrMinHeight.
make focus/desktop popups wider based on the screen size with the old size as a minimum.
left-align the desktop dialog.. i think better dialogs would be nice. and to make them hide or something when you switch desktops while switching windows etc.
2007-05-02 00:35:22 +00:00
Dana Jansens
4e590eba23 add a separate font config for onscreendisplays
change menutitle in the rc to menuheader
fix up the xsd for fonts
2007-04-26 13:10:36 +00:00
Dana Jansens
c4ba6e605a assume a valid utf8 char is at the shortcut position. the menu parser makes sure of this 2007-04-26 03:18:48 +00:00
Dana Jansens
b5dbe857db dont go to disabled menu entries with keyboard shortcuts
fix some rendering of shortcuts
2007-04-25 18:26:02 +00:00
Dana Jansens
0c41ab3c20 make rendering the shortcuts much faster 2007-04-25 18:04:15 +00:00
Dana Jansens
0927804559 "text" was no longer needed 2007-04-25 01:59:56 +00:00
Dana Jansens
138d3e38d8 add shortcuts for text rendering. it underlines the first character in the string that matches the shortcut 2007-04-25 01:32:43 +00:00
Dana Jansens
f507432c86 error in the new error message code 2007-04-23 20:36:51 +00:00
Dana Jansens
2442cdfd85 1) translate all of openbox's output
2) update copyrights.
3) make release. ok that part not quite yet.
2007-04-23 17:56:35 +00:00
Dana Jansens
8612fcfb99 better matching of the menu titles/separators to the theme 2007-04-22 03:54:43 +00:00
Mikael Magnusson
58be283e94 copy paste error, spotted by tilman ftw 2007-03-28 18:15:36 +00:00
Dana Jansens
bd27269850 more updates for toggled states. also updating the theme files. 2007-03-28 03:51:27 +00:00
Dana Jansens
5fb30e4488 add toggled-pressed and toggled-hover button states to themes. also rename toggled to be toggled-unpressed 2007-03-28 03:32:46 +00:00
Dana Jansens
3678f8df8a use const char*'s when we should be 2007-03-18 15:07:30 +00:00