Dana Jansens
|
893faed7b1
|
order things to work correctly for now, with the python loading and the the config setting
|
2003-02-16 18:09:06 +00:00 |
|
Dana Jansens
|
2cbb95c3db
|
change the default titlebar layout
|
2003-02-16 17:18:54 +00:00 |
|
Dana Jansens
|
5cd8680f74
|
make them const
|
2003-02-16 16:37:02 +00:00 |
|
Dana Jansens
|
dfe7f46bb7
|
provide == and != for DialogButtons
|
2003-02-16 16:36:07 +00:00 |
|
Dana Jansens
|
c8789ccdbf
|
execute files such that i can track if an exception was thrown in it
|
2003-02-16 16:33:37 +00:00 |
|
Dana Jansens
|
8ed79248e7
|
when python_exec fails on user.py:
a) remove all the bindings
b) exec defaults.py
c) show a dialog message
|
2003-02-16 16:33:12 +00:00 |
|
Dana Jansens
|
8cbabdcb93
|
import the config module properly.
shit all over stderr and exit when something from the config module couldn't be loaded
|
2003-02-16 16:32:21 +00:00 |
|
Dana Jansens
|
bb4990af2b
|
dont wrap pointerassassin
|
2003-02-16 16:31:40 +00:00 |
|
Dana Jansens
|
8269fc2b39
|
set the gravity to center the dialog.
size it off the minSize which is already calculated, not off the size() with is nto
|
2003-02-16 16:24:01 +00:00 |
|
Dana Jansens
|
e07ea84865
|
only fire the clickHandler if the button is released with the cursor over it
|
2003-02-16 15:54:23 +00:00 |
|
Dana Jansens
|
bbd9cb9928
|
rm the warnings for now
|
2003-02-16 13:59:28 +00:00 |
|
Dana Jansens
|
cee0482c78
|
make DialogButtons take char*'s meaning that the label will always be Utf-8
|
2003-02-16 12:30:34 +00:00 |
|
Dana Jansens
|
213df2814b
|
only hide the dialog if a default button exists when enter is hit
|
2003-02-16 12:25:42 +00:00 |
|
Dana Jansens
|
c71738f3f4
|
let you .focus() a messagedialog
|
2003-02-16 12:23:35 +00:00 |
|
Dana Jansens
|
010e12c42a
|
only show() if the dialog is not already visible
|
2003-02-16 12:20:10 +00:00 |
|
Dana Jansens
|
7a41f7730d
|
add otk::MessageDialog
|
2003-02-16 11:59:12 +00:00 |
|
Dana Jansens
|
f325abe4e4
|
use the current size, which will get capped by max/mins
|
2003-02-16 11:48:43 +00:00 |
|
Dana Jansens
|
33e87b3969
|
dont forget borders/bevels
|
2003-02-16 11:39:54 +00:00 |
|
Dana Jansens
|
afe1d9e3a8
|
still draw the background when no text will fit
|
2003-02-16 10:05:29 +00:00 |
|
Dana Jansens
|
c7d4901f41
|
set the style
|
2003-02-16 09:37:21 +00:00 |
|
Dana Jansens
|
532697b21a
|
put the desktop names in the right variable
|
2003-02-16 09:08:34 +00:00 |
|
Dana Jansens
|
a89166a14f
|
cleaner while loop
|
2003-02-16 08:03:49 +00:00 |
|
Derek Foreman
|
73a584981e
|
Fixed a bug in grab handling for chains
(wasn't updating _grabbed or the current binding tree position in some cases)
|
2003-02-16 06:55:11 +00:00 |
|
Dana Jansens
|
fd76689470
|
dont provide a default icon in the python stuff, itll come from the style
|
2003-02-15 12:47:05 +00:00 |
|
Dana Jansens
|
d2dcef4675
|
initialize _font
|
2003-02-15 12:46:40 +00:00 |
|
Dana Jansens
|
7fe3301e7e
|
Add the "obsetroot" tool. Use it to set the root background.
|
2003-02-14 23:05:59 +00:00 |
|
Dana Jansens
|
299dc47a6b
|
rm shit that no longer applies
|
2003-02-14 22:53:24 +00:00 |
|
Dana Jansens
|
f65e21ce1d
|
use ctdio
|
2003-02-14 21:51:54 +00:00 |
|
Dana Jansens
|
0d59a002c0
|
sync before changing the ignore_errors state
|
2003-02-14 20:05:47 +00:00 |
|
Dana Jansens
|
e3f6e0ff81
|
make reduceDepth set the im->data member, with newly allocated data, so the pixelData in the surface isn't reduced
|
2003-02-14 19:18:19 +00:00 |
|
Dana Jansens
|
53b5c60a5e
|
check if the window is focused before unfocusing it
|
2003-02-14 18:31:52 +00:00 |
|
Dana Jansens
|
7393a17bf9
|
use the same alogo to pick a color in allocateColor as in reduceDepth, break it off into an inline function.
|
2003-02-14 17:13:26 +00:00 |
|
Dana Jansens
|
f78761c8dd
|
just because we think we're focused doesnt mean we actually are, so send the focus change to the xserver anyways.
|
2003-02-14 11:09:01 +00:00 |
|
Dana Jansens
|
4a90b1b48e
|
better default icon, same thing, placed better
|
2003-02-14 10:24:54 +00:00 |
|
Dana Jansens
|
29d030cc3e
|
use an icon smaller than the surface if possible
|
2003-02-14 08:47:37 +00:00 |
|
Dana Jansens
|
0b466d7136
|
kill debug prints
|
2003-02-14 08:20:54 +00:00 |
|
Dana Jansens
|
01a37dfe18
|
allocate colors in pseudocolor from the map we allocate in the rendercontrol
|
2003-02-14 08:01:44 +00:00 |
|
Dana Jansens
|
49974f6916
|
dont put DEBUG: in the printf
|
2003-02-14 06:22:29 +00:00 |
|
Dana Jansens
|
50002f2ceb
|
add a default icon
|
2003-02-14 05:48:31 +00:00 |
|
Dana Jansens
|
e936cba57e
|
rm debug print
|
2003-02-14 03:44:00 +00:00 |
|
Dana Jansens
|
2f2d6e736e
|
layout the titlebar right, was adding too much space when buttons were removed from the titlebar
|
2003-02-14 03:13:26 +00:00 |
|
Dana Jansens
|
059bc4dc24
|
add a Config class with config data from the scripts.
set up the functions for loading a style from a file.
use the Config class throughout instead of reading out of the python namespace all the time.
|
2003-02-14 03:04:23 +00:00 |
|
Derek Foreman
|
1431cd1958
|
8bpp pseudo color. it's horrid code. the graphics are horrid.
I have done many terrible things and I'm so very very sorry. :(
|
2003-02-14 01:49:27 +00:00 |
|
Dana Jansens
|
238355f190
|
put the Python.h header in the .cc
|
2003-02-13 23:44:47 +00:00 |
|
Dana Jansens
|
54e85b2599
|
only keep fullscreen windows in the top layer when they or a relative is focused
|
2003-02-13 23:44:32 +00:00 |
|
Dana Jansens
|
8446eaedc7
|
scale images down to the available surface size
|
2003-02-13 22:45:11 +00:00 |
|
Dana Jansens
|
576f03f629
|
don use gradient for titlebar.. waste of cycles
|
2003-02-13 10:38:04 +00:00 |
|
Dana Jansens
|
e71fb6c66e
|
| NOT & YOU BASTARD
|
2003-02-13 10:30:17 +00:00 |
|
Dana Jansens
|
07305ec718
|
display icons in the frame titlebar!
|
2003-02-13 10:23:22 +00:00 |
|
Dana Jansens
|
1e58c863bb
|
render images properly, minus the scaling
|
2003-02-13 10:19:25 +00:00 |
|