Commit graph

357 commits

Author SHA1 Message Date
Dana Jansens
dd6f906848 compiles with the new render subsystem... 2003-01-23 00:14:44 +00:00
Dana Jansens
17d6318499 hardcode some bitmap masks 2003-01-23 00:08:50 +00:00
Dana Jansens
11f59d7925 render code fixes 2003-01-22 23:17:28 +00:00
Dana Jansens
42fbe726d4 add the pixel to the cache 2003-01-22 23:16:58 +00:00
Dana Jansens
1b5d52c716 save/load the pixel in the cache 2003-01-22 23:16:49 +00:00
Dana Jansens
3fe7bded58 increment the count 1 right off the start for the cache 2003-01-22 23:14:42 +00:00
Dana Jansens
77882b46db break when no more widgets showing 2003-01-22 23:11:30 +00:00
Dana Jansens
70e2ab8017 show recursive.. recursively 2003-01-22 23:02:17 +00:00
Dana Jansens
033e9843bc otk using new render shit.. supposedly 2003-01-22 22:46:16 +00:00
Dana Jansens
75e8fc2705 hardcoded renderstyle 2003-01-22 22:20:26 +00:00
Dana Jansens
c487295c75 part of a hardcoded style done 2003-01-22 20:14:28 +00:00
Derek Foreman
31c20197e5 added "pixel32" typedef for 32bit rgb data
added a single gradient texture type (vertical)
2003-01-22 02:51:33 +00:00
Derek Foreman
e6c12f8fd9 Added a secondary color for gradients 2003-01-22 02:50:58 +00:00
Derek Foreman
fabb6e8c1f testing a gradient texture now 2003-01-22 02:50:29 +00:00
Dana Jansens
25f0151154 drawSolidBackground seems to work :) 2003-01-20 20:20:06 +00:00
Dana Jansens
68a6fce53b dont try free the widget's pixmap until it is no longer in use 2003-01-20 19:28:57 +00:00
Dana Jansens
24e20d5ed6 add most of our style elements 2003-01-20 17:14:32 +00:00
Dana Jansens
f329167e4c specify projecting cap style 2003-01-20 17:07:42 +00:00
Dana Jansens
25a5b72909 add textures, render the textures color for now too! 2003-01-20 08:44:17 +00:00
Dana Jansens
0348a2f3ab add rendercolor class, with a cache of gcs for the colors 2003-01-20 07:07:13 +00:00
Dana Jansens
cfd8f9a658 XClearArea on expose in widget 2003-01-20 06:15:01 +00:00
Dana Jansens
d8d9b42777 widegt using new render system 2003-01-20 06:11:12 +00:00
Dana Jansens
0ba441fe8f remove the XImage from Surface 2003-01-20 01:53:36 +00:00
Dana Jansens
d953cfe73c use arrays instead of vectors for the screeninfos and rendercontrols. 2003-01-19 23:27:59 +00:00
Dana Jansens
6871cff3fa reorder how theyre destroyed, probably doesnt matter anyways. 2003-01-18 07:25:00 +00:00
Dana Jansens
9b6e5f9cf4 provide RenderControls to all otk from the display class. initialize them all there. try use bitshifts instead of color tables in the TrueRenderControl class for finding correct rgbs. Move the image/pixmap/xftdraw into the surface class, and it maintains them, recreating them when it resizes. 2003-01-18 07:23:28 +00:00
Dana Jansens
a4dd208a79 use a bitshift on the rgb values instead of a color table 2003-01-18 06:12:29 +00:00
Dana Jansens
f8edbc9083 add new shit 2003-01-18 04:57:05 +00:00
Dana Jansens
23940f9e03 add a new texture and style class 2003-01-18 04:56:30 +00:00
Dana Jansens
02066c5d0b starting to make render's interface 2003-01-18 04:31:16 +00:00
Dana Jansens
e3eeac5b6e colors are back 2003-01-18 04:10:17 +00:00
Dana Jansens
9f705c02b9 *** empty log message *** 2003-01-18 04:06:39 +00:00
Dana Jansens
2005c344bd surface started 2003-01-18 03:52:58 +00:00
Dana Jansens
4ac47a41a1 renders!!!!!!!!!!!!! 2003-01-18 03:09:33 +00:00
Dana Jansens
3fa1352428 blef 2003-01-18 03:03:44 +00:00
Dana Jansens
e6d6a1b6b5 change the render() interface 2003-01-18 02:38:29 +00:00
Dana Jansens
056c5b435d set the background pixmap 2003-01-18 02:34:54 +00:00
Dana Jansens
5b52a8f561 blef 2003-01-18 02:25:32 +00:00
Derek Foreman
1a5fb96b41 .cvsignore is a cvs meta file that tells cvs not to include specific files
in its diffs, commits, or updates.  we use this to keep machine generated
files from showing up in diffs.

