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
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
afb8a28120
support pseudocolor and greyscale displays by, using solid colors instead of gradients
2003-02-03 07:41:25 +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
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
2a195d71e2
include gettext.h from ../src
2003-01-28 03:26:59 +00:00
Derek Foreman
edcbed448e
Added diagonal and crossdiagonal gradients
2003-01-25 03:40:13 +00:00
Derek Foreman
d4e4e25e28
Added color reduction for 16bpp displays
2003-01-23 18:47:47 +00:00
Derek Foreman
bf3a40ad66
fixed incredibly embarassing cut'n'paste error in highlight
2003-01-23 05:58:56 +00:00
Derek Foreman
b45a68cc30
Fixed corners of bevels
2003-01-23 05:38:08 +00:00
Derek Foreman
312db4ca9a
Added bevels
2003-01-23 05:22:50 +00:00
Derek Foreman
b5963e0e53
added borders to gradient backgrounds
2003-01-23 04:18:05 +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
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
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
d8d9b42777
widegt using new render system
2003-01-20 06:11:12 +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
02066c5d0b
starting to make render's interface
2003-01-18 04:31:16 +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
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