PDA

Click to See Complete Forum and Search --> : Some Free Source Code


Gaming_World
Aug 3rd, 2001, 01:38 AM
The zip fire that is attached to this message contains some neifty code that I wrote. The code includes code to draw and use circle buttons, and gradations. To do the custom gradation, I had to write a function that takes a long color code, and converts it to RPG. There are also a bunch of other functions that may come in handy. Feel free to download, use, modify, and redisturbute the code. I would like it if you posted any modifitions of the code back up here, or e-mailed them to me so I can.

The code doesn't contain any comments, so you will have to read though it to figure out how to use the code. The custom procuiders are pretty much self-exploritory. It should be easy for any advanced programer to figure out how to recreate the code. The program runs as is, as long as you have the common dialog control (which I couldn't admagin some one with out it).

The current code allows the buttons to be horizantal, along with verchicel.
The verchiel button does not work properly, I am working on figuring out why. Also, in the current verson, the starting gradant randomly changers
The current verson allows you to use 16 bit color mode, instead of just 24 bit.
Now, the current verson allows drag and drop. Right-click on the frame you wish to move, then drag it, then drop it.

plenderj
Aug 3rd, 2001, 02:26 AM
Gradient looks nice.

Gaming_World
Aug 3rd, 2001, 02:28 AM
How do you know if the gradiants look nice, if the bottons don't work?

plenderj
Aug 3rd, 2001, 02:32 AM
Because when I ran the app, it created a gradient automatically for me.

Gaming_World
Aug 3rd, 2001, 02:33 AM
Forgot I put that in. Look at the border color of the buttons. When the mouse is not over it is red, When the mouse is over it is blue, when you click, it is yellow.

billfaceuk
Aug 3rd, 2001, 04:40 AM
Buttons very flickery but all the gradients were very nice