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
Dana Jansens
26d95a5286
dont install otk.py for now
2003-01-10 07:49:57 +00:00
Dana Jansens
678bb52123
stop including otk in the openbox module. makes the wm hooger for no good cause. simply import all the otk shit. add otk.hh
2003-01-10 06:40:31 +00:00
Dana Jansens
a6f1d6b82f
add a header for including everything for otk
2003-01-10 06:34:57 +00:00
Dana Jansens
e0878c9fc2
typosnsuch
2003-01-10 03:15:50 +00:00
Dana Jansens
915b171bef
install the shadow wrappers
2003-01-10 03:15:11 +00:00
Dana Jansens
385de86d90
add the shadow class wrappers
2003-01-10 03:12:42 +00:00
Dana Jansens
345d957e1e
new python callbacks data, infrastructure. going to rework bindings code. cvs wont work for shit now. but thats life.
2003-01-09 22:54:31 +00:00
Dana Jansens
93811226bb
ignore much fewer focus events. only ignore focusout's from activating a grab
2003-01-08 09:10:34 +00:00
Dana Jansens
b8f89ee368
ignore focus events from grabs
2003-01-08 09:05:38 +00:00
Dana Jansens
d5cff9617c
rm _focus, its no longer used
2003-01-08 08:43:41 +00:00
Dana Jansens
fade5572e3
handle focus events SOO much more simply. and it works. fuck yes. at last. i think i can rest.
2003-01-08 08:40:03 +00:00
Dana Jansens
bd748f7402
rework focus event handling. does it basically like ob2 did now. and it seems to work too :>
2003-01-08 07:41:17 +00:00
Dana Jansens
3b4d453f90
rm old debug printfs
2003-01-08 06:47:13 +00:00
Dana Jansens
9bfc977827
make focus work without races.
2003-01-08 05:26:49 +00:00
Dana Jansens
bcc9f6812b
stop compressing enter/leave events.. this might be responsible for the focu sfuckups?
2003-01-07 22:02:43 +00:00
Dana Jansens
e5eb783aa2
ignore the right about of unmap notifies
2003-01-07 19:54:00 +00:00
Dana Jansens
a2de94e91e
in synch mode, chew up 100% cpu, cuz we cant select on the display's fd
2003-01-07 19:24:38 +00:00
Dana Jansens
6062fe404c
handle unmaps better. all thanks to acroread sending wacky unmap events
2003-01-07 09:30:00 +00:00
Dana Jansens
f1ce4e660f
send config req's to the master too
2003-01-07 07:34:11 +00:00
Dana Jansens
19eb13679d
abort() on X errors that aren't BadWindow errors
2003-01-07 07:24:39 +00:00
Dana Jansens
4c768d5d63
use client messages to switch desktops/move windows between desktops
2003-01-07 04:51:55 +00:00
Dana Jansens
85b0dc80cf
add comment for findScreen
2003-01-07 04:06:34 +00:00
Dana Jansens
711a7d8c56
supply python routines for next/prev workspace
2003-01-07 02:24:43 +00:00
Dana Jansens
1f8b8425ae
killa a debug printf
2003-01-06 07:32:26 +00:00
Dana Jansens
f3865bb12c
ignore num/caps/scroll lock in events
2003-01-06 06:02:22 +00:00
Dana Jansens
d13f021b8b
add support for wm_window_role
2003-01-04 19:09:52 +00:00
Dana Jansens
83ff31f8bf
when a window focused that was the last focused already (this happens from grabs), dont unfocus it, just let it be
2003-01-04 06:02:42 +00:00
Dana Jansens
bf404e092b
make the frame window override-redirect
2003-01-04 05:18:33 +00:00
Dana Jansens
1fd2c6c2b6
s/True/true/
2003-01-04 04:51:49 +00:00
Dana Jansens
c33ccf60cb
make the frame window override-redirect
2003-01-04 04:49:53 +00:00
Dana Jansens
867d3d9a94
rm consts that wont compile on some libfreetype's
2003-01-04 01:31:47 +00:00
Dana Jansens
8c4357fccb
keep track of the last input event time
2003-01-04 01:18:24 +00:00
Dana Jansens
527697d6ae
add -shadow
2003-01-04 00:12:21 +00:00
Dana Jansens
06388d73b7
restart works
2003-01-03 22:06:08 +00:00
Dana Jansens
86a2bed659
remove the block on shutdown
2003-01-03 20:10:25 +00:00
Dana Jansens
89e6d5c0e6
add/lower work
2003-01-03 18:21:28 +00:00
Dana Jansens
37c2e0f329
dont print every focus/crossing event
2003-01-03 18:17:54 +00:00
Dana Jansens
9ec1f7cdba
fire the master first
2003-01-02 21:51:30 +00:00
Dana Jansens
a6661d587c
bindings work. now they have a reset key too.
2002-12-31 06:59:46 +00:00
Dana Jansens
d7a30f93b5
so close to keybindings. wont link for now.
2002-12-30 22:27:46 +00:00
Dana Jansens
5fdd493d0d
buttons have their pixmaps!
2002-12-27 10:07:57 +00:00
Dana Jansens
8bae1352cb
fix braces
2002-12-27 09:25:40 +00:00
Dana Jansens
8c2dfe5de4
deal with when nothing has focus anymore
2002-12-27 09:18:54 +00:00
Dana Jansens
3a4f91b537
enter/leave and focus events are working beautifully
2002-12-27 08:33:57 +00:00
Dana Jansens
e9ec2ce0eb
some focus improvements..
2002-12-26 19:55:55 +00:00
Dana Jansens
236f68056d
fix booge bug that makes widgets not change their background when changing from a texture to a color when a color had been set previously
2002-12-26 18:08:48 +00:00
Dana Jansens
2b2f81b93c
support the button pressed resources better
2002-12-26 17:22:53 +00:00
Dana Jansens
5029fc97c8
add newish stuff
2002-12-26 12:03:13 +00:00
Dana Jansens
e32610e7b1
better support for gettext
2002-12-26 11:58:57 +00:00
Dana Jansens
150c28620e
build fixes for evetdispatcher
2002-12-26 10:58:05 +00:00
Dana Jansens
2ae2b257d3
might not compile... ob uses its own widgets now, which subclass only the base otk widget. working on compressing focus events and handling them etc.
2002-12-25 22:02:34 +00:00
Dana Jansens
41bdbec9c6
set CXXFLAGS better
2002-12-25 20:28:12 +00:00
Dana Jansens
b34824a4e2
global python scripts. client motion/resizing is all done via python now
2002-12-25 04:54:44 +00:00
Dana Jansens
f9107b5c5a
use the -I's in CFLAGS for swig
2002-12-25 02:05:39 +00:00
Dana Jansens
bf49e76420
python. no more guile. python.
2002-12-24 23:31:38 +00:00
Dana Jansens
5a139f7263
add the swig generated files
2002-12-24 21:27:39 +00:00
Dana Jansens
5869cc29ef
wrap otk with swig/python
2002-12-24 21:27:16 +00:00
Dana Jansens
06de24ec66
more api cleanups
2002-12-20 15:33:58 +00:00
Dana Jansens
723739dafe
api cleanups
2002-12-20 15:26:34 +00:00