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 |
|
Mikael Magnusson
|
7fc31cd045
|
fix a warning
|
2005-03-31 08:31:31 +00:00 |
|
Mikael Magnusson
|
2290916e2e
|
Update the pango code
|
2005-03-11 21:49:07 +00:00 |
|
Mikael Magnusson
|
7089a86006
|
remove a spurious identical ifdef diff decided to generate
|
2005-02-13 17:27:51 +00:00 |
|
Mikael Magnusson
|
9be3a21380
|
apparently nobody uses cvs or bothers to tell me about compile errors
|
2004-12-03 23:53:17 +00:00 |
|
Mikael Magnusson
|
e7d1ba6ae3
|
Pango! yay. Patch mostly by Mohammed Sameer, fixed some memleaks and ifdeffed by me. May still have some bugs.
|
2004-11-07 13:20:54 +00:00 |
|
Mikael Magnusson
|
35c5a62ca1
|
there was a typo here, but the code worked anyway. oh well.
|
2004-06-14 12:25:28 +00:00 |
|
Mikael Magnusson
|
4b32a060ad
|
no more april's fool (and also committed a bit too much before)
|
2004-04-01 21:50:11 +00:00 |
|
Mikael Magnusson
|
1c9a69e1df
|
these two changes make the text a lot more readable
|
2004-03-31 18:32:44 +00:00 |
|
Mikael Magnusson
|
335e8acbfc
|
yay no tabs in the source
|
2004-03-21 01:03:00 +00:00 |
|
Dana Jansens
|
06202e2bad
|
dont scale images to 0 px wide or tall
|
2003-11-11 12:04:47 +00:00 |
|
Dana Jansens
|
13206849ea
|
add version info the library headers
|
2003-10-27 20:11:14 +00:00 |
|
Dana Jansens
|
740c5b2a20
|
consistant glib type usage
|
2003-10-15 03:59:35 +00:00 |
|
Dana Jansens
|
637ba6cf5c
|
cooler method
|
2003-10-12 20:30:38 +00:00 |
|
Dana Jansens
|
4b0e4af80a
|
add debug shit
|
2003-10-11 06:46:51 +00:00 |
|
Dana Jansens
|
3740966916
|
simplify
|
2003-10-11 06:45:41 +00:00 |
|
Dana Jansens
|
35e3370651
|
add an id to colors for debugging purposes
|
2003-10-11 06:45:04 +00:00 |
|
Dana Jansens
|
84dae2d747
|
mem leak
|
2003-10-11 03:42:15 +00:00 |
|
Dana Jansens
|
281390a926
|
fix memory leak
|
2003-10-10 05:39:21 +00:00 |
|
Dana Jansens
|
f8c81e8ca4
|
add a check to make sure the color hash is empty on shutdown
|
2003-10-10 05:38:36 +00:00 |
|
Dana Jansens
|
647baa7740
|
add an assert to try catch color hash table misuses
|
2003-10-10 05:37:24 +00:00 |
|
Dana Jansens
|
38ed4331b1
|
indenting
|
2003-10-10 03:46:53 +00:00 |
|
Dana Jansens
|
4460548ca0
|
wrap public headers in G_BEGIN/END_DECLS
|
2003-09-25 22:48:04 +00:00 |
|
Dana Jansens
|
136b113278
|
change how stuff is linked, this should make libtool and automake work nicely again I think
|
2003-09-25 21:58:10 +00:00 |
|
Dana Jansens
|
16f46c296d
|
no tabs
|
2003-09-17 07:44:49 +00:00 |
|
Dana Jansens
|
c4e4760c41
|
add copyright headers, adjust --version output to include copyright, and --help output to not include version output.
|
2003-09-17 07:32:52 +00:00 |
|
Dana Jansens
|
96f9db0d0c
|
api cleanups for render/theme.h
|
2003-09-17 06:21:35 +00:00 |
|
Dana Jansens
|
8ba479a367
|
look in ~/.themes for themes also
|
2003-09-15 19:41:48 +00:00 |
|
Dana Jansens
|
46d99fbaff
|
new icon from merry, more clarity when small
|
2003-09-15 19:35:15 +00:00 |
|
Dana Jansens
|
c1b2fc5324
|
make openbox base-dir spec compliant, and change the theme dir structure, so that themes go in $XDG_DATA_DIRS/themes/ with gtk/metacity/whateverelse themes
|
2003-09-15 19:20:05 +00:00 |
|
Dana Jansens
|
e60dd0259a
|
fix 2 mem leaks
|
2003-09-14 21:10:30 +00:00 |
|
Dana Jansens
|
eeebd3e43f
|
add a default icon made by merry.
|
2003-09-14 18:32:18 +00:00 |
|
Dana Jansens
|
54d04314e7
|
remove debug print
|
2003-09-14 07:33:16 +00:00 |
|
Dana Jansens
|
960ce01f71
|
use the values passed to the function
|
2003-09-14 06:43:16 +00:00 |
|
Dana Jansens
|
dcc433926c
|
code style
|
2003-09-14 06:42:57 +00:00 |
|
Dana Jansens
|
3559312321
|
free XImages
|
2003-09-14 06:42:33 +00:00 |
|
Dana Jansens
|
3dc4750ea4
|
destroy 'pat' always
|
2003-09-14 06:42:04 +00:00 |
|
Dana Jansens
|
d634731fca
|
X allocs more bytes than i thought, new algo to pick the amount of memory for the bitmap data
|
2003-09-14 06:41:00 +00:00 |
|
Dana Jansens
|
5d658c98e2
|
add app_(un)hilite_fg, which is never parentrelative
|
2003-09-12 05:56:57 +00:00 |
|
Dana Jansens
|
4685a11530
|
wasted variable
|
2003-09-12 05:56:02 +00:00 |
|
Dana Jansens
|
6fc8e1784e
|
handle parentrel app labels, by using the title's texture instead
|
2003-09-12 05:42:57 +00:00 |
|
Dana Jansens
|
cee67e1700
|
better more valid C
|
2003-09-12 02:19:05 +00:00 |
|
Dana Jansens
|
49a73ce15c
|
add support for a default icon, but no icon has been made yet.
|
2003-09-12 01:11:33 +00:00 |
|
Dana Jansens
|
191f982dd4
|
allow a padding.width of 0
|
2003-09-08 19:09:59 +00:00 |
|
Dana Jansens
|
a72371b41f
|
bigtime theme changes. bigtime.
|
2003-09-08 18:38:52 +00:00 |
|
Dana Jansens
|
bbc22b9870
|
remove obconf from this tree.
add versioning for the libraries and pkgconfig files for them.
|
2003-09-07 23:33:11 +00:00 |
|
Dana Jansens
|
a1184b2b77
|
add the margins to the label_height so that the text doesnt cover the bevel/border
|
2003-09-06 08:43:30 +00:00 |
|
Dana Jansens
|
4cbfe3eac0
|
new scaling based on the Bresenham algorithm
|
2003-09-04 06:23:57 +00:00 |
|
Dana Jansens
|
55ed757c5f
|
new scaling, based on the Bresenham algorithm
|
2003-09-04 06:23:27 +00:00 |
|
Dana Jansens
|
e9c1e44e68
|
provide a function to give the margins for an appearance
|
2003-09-03 06:28:57 +00:00 |
|
Dana Jansens
|
83c213143e
|
we use the offsets we get from the server, we should use the byte order too..
|
2003-09-03 05:28:19 +00:00 |
|
Dana Jansens
|
694a628a2f
|
remove bad comment
|
2003-09-03 04:28:00 +00:00 |
|
Dana Jansens
|
72f3195821
|
interlace is drawn first, so bevels n shit cover it
|
2003-09-02 19:16:56 +00:00 |
|
Dana Jansens
|
aeef656993
|
add menu.bullet.selected.imageColor
|
2003-09-02 18:52:24 +00:00 |
|
Dana Jansens
|
3b2b0998fc
|
remove debug print
|
2003-09-02 17:42:57 +00:00 |
|
Dana Jansens
|
fffc89c226
|
remove XXX comment, it was right, now its done :>
|
2003-09-02 08:38:33 +00:00 |
|
Dana Jansens
|
ac9d8c58cb
|
use the new color hash to cache RrColors
|
2003-09-02 08:38:03 +00:00 |
|
Dana Jansens
|
92feea765a
|
move some internal functions from render.h to instance.h
add a color hash table to the RrInstance
|
2003-09-02 08:37:52 +00:00 |
|
Dana Jansens
|
06252b3076
|
rename back the app_selected appearances to app_hilite
|
2003-09-01 16:37:21 +00:00 |
|
Dana Jansens
|
f33bbca9e6
|
couple more xrdb theme format cleanups:
window.focus.font -> window.label.focus.font
window.unfocus.font -> window.label.unfocus.font
window.justify -> window.label.justify
menu.frame.* -> menu.items.*
menu.hilite.* -> menu.selected.*
*.picColor -> *.imageColor
|
2003-09-01 07:03:04 +00:00 |
|
Dana Jansens
|
4a107aa4b3
|
i rul.. at typos..
|
2003-09-01 03:35:45 +00:00 |
|
Dana Jansens
|
1d31a09fd3
|
copy/free the new interlaced color
|
2003-09-01 03:34:24 +00:00 |
|
Dana Jansens
|
e91814e99f
|
add interlaceColor, and support interlaced gradients
|
2003-09-01 03:10:47 +00:00 |
|
Dana Jansens
|
cd75b454eb
|
add RrColorGC
add a LineArt texture type for drawing a line, this is used for drawing the menu separators
|
2003-08-31 17:02:49 +00:00 |
|
Dana Jansens
|
6e86a42c4b
|
use RrColorGC
|
2003-08-31 17:02:10 +00:00 |
|
Dana Jansens
|
f90167d8b5
|
add RrColorGC
|
2003-08-31 17:01:53 +00:00 |
|
Dana Jansens
|
f97e7133d4
|
allow handlewidth of 0, which sets show_handle to false
|
2003-08-30 19:02:10 +00:00 |
|
Dana Jansens
|
50f2037aea
|
bugz, wrong vars
|
2003-08-30 18:47:02 +00:00 |
|
Dana Jansens
|
735776321c
|
nicer default bullets
|
2003-08-29 05:44:17 +00:00 |
|
Dana Jansens
|
5fb0a42b2d
|
only left-justify menus, remove the menu.frame.justify option
|
2003-08-28 19:53:36 +00:00 |
|
Dana Jansens
|
700e551390
|
fix a bunch of memleaks from valgrind and stuff
|
2003-08-28 19:10:36 +00:00 |
|
Dana Jansens
|
75e948b197
|
free rgba texture caches
|
2003-08-28 19:06:35 +00:00 |
|
Dana Jansens
|
c34ef4028e
|
half way through the changes to new menu code/design. hot shit. static menus work, on to plugins next.
|
2003-08-28 02:10:23 +00:00 |
|
Dana Jansens
|
8146cdb6ee
|
formatting
|
2003-08-23 06:26:23 +00:00 |
|
Dana Jansens
|
b95d977951
|
80 cols
|
2003-08-23 06:25:23 +00:00 |
|
Dana Jansens
|
a283652736
|
stupid function name die
|
2003-08-23 06:16:14 +00:00 |
|
Dana Jansens
|
baa236094f
|
nevermind
|
2003-08-22 16:57:59 +00:00 |
|
Dana Jansens
|
d7ae443cb4
|
default font size one smaller to make default bitmaps fit better
|
2003-08-22 16:56:20 +00:00 |
|
Dana Jansens
|
faeadd74d4
|
make focus and unfocus fonts for window titles. change 'xftfont' to 'font' in the themes.
|
2003-08-22 06:14:20 +00:00 |
|
Dana Jansens
|
43c8a3d2bf
|
was reading the menu bullet color into the wrong place
|
2003-08-14 19:31:49 +00:00 |
|
Dana Jansens
|
83705e52c4
|
add Xutil includes for these badboys on older X versions/solaris
|
2003-08-12 18:05:08 +00:00 |
|
Dana Jansens
|
84a75ac50d
|
make all the masks unsigned chars for consistancy woot
|
2003-08-12 17:51:34 +00:00 |
|
Dana Jansens
|
f3926a572b
|
kill some warnings
|
2003-08-12 17:50:00 +00:00 |
|
Dana Jansens
|
b1d44ac43b
|
rendering fixups for submenu bullets
|
2003-08-12 10:05:36 +00:00 |
|
Scott Moynes
|
a4f023cf3a
|
Some fixes and new bugs. Someone else can do the menus because it is
clear no one gives a fuck what I think and no one else wants a window
manager that doesn't suck the same balls as every other window manager.
|
2003-08-11 21:19:17 +00:00 |
|
Dana Jansens
|
356318b562
|
include Xlib.h for other platforms
|
2003-08-08 15:09:10 +00:00 |
|
Dana Jansens
|
08f1f213f1
|
split the increment into a separate macro
|
2003-08-05 10:51:19 +00:00 |
|
Dana Jansens
|
764e0e2866
|
oops indenting
|
2003-08-02 08:11:45 +00:00 |
|
Dana Jansens
|
ede531da35
|
look in theme dirs first, use the theme as the path as a last attempt only!
|
2003-08-02 08:11:17 +00:00 |
|
Dana Jansens
|
960a7f0184
|
invisible resizing areas/grips in the top corners of the window
|
2003-08-02 06:20:31 +00:00 |
|
Dana Jansens
|
3123cf4a9f
|
use the toggled mask for shade and desk buttons
|
2003-08-02 06:16:26 +00:00 |
|
Dana Jansens
|
b98021773b
|
look for masks only where the themerc was read from
|
2003-08-01 18:23:23 +00:00 |
|