Commit graph

484 commits

Author SHA1 Message Date
Dana Jansens
0ebf6a1754 only store what we need to in the class 2003-02-13 04:52:08 +00:00
Dana Jansens
e451c08ac5 alloc colors only when needed, and free them properly on destruction 2003-02-13 04:50:57 +00:00
Dana Jansens
ec2113ca5b move comment 2003-02-12 06:20:48 +00:00
Dana Jansens
7a2a461582 only store what we need to in the class 2003-02-12 06:18:28 +00:00
Dana Jansens
dd89811570 alloc colors.. i think! 2003-02-12 06:14:25 +00:00
Dana Jansens
6b1381d69d add mising ()s 2003-02-12 01:22:51 +00:00
Dana Jansens
a0738a0197 more efficient/nicer way to get the XColor values 2003-02-12 01:22:31 +00:00
Dana Jansens
044c8ae416 start of pseudo init 2003-02-12 01:14:02 +00:00
Dana Jansens
5e0fc865a8 start of pseudocolor init 2003-02-12 01:12:34 +00:00
Dana Jansens
325a909dcd move printf.. 2003-02-12 00:42:19 +00:00
Dana Jansens
9faca110ac kill all the old commented vars in rendercontrol.hh
add some preliminary vars in pseudorendercontrol.hh
2003-02-12 00:34:22 +00:00
Dana Jansens
72ff846dbb make all the rendering code in RenderControl. use true/pseudo RenderControl classes just for reducing the pixel32 data to the appropriate bitdepth. 2003-02-12 00:27:32 +00:00
Dana Jansens
f30b2a8908 can draw icons in truecolor! 2003-02-12 00:10:45 +00:00
Dana Jansens
e1473968b4 increment x 2003-02-12 00:03:18 +00:00
Dana Jansens
3147ad1a60 start on the rendering images code 2003-02-11 23:58:33 +00:00
Dana Jansens
555facb9c7 free the surfaces' pixeldata after rendering it 2003-02-11 22:38:29 +00:00
Dana Jansens
aceea3c081 add skeleton for RenderControl::drawImage 2003-02-11 22:17:02 +00:00
Dana Jansens
2808ab5bad add RenderControl::drawMask 2003-02-11 22:10:50 +00:00
Dana Jansens
58847af218 store the pixel32 data in the surface so it can be reused 2003-02-11 21:50:06 +00:00
Dana Jansens
e429ce39de new key code with keyboard grabs and such, thanks to ManMower. Kills the "key leak" bug, and makes everything work better and faster! woot 2003-02-11 21:05:50 +00:00
Dana Jansens
30cef0ceca add _NET_DESKTOP_LAYOUT and _NET_SHOWING_DESKTOP 2003-02-10 15:13:24 +00:00
Dana Jansens
43f958996b use a solid color for the default background 2003-02-10 02:30:52 +00:00
Dana Jansens
a4c8a839a3 layout fixes, give widgets a default texture, etc. 2003-02-10 02:27:58 +00:00
Dana Jansens
c26e5ea751 set the _text 2003-02-10 01:39:45 +00:00
Dana Jansens
5673ab7e70 use parentrelative when theres no texture set 2003-02-09 23:39:54 +00:00
Dana Jansens
115fedf432 use the c++ std cheaders 2003-02-09 23:07:54 +00:00
Dana Jansens
74cfb1b4c1 signed ints instead of unsigned ints again. less pain. pain bad. 2003-02-09 22:40:47 +00:00
Dana Jansens
ef231de58a mad optimizations 2003-02-08 08:59:24 +00:00
Dana Jansens
188e5cd537 udpate to new api 2003-02-08 08:14:02 +00:00
Dana Jansens
f51f1c775f stacked cycling menu works now. add a highlighted flag to otk widgets 2003-02-08 08:13:02 +00:00
Dana Jansens
b555cd12e7 rm the headers that are no longer existing 2003-02-08 07:43:25 +00:00
Dana Jansens
f9659acd11 add the new size class' header 2003-02-08 07:34:06 +00:00
Dana Jansens
99cd843fc6 Brand spankin new widgets for otk (Label and Button).
Add a new Size class.
Rect, Point, and Size are immutable classes.
Size uses *UNSIGNED* ints. This is causing me headaches * a bajillion right now, so we'll see about that.
2003-02-08 07:33:48 +00:00
Dana Jansens
c3e4f97d87 make "make dist" work, compiler flags cleanups 2003-02-06 06:19:46 +00:00
Dana Jansens
7c8c9e998f new swig build system. much better. yay. 2003-02-05 15:38:29 +00:00
Dana Jansens
67fbe8354f dont make wrap a subdir of otk 2003-02-05 10:48:37 +00:00
Dana Jansens
423367e8cd move the otk wrapper stuff into its own dir 2003-02-05 10:39:14 +00:00
Dana Jansens
a5a712f9ae provide pkg-config info for libotk 2003-02-05 09:40:08 +00:00
Dana Jansens
5072931be0 use bevel width on the top/bottom too 2003-02-05 07:40:56 +00:00
Dana Jansens
871e777e55 use the widget's bevel width 2003-02-05 07:37:48 +00:00
Dana Jansens
cdd260ab2e don't wait for x events if any timers fired 2003-02-05 07:22:37 +00:00
Dana Jansens
64ac7d0537 80 cols 2003-02-05 07:14:22 +00:00
Dana Jansens
53bed5e59a 80 cols 2003-02-05 07:11:46 +00:00
Dana Jansens
a612136ba5 various fixes to the otk widgets 2003-02-05 05:48:01 +00:00
Dana Jansens
8df1670bc2 add an adjustable event mask 2003-02-05 05:06:33 +00:00
Dana Jansens
5833652604 add operator== 2003-02-04 23:33:07 +00:00
Dana Jansens
b8735c759a enforce a min size 2003-02-04 15:07:39 +00:00
Dana Jansens
9e6b0d5a8d update children first 2003-02-04 15:04:30 +00:00
Dana Jansens
0bc098ca56 dont include config.h from .. 2003-02-04 14:05:48 +00:00
Dana Jansens
9dd156ce51 add the headers, and install them 2003-02-04 13:52:51 +00:00
Dana Jansens
51a41b9b76 all new stacked cycling code. so much sexy.
add an openbox_active_window client message that lets you specify if you want the window to be raised and/or unshaded.
2003-02-04 08:51:47 +00:00
Dana Jansens
afb8a28120 support pseudocolor and greyscale displays by, using solid colors instead of gradients 2003-02-03 07:41:25 +00:00
Dana Jansens
e6bfddf849 add pseudorendercontrol 2003-02-03 07:06:45 +00:00
Dana Jansens
e0eaee86de include stdio 2003-02-03 05:06:10 +00:00
Dana Jansens
dec0760d87 dont let this run past the buffer edge 2003-02-03 01:46:11 +00:00
Dana Jansens
8d99c55c6c new merry theme updates 2003-02-02 22:54:52 +00:00
Dana Jansens
8287fb2889 check before deleting 2003-02-02 22:40:20 +00:00
Dana Jansens
17a3f1e268 rm configuration class 2003-02-02 22:30:49 +00:00
Dana Jansens
2fe0c0ee5c rm this shit 2003-02-02 22:30:22 +00:00
Dana Jansens
d73d4247e7 no more configuration.hh 2003-02-02 22:30:06 +00:00
Dana Jansens
aaf297a136 delete the surface in destructor 2003-02-02 22:29:39 +00:00
Dana Jansens
5802cf6109 add operator== 2003-02-01 12:23:55 +00:00
Dana Jansens
2a2f4306f8 maximizing! 2003-02-01 05:26:06 +00:00
Derek Foreman
4527e71d19 added compile time check for client endianness 2003-02-01 02:38:16 +00:00
Derek Foreman
9a47b042de another attempt at fixing strange endian issues 2003-02-01 02:31:30 +00:00
Derek Foreman
f92804ec20 Get the bit shifts from the client, not server 2003-02-01 02:18:02 +00:00
Derek Foreman
bbe129c40e properly support "cross endian" configurations 2003-02-01 01:41:35 +00:00
Dana Jansens
2eccd90f1b fieron default 2003-02-01 01:22:31 +00:00
Dana Jansens
3d8a035a9a try appending our shit to the path, and not import config in the cc 2003-01-31 06:01:16 +00:00
Dana Jansens
0833d51eae changes to the MERRY style 2003-01-30 23:06:24 +00:00
Dana Jansens
bb6ac36d41 working popups for moving/resizing 2003-01-30 21:11:04 +00:00
Dana Jansens
225d4302d0 popups for moving and resizing 2003-01-30 20:51:41 +00:00
Dana Jansens
38345bf32e make parents dirty when a widget resizes
save the fixed_width/fixed_height when doing an internalResize
2003-01-30 20:06:08 +00:00
Dana Jansens
1c61a333db add debug print 2003-01-30 03:27:09 +00:00
Dana Jansens
88662942c6 FIERON default 2003-01-29 23:24:33 +00:00
Derek Foreman
b2896c3e5f Change the order of the color components in a pixel32 on big endian 2003-01-29 23:22:33 +00:00
Dana Jansens
6ab3dc5cb4 smaller font 2003-01-29 23:17:32 +00:00
Dana Jansens
edcd972630 add merry's style as an option 2003-01-29 23:16:11 +00:00
Dana Jansens
6584ed2159 make .py rule 2003-01-29 22:43:58 +00:00
Dana Jansens
1862fd052f ignore errors when proxying configurerequests 2003-01-29 08:50:52 +00:00
Dana Jansens
0c05f5d9c7 allow for ignoring x errors. 2003-01-29 08:50:30 +00:00
Dana Jansens
0f2bcee0cd allow for ignoring x errors.
make grab() sunc immediately and ungrab() flush
2003-01-29 08:50:12 +00:00
Dana Jansens
c5b2de2e1a link the test apps properly 2003-01-29 08:49:34 +00:00
Dana Jansens
e767dd79c7 only ignore NotifyGrab again 2003-01-29 00:47:32 +00:00
Dana Jansens
a8a5b519b0 rm debug print 2003-01-29 00:46:19 +00:00
Dana Jansens
530da070ff ignore more focus events, and also crossing events from grabs 2003-01-29 00:44:55 +00:00
Dana Jansens
d3baca5228 move the font up in the file so its generated before renderstyle 2003-01-28 04:53:01 +00:00
Dana Jansens
2a195d71e2 include gettext.h from ../src 2003-01-28 03:26:59 +00:00
Dana Jansens
674f2609c2 include gettext from ../src 2003-01-28 03:24:45 +00:00
Dana Jansens
619864a172 a little reordering.. useless really 2003-01-28 00:31:20 +00:00
Dana Jansens
5de751b104 setStyle in the constructor 2003-01-28 00:30:57 +00:00
Dana Jansens
25b8526603 font use the same ifdefs as label.hh 2003-01-27 23:47:17 +00:00
Dana Jansens
1eb12ca4ad adjust chicldren relative to self, not root 2003-01-27 19:37:26 +00:00
Dana Jansens
9999922623 setStyle in the constructor of each child widget 2003-01-27 19:11:09 +00:00
Dana Jansens
f55419c19b rm an old stdio include 2003-01-27 19:05:33 +00:00
Dana Jansens
dd275c8ad8 describe -DSWIG_GLOBAL 2003-01-27 18:58:50 +00:00
Dana Jansens
8c5e8ab94a otk should not be including anything in src/ 2003-01-27 18:58:08 +00:00
Dana Jansens
d600bf8d58 openbox scripting works again! config too! 2003-01-27 15:59:28 +00:00
Dana Jansens
340c4c956e add new shit 2003-01-27 14:11:56 +00:00
Dana Jansens
5face4c6f3 use otk objects in the ob scripts by importing otk 2003-01-27 13:42:41 +00:00