Commit graph

54 commits

Author SHA1 Message Date
Dana Jansens
07fe0980be declare variables at the beginning of blocks, because it is nice to do so. and polite? 2007-03-02 22:11:46 +00:00
Mikael Magnusson
6930bdb289 fix a crash when using mirrorhorizontal and resizing a window to width 1 2006-09-07 11:40:01 +00:00
Mikael Magnusson
766e7ae9bf rename osx to mirrorhorizontal and split to splitvertical, this will make all themes that used them not look right so update them 2006-08-24 17:57:01 +00:00
Mikael Magnusson
d9f14c1d01 update copyright step 2 2006-08-22 16:44:18 +00:00
Mikael Magnusson
e8c19d0c99 patch from thorsten vollmer to fix bug #2506, interlaces and bevels not drawing correctly 2006-08-20 07:15:18 +00:00
Mikael Magnusson
50292dbd75 a "osx" gradient, it is like horizontal but mirrors in the center 2006-08-01 20:34:35 +00:00
Mikael Magnusson
b3fa579a61 so it wont leak because ob uses a hash for colors, but lets free the colors anyway 2006-06-14 19:47:28 +00:00
Mikael Magnusson
7ca93b9ff2 okay that parent didnt point where i thought 2006-06-14 19:27:32 +00:00
Mikael Magnusson
18cd2fa938 forgot i was in the middle of something 2006-06-14 19:23:27 +00:00
Mikael Magnusson
335a0eecc7 initial commit of split gradient, looks like some RrColor leaking perhaps 2006-06-14 19:20:46 +00:00
Dana Jansens
740c5b2a20 consistant glib type usage 2003-10-15 03:59:35 +00:00
Dana Jansens
16f46c296d no tabs 2003-09-17 07:44:49 +00:00
Dana Jansens
c4e4760c41 add copyright headers, adjust --version output to include copyright, and --help output to not include version output. 2003-09-17 07:32:52 +00:00
Dana Jansens
72f3195821 interlace is drawn first, so bevels n shit cover it 2003-09-02 19:16:56 +00:00
Dana Jansens
e91814e99f add interlaceColor, and support interlaced gradients 2003-09-01 03:10:47 +00:00
Dana Jansens
6e86a42c4b use RrColorGC 2003-08-31 17:02:10 +00:00
Dana Jansens
08f1f213f1 split the increment into a separate macro 2003-08-05 10:51:19 +00:00
Dana Jansens
3a26c8aa8e move the dekstop file to data/ 2003-08-01 15:00:22 +00:00
Dana Jansens
5be0a82a35 use ob_debug for any debug printing and only display the output when its a debug build or when --debug is passed to it 2003-07-24 06:02:38 +00:00
Dana Jansens
230abdc5a0 draw the bevel stuff in the pixel data buffer so parent-relative stuff can use it. 2003-07-24 05:33:41 +00:00
Dana Jansens
9d896233ec missed setting 'current' at the end of the pyramid gradient 2003-06-29 08:33:19 +00:00
Dana Jansens
5cd0ed57ac do horz grads without any multipliaction 2003-06-24 18:56:47 +00:00
Dana Jansens
1e882b6271 made all the gradients work with integer math. removed the pipecross and rectangle gradietns tho cuz they are ugly and i dont want to code that bullshit cuz they are ugly. 2003-06-24 18:54:18 +00:00
Dana Jansens
dc60657acf integer math for gradients. horz vert and diags and pipecross work so far. 2003-06-24 18:16:23 +00:00
Dana Jansens
bb6b616b9c more namespacing with Rr* 2003-06-21 02:39:55 +00:00
Dana Jansens
33ec08ea22 more namespacing with Rr* 2003-06-21 02:30:14 +00:00
Dana Jansens
c100b72c5d more namespacing with Rr* 2003-06-21 02:26:50 +00:00
Dana Jansens
092616de9a rename pixel32/16 to RrPixel32/16 2003-06-21 02:00:42 +00:00
Dana Jansens
3f32dfa87e this is going to break the kernel/ building.
lots of modifications to the render API, prefixing everything, making proper
names for everything. the structures are not hidden/opaque yet, but the naming scheme of the public API works much better now.
2003-06-20 07:58:51 +00:00
Dana Jansens
cd12a2eae5 simply the render interface by not requiring the setting of all the areas. only take a w and h in paint(). best font layout ever. 2003-06-20 02:17:23 +00:00
Dana Jansens
ad30e7092b slight optimizations, and make the last 4 gradients work properly 2003-06-20 00:46:53 +00:00
Dana Jansens
6e93be1d2e remove non-planar surfaces 2003-06-20 00:05:51 +00:00
Derek Foreman
b8f05e5388 gl.h shouldn't be required when not enabling gl 2003-05-25 18:36:19 +00:00
Derek Foreman
db705f406c all grads done 2003-05-25 03:36:12 +00:00
Derek Foreman
f9505b23b7 pipecross 2003-05-25 03:17:29 +00:00
Derek Foreman
d6652d0a90 rectangle and diagonal grads yay
gl > *
2003-05-25 02:46:35 +00:00
Derek Foreman
48a75b80d6 gl is starting. it's gonna get really ugly really fast, folks 2003-05-25 00:42:02 +00:00
Dana Jansens
e4aa5c6905 allocate the border_color's gc 2003-05-21 02:59:02 +00:00
Derek Foreman
76425437d4 of by one error in pyramid, rectangle, and crosspipe 2003-05-20 19:07:27 +00:00
Dana Jansens
0de48102a4 remove debug prints 2003-05-20 16:49:46 +00:00
Dana Jansens
895cd9f43d reindent the file....
but while i'm at it:
  - add support for bevels/borders on solid textures.
  - reverse the colors in the rectangle gradient, the pipecross and pyramid
    ones may need to be reversed as well.
2003-05-20 07:30:27 +00:00
Derek Foreman
ad4c3aad45 PipeCross 2003-05-18 23:31:13 +00:00
Derek Foreman
b24e6fbfa1 there's the rect grad. now stop bugging me :( 2003-05-18 23:27:31 +00:00
Derek Foreman
e328dc2f60 is that a rectangle grad? damned if I know 2003-05-18 23:15:37 +00:00
Derek Foreman
d46e6627bf change badly named offsets
add stubs for rectangle and pipecross
2003-05-18 19:24:08 +00:00
Derek Foreman
b72a3853fc PYRAMID PARTY PART 2!!! 2003-04-15 02:24:03 +00:00
Derek Foreman
8f5e1a0fcb PYRAMID PARTY!!! 2003-04-15 02:21:00 +00:00
Derek Foreman
6bec1de545 remove asserts pending sanity check. 2003-04-06 04:33:10 +00:00
Derek Foreman
4260bfcb05 added flakey parentrel for solids and some mean spirited asserts 2003-04-06 04:29:45 +00:00
Dana Jansens
5f44c45f06 dont render gradients that are missing 2003-03-23 19:43:15 +00:00