this commit adds truerendercontrol.lo, a libtool generated file, to the
.cvsignore file.

kthx bye! *^_^*
2003-01-18 02:13:31 +00:00
Dana Jansens
d264dbca0c compiles 2003-01-18 01:52:02 +00:00
Dana Jansens
24b33ef877 fuc put it back 2003-01-18 00:51:11 +00:00
Dana Jansens
67bb7f8ce0 move render() 2003-01-18 00:48:23 +00:00
Dana Jansens
0dcbf985c1 start of new render code 2003-01-18 00:33:48 +00:00
Dana Jansens
29f331b63f use otk::Property properly, and the right atoms 2003-01-18 00:09:05 +00:00
Dana Jansens
9166d90f5d include all the required libs 2003-01-17 23:22:53 +00:00
Dana Jansens
00bc993775 correct a comment 2003-01-17 23:20:59 +00:00
Dana Jansens
08a28187c4 add new actions from the ewmh spec 2003-01-17 07:48:38 +00:00
Dana Jansens
58ff3f35c2 add commented code for future maybe 2003-01-17 06:07:20 +00:00
Dana Jansens
f29a2e9b07 add comment for bugfix 2003-01-17 04:25:23 +00:00
Dana Jansens
6bcfd5d218 don't use XMoveResize, it doesn't work for StaticGravity windows? 2003-01-17 03:53:38 +00:00
Dana Jansens
c7e157e53c use otk::Property to get the atom values 2003-01-16 08:47:21 +00:00
Dana Jansens
d8aff44a6a redo otk::Property. make it static. 2003-01-16 08:44:52 +00:00
Dana Jansens
8b0daa912e rm old bb shit that we dont use 2003-01-16 07:02:47 +00:00
Dana Jansens
a7207b7d83 make an optional bool param for ustring's other constructors 2003-01-16 05:21:39 +00:00
Dana Jansens
0f7e3be6b6 make an optional bool param for ustring's default constructor 2003-01-16 05:20:33 +00:00
Dana Jansens
3e82959514 extern "C" the C headers 2003-01-15 03:18:01 +00:00
Dana Jansens
e44d7697e5 add headers for select() 2003-01-15 03:17:46 +00:00
Dana Jansens
d9a5620f80 use the better defines for the xft version 2003-01-14 23:55:07 +00:00
Dana Jansens
219e18e744 display the build version as well as the runtime version of Xft 2003-01-14 22:49:59 +00:00
Dana Jansens
231f4dadab no long used with our Timer-ng! 2003-01-14 21:14:21 +00:00
Dana Jansens
a388c41df4 dont need unistd for gettimeofday 2003-01-14 20:33:19 +00:00
Dana Jansens
96a9196cbb otk::Timer-ng!! thanks ManMower for this shizznit! 2003-01-14 09:54:05 +00:00
Dana Jansens
7f2ee77204 use the byte size for utf strings, not the character size 2003-01-13 10:33:16 +00:00
Dana Jansens
3d012bcb47 move the utf8_skip table into the .cc 2003-01-13 10:06:41 +00:00
Dana Jansens
23686632d4 fix some bugs where looked up wrong offsets for characters in the utf8_skip table, move the table into the .cc 2003-01-13 10:06:26 +00:00
Dana Jansens
b989ec13f7 set the ustring's utf type so that it matches what it appended to it 2003-01-13 09:26:38 +00:00
Dana Jansens
4c71c71d57 set the global display var 2003-01-13 09:26:09 +00:00
Dana Jansens
c34f2a5241 add ustring.i which wraps otk::ustring for to/from python conversions 2003-01-13 08:48:43 +00:00
Dana Jansens
c97915f445 un-static otk::Display. add an operator* to it. make a global ob::display var. 2003-01-13 08:48:03 +00:00
Dana Jansens
55f1381860 ustring seems to be working! yay! 2003-01-13 07:12:08 +00:00
Dana Jansens
ef02a0c8ae almost done the ustring conversion 2003-01-13 05:54:40 +00:00
Dana Jansens
5a90d2b671 otk using ustring for shit that draws. expended its inferface yet some more. 2003-01-13 04:46:50 +00:00
Dana Jansens
4947902d26 more conversion to ustring. added more members 2003-01-13 03:51:48 +00:00
Dana Jansens
2594b98ce4 rm old comment 2003-01-13 02:11:04 +00:00
Dana Jansens
7fc226b654 proper code style 2003-01-13 01:41:25 +00:00
Dana Jansens
120ed7a650 setup the locale on the X server on start 2003-01-13 01:41:06 +00:00
Dana Jansens
8b73f6f025 begin conversion to ustring. add some more members. 2003-01-13 01:08:54 +00:00
Dana Jansens
b5a05bc197 more shit 2003-01-12 23:56:16 +00:00
Dana Jansens
711e499c70 start on otk::ustring (unicode/utf8) 2003-01-12 23:55:59 +00:00
Dana Jansens
bc99e6a420 remove userstring 2003-01-12 23:55:30 +00:00
Dana Jansens
f6be8c1e38 s/atom_hh/property_hh 2003-01-12 22:54:33 +00:00
Dana Jansens
805a5dddce default to drawing as utf8 2003-01-12 22:09:16 +00:00
Dana Jansens
eb752bc9c5 put userstring in otk:: 2003-01-12 21:23:31 +00:00
Dana Jansens
74061b4e2d use "userstring" for all user viewable strings 2003-01-12 21:17:26 +00:00
Dana Jansens
718be4c911 add 'userstring', a std::string with a flag for UTF-8 2003-01-12 19:42:44 +00:00
Dana Jansens
870f6cca3d ignore focus changes from grabs always. 2003-01-12 00:30:36 +00:00
Dana Jansens
cc86c196a2 dont need 2 of these comments 2003-01-11 19:44:16 +00:00
Dana Jansens
f1b9e2168d workaround for swig problem 2003-01-11 19:39:10 +00:00
Dana Jansens
8f8acc2493 rm prefixes for all elements in the otk namepsace 2003-01-11 19:17:13 +00:00
Dana Jansens
684405eec8 add \n's to errors 2003-01-11 18:30:52 +00:00
Dana Jansens
e8f5cf2940 valgrind fixes, and fixes for writing shit all over the environment. yay~!!!!!!! 2003-01-11 11:16:36 +00:00
Dana Jansens
ac06b3c5f3 rm debug prints 2003-01-11 07:17:22 +00:00
Dana Jansens
c637f1ffdd rm debug shit 2003-01-11 07:16:15 +00:00
Dana Jansens
19bfac5195 broken to all hell. oh no. 2003-01-11 07:13:49 +00:00
Dana Jansens
1729df46b5 make compiling 'work' with XINERAMA. it doesnt do anything tho 2003-01-11 04:40:21 +00:00
Dana Jansens
bcd808d084 add the BUTTONSDIR define 2003-01-10 22:50:20 +00:00
Dana Jansens
6c4711cbaa load buttons from the global dir if they arent found in the user dir 2003-01-10 22:40:16 +00:00
Dana Jansens
63c794a63f get the xft version from the library instead of from the headers 2003-01-10 20:33:05 +00:00
Dana Jansens
69f38b9f55 undefine the scriptdir, thats not where otk.py will be going 2003-01-10 08:36:01 +00:00
Dana Jansens
ec6951c2c7 dont build the otk wrappers for now 2003-01-10 08:32:51 +00:00