Commit graph

15 commits

Author SHA1 Message Date
Dana Jansens
e71fb6c66e | NOT & YOU BASTARD 2003-02-13 10:30:17 +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
58847af218 store the pixel32 data in the surface so it can be reused 2003-02-11 21:50:06 +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
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
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
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
0ba441fe8f remove the XImage from Surface 2003-01-20 01:53:36 +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
2005c344bd surface started 2003-01-18 03:52:58 +00:00