Dana Jansens
41e272bd27
add missing comment
2007-03-04 00:47:26 +00:00
Dana Jansens
8343a8192f
fix memleak, free the render instance on shutdown.
2007-03-03 02:53:57 +00:00
Dana Jansens
037fc862b0
pango is now mandatory..
...
lots of cleanups to the pango code, which was a very nice base to start from. thanks to whomever wrote that for us.. put some of the pango variables into the various render structs so that they don't need to be created all the time. put the pango context inside our RrInstance so that it can be properly freed at shutdown. removed xft dependencies all through the code and the build system also. who knows if this will break compiling for some poor souls. i guess we'll find out, won't we!
2007-03-03 02:53:41 +00:00
Dana Jansens
07fe0980be
declare variables at the beginning of blocks, because it is nice to do so. and polite?
2007-03-02 22:11:46 +00:00
Dana Jansens
78af5d15e9
this includes a number of things since my magnificent return....
...
1. some random compiling/style cleanups
2. some bigfixes
- mislogic in per-window-settings and focusing new windows
- use client_can_focus rather than checking variables for directional focus
- MAYBE fix all those lock-ups forever. using event_curtime (a new variable) now instead of event_lasttime. event_lasttime is still used however when the event being processed did not have a time associated with it. this may or may not be a problem, and will be seen.
3. um.. i forget
4. oh yeah, 3rd party docks are now treated like the internal ob dock irt focus. that is, clicking on them won't pass them focus. this is going to be ratified as expected behavior in the wm-spec just now. if docks/panels want focus they can request it with _net_active_window, and then they can have all the focus they want! one day alt-tabbing around dock windows might be nice. but not until the ob dock is moved out into a separate application. going to have to add a wmapp selection and stuff for that though... ugly. who uses wmdockapps anymore !? someone must.. *sigh*
2007-03-02 02:23:00 +00:00
Mikael Magnusson
d3d4aa2987
80 cols
2006-11-15 21:12:06 +00:00
Mikael Magnusson
6930bdb289
fix a crash when using mirrorhorizontal and resizing a window to width 1
2006-09-07 11:40:01 +00:00
Mikael Magnusson
d84f1aac10
remove .cvsignore files
2006-08-31 13:49:36 +00:00
Mikael Magnusson
d4b90d3641
strstr is our friend, thanks merry
2006-08-24 22:04:19 +00:00
Mikael Magnusson
766e7ae9bf
rename osx to mirrorhorizontal and split to splitvertical, this will make all themes that used them not look right so update them
2006-08-24 17:57:01 +00:00
Mikael Magnusson
d9f14c1d01
update copyright step 2
2006-08-22 16:44:18 +00:00
Mikael Magnusson
a8274acdd6
useless *
2006-08-20 16:44:33 +00:00
Mikael Magnusson
e8c19d0c99
patch from thorsten vollmer to fix bug #2506 , interlaces and bevels not drawing correctly
2006-08-20 07:15:18 +00:00
Mikael Magnusson
2fd2473de5
some systems seem to not include locale.h even with ENABLE_NLS set
2006-08-19 13:49:53 +00:00
Mikael Magnusson
005eb35ee8
fix some warnings from -Wall
2006-08-19 05:05:36 +00:00
Mikael Magnusson
c495ecfeff
why did i save that return value?
2006-08-19 04:19:57 +00:00
Mikael Magnusson
9fb488c7bf
maybe it was just a syntax error?
2006-08-19 04:17:55 +00:00
Mikael Magnusson
ba6daeae8e
don't be so afraid to include locale.h
2006-08-19 04:15:51 +00:00
Mikael Magnusson
5d40209fbd
make grips always 25 pixels
2006-08-18 19:48:48 +00:00
Mikael Magnusson
e3c52da8c3
can't call ob_debug from libobrender...
2006-08-03 13:51:19 +00:00
Mikael Magnusson
95222014e2
maybe fix some stuff, i dunno
2006-08-03 01:12:29 +00:00
Mikael Magnusson
50292dbd75
a "osx" gradient, it is like horizontal but mirrors in the center
2006-08-01 20:34:35 +00:00
Mikael Magnusson
b3fa579a61
so it wont leak because ob uses a hash for colors, but lets free the colors anyway
2006-06-14 19:47:28 +00:00
Mikael Magnusson
7ca93b9ff2
okay that parent didnt point where i thought
2006-06-14 19:27:32 +00:00
Mikael Magnusson
18cd2fa938
forgot i was in the middle of something
2006-06-14 19:23:27 +00:00
Mikael Magnusson
335a0eecc7
initial commit of split gradient, looks like some RrColor leaking perhaps
2006-06-14 19:20:46 +00:00
Mikael Magnusson
dd48997668
fix two memleaks
2006-06-11 10:21:35 +00:00
Mikael Magnusson
a908e04818
try another scaling algo for the icons
2006-03-16 23:53:11 +00:00
Mikael Magnusson
f0a82ab599
make reverse_bits static
2006-03-14 17:32:35 +00:00
Mikael Magnusson
f1ed62cead
fix 1bit bitmaps on msbfirst architectures + some indentation fixes
2006-03-14 15:27:15 +00:00
Mikael Magnusson
31527192c8
finally fix broken gimp window icons
2006-03-05 23:23:55 +00:00
Mikael Magnusson
c5a14b4f04
!"$!#"%
2006-01-15 11:40:34 +00:00
Mikael Magnusson
b177ace2c3
yes it is
2006-01-15 11:40:21 +00:00
Mikael Magnusson
425dc31808
fix pixelsize when using pango (set_size != set_absolute_size)
2006-01-15 11:39:55 +00:00
Mikael Magnusson
efcb68de1d
and tidy it up a bit
2005-09-01 15:34:03 +00:00
Mikael Magnusson
e298cde9b0
remove some excessive swearing from a comment about pango
2005-09-01 15:33:04 +00:00
Mikael Magnusson
3b83230aaf
ifdef helps
2005-07-26 08:02:13 +00:00
Mikael Magnusson
eecc457292
--disable-nls disables locale.h which is needed for pango, sort of
2005-07-20 19:51:57 +00:00
Mikael Magnusson
3d1048f5a7
forgot debug print
2005-07-16 20:30:17 +00:00
Mikael Magnusson
b2cd881d31
80 columns
2005-07-16 20:27:06 +00:00
Mikael Magnusson
b1a1ad5d06
fix the PangoLanguage thing to get from locale
2005-07-16 20:16:55 +00:00
Mikael Magnusson
2fb7b70ccb
maybe even better layouting (ie the previous was off by a few marks). memo to self, what do to about PangoLanguage?
2005-07-16 16:11:58 +00:00
Mikael Magnusson
e37b07bfa0
dont need pll
2005-07-16 14:45:41 +00:00
Mikael Magnusson
a08bb4abba
minor movement of code
2005-07-16 01:01:04 +00:00
Mikael Magnusson
a5100fe677
make the pango rendering code really complicated because that is the only way to make it draw correctly
2005-07-16 00:56:45 +00:00
Mikael Magnusson
8f9aae0cc2
fix the dpi stuff with pango by reading the right ascent and descent stuff
2005-07-15 14:39:31 +00:00
Mikael Magnusson
b10b0000db
revert the pressed toggled thing for a while
2005-07-14 20:41:24 +00:00
Mikael Magnusson
5c95d2ffea
correctly show pressed state when pressing toggled buttons, bug #2311
2005-07-14 13:02:39 +00:00
Mikael Magnusson
0417d1226c
RrFontHeight is meaningless with pango, it will be different for every string drawn, so ask pango for the height after we tell it the text to draw. Should make text be centered vertically better when mixing fonts. Still moves a pixel down for some strings for me, but it was several before. If anyone knows more about this please mail or bugzilla etc. Also fix an indenting error.
2005-06-26 01:39:53 +00:00
Mikael Magnusson
3b51624005
well, i pinpointed the problem code that causes the fonts to be cut off, but this workaround is extremely temporary and possibly only works for me by accident?
2005-04-04 07:02:22 +00:00