Commit graph

85 commits

Author SHA1 Message Date
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
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
Dana Jansens
f407b5d80f add pressed bitmaps. rename stick bitmaps to desk 2003-08-01 18:11:13 +00:00
Dana Jansens
2b72e5d01c add toggled textuers for titlebar buttons 2003-08-01 17:58:48 +00:00
Dana Jansens
d4170da07e renamed the _t bitmaps, and added disabled and hover bitmaps 2003-08-01 07:02:57 +00:00
Dana Jansens
4d9bd88f12 make themes inside a directory 2003-08-01 06:10:59 +00:00
Dana Jansens
5101e89d14 add missing includes 2003-08-01 02:38:13 +00:00
Dana Jansens
54ad34a039 move the titlebar layout from the theme to the rc file 2003-07-30 16:25:08 +00:00
Dana Jansens
4de5230cec typo thanks merry 2003-07-28 19:43:05 +00:00
Dana Jansens
632b2af7a8 fix mem leaks/crashes 2003-07-27 19:57:38 +00:00
Dana Jansens
2eb5721416 add pressed colors for buttons 2003-07-27 19:39:02 +00:00
Dana Jansens
399952e547 dont allow parentrelative on top-level appearances 2003-07-25 13:23:40 +00:00
Dana Jansens
5be0a82a35 use ob_debug for any debug printing and only display the output when its a debug build or when --debug is passed to it 2003-07-24 06:02:38 +00:00
Dana Jansens
ea6258ce0f add a menuOverlap property to themes, and use it in the submenu placement 2003-07-22 16:14:42 +00:00
Dana Jansens
5fce782499 useless code move 2003-07-12 15:31:56 +00:00
Dana Jansens
81af5a8b0c add disabled buttons, instead of now showing buttons at all when they wont do anything, now show a disabled button instead. this severely breaks compatibility with blackbox themes since there is no good way to automiatically create a disabled button that i can think of, so if they dont exist in the theme you get black and white for the button.
when a window cant be resized, its handle is not removed but its grips are.

change allowing the user to disable individual decorations as that is overkill,
instead allow a toggle through the client.decorate boolean.
2003-07-10 23:27:02 +00:00
Dana Jansens
c109dcd66a hardcode the button names for themes 2003-06-28 16:48:25 +00:00
Dana Jansens
0a459f7a57 rename the button_dir var to data_dir.. pointless :> 2003-06-28 15:53:37 +00:00
Dana Jansens
bf2f0c58ca add comment 2003-06-26 01:35:41 +00:00
Dana Jansens
a12e73cf37 read fonts and titlebar layout from theme files 2003-06-26 01:29:45 +00:00
Dana Jansens
1e882b6271 made all the gradients work with integer math. removed the pipecross and rectangle gradietns tho cuz they are ugly and i dont want to code that bullshit cuz they are ugly. 2003-06-24 18:54:18 +00:00
Dana Jansens
dc92dbfc56 don't exit in the render lib, rather return a NULL font/theme on failure 2003-06-21 05:35:05 +00:00
Dana Jansens
dbe2851b91 more namespacing to Rr* 2003-06-21 02:15:13 +00:00
Dana Jansens
bd59576748 rename color_rgb to RrColor 2003-06-21 01:56:14 +00:00
Dana Jansens
b1f5555218 put the render theme into a struct 2003-06-21 01:53:26 +00:00
Dana Jansens
3f32dfa87e this is going to break the kernel/ building.
lots of modifications to the render API, prefixing everything, making proper
names for everything. the structures are not hidden/opaque yet, but the naming scheme of the public API works much better now.
2003-06-20 07:58:51 +00:00
Dana Jansens
cd12a2eae5 simply the render interface by not requiring the setting of all the areas. only take a w and h in paint(). best font layout ever. 2003-06-20 02:17:23 +00:00
Dana Jansens
6e93be1d2e remove non-planar surfaces 2003-06-20 00:05:51 +00:00
Dana Jansens
97b22bd27b use the rectangle gradient when the theme asks for elipse 2003-05-20 07:27:23 +00:00
Dana Jansens
f26f23de50 all my changes while i was offline.
better alt-tabbing. better transient handling. i dont even know. lots of fucking cool shit so WATCH the FUCK OUT.
2003-05-09 16:57:17 +00:00
Dana Jansens
9bd740cf71 make menu font smaller and !bold for now 2003-04-15 18:30:20 +00:00
Dana Jansens
1c3689d0c7 load menu style stuff 2003-04-15 18:05:58 +00:00
Dana Jansens
282bca1da3 load the font shadow stuff from the old ob2 shitz 2003-04-13 07:52:58 +00:00
Dana Jansens
5cf61ee023 move the openbox engine into librender and the kernel. the theme is loaded and stored inside librender. the frame is decorated and managed inside the kernel. 2003-04-13 07:18:28 +00:00