RGB and Gradient Rel. 4.2 UPDATE

RGB and Gradient Rel. 4.2 UPDATE

Postby ukoenig » Thu Aug 07, 2014 3:20 pm

Hello,

I finished the RGB-tool

1. NO function ChooseColor() is needed
2. Overview of all possible color-selections : color-picker, 48 basic-colors
--- Metro, dark and bright-colors from COLOR.ch
3. Adjust BRIGHTNESS. The original color is shown releated to a brightness-selection
4. Color-brightness - calculation
5. A selected color creates a brightness-gradient with bottom = selected color and top = white
6. Easy create a GRADIENT.
--- select a color and define as 1. or 2. gradient-color

DOWNLOAD ( 1.64 MB ) :
http://www.service-fivewin.de/DOWNLOADS/RGB1.zip

The startscreen
last selections are loaded from INI

Image

A selected color creates a GRADIENT to adjust the brightness
The selected color used at bottom, white on top

Image

To create a gradient
Select a color and add as 1. or. 2. gradient-color

Image

Select a color from COLORS.ch, the color-image or from the 48 basic-colors
You can adjust the BRIGHTNESS of a selected color

Image

Best Regards
Uwe :lol:
Last edited by ukoenig on Mon Jun 06, 2022 11:46 am, edited 15 times in total.
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

Re: RGB and Gradient-painter Rel. 1.1 DOWNLOAD

Postby ukoenig » Thu Aug 07, 2014 5:59 pm

Hello,

Update 1.2
Added dark-adjust

DOWNLOAD ( 1.64 MB ) :
http://www.service-fivewin.de/DOWNLOADS/RGB2.zip

Image

Best regards
Uwe :lol:
Last edited by ukoenig on Mon Jun 06, 2022 11:47 am, edited 1 time in total.
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

Re: RGB and Gradient-painter Rel. 1.2 UPDATE

Postby Carles » Fri Aug 08, 2014 5:55 am

Uwe,

Very easy and confortable for me ! i'll use it -> Thanks :D
Salutacions, saludos, regards

"...programar es fácil, hacer programas es difícil..."

UT Page -> https://carles9000.github.io/
Forum UT -> https://discord.gg/bq8a9yGMWh
Skype -> https://join.skype.com/cnzQg3Kr1dnk
User avatar
Carles
 
Posts: 1134
Joined: Fri Feb 10, 2006 2:34 pm
Location: Barcelona

Re: RGB and Gradient-painter Rel. 2.1 UPDATE

Postby ukoenig » Mon Aug 11, 2014 10:53 am

New update with some new sections added.

DOWNLOAD
http://www.pflegeplus.com/DOWNLOADS/RGB3.zip

INI changed to PROJECT.dbf to save all Your designs
Selection of COLORS.ch changed from buttons to xBrowse
< Save > button added, to save all selections to a PROJECT.dbf - record.
Added dialog minimize / maximize

Image

Preview inside a folder using up to 5 possible sets
Usage :
1. create Your gradient
2. select the button < Gradient-selection >
3. select the folderpage You want to save the gradient or color
4. use the button < SAVE >, to save the 5 sets to PROJECT.dbf


The skip-buttons can be used, to change a project.
The main-screen will be updated.

Image

PROJECT.dbf to save up to 5 gradients to each record
Right mouseclick on column < START >, selects a project to be shown at startup.

Image

Standalone FOLDER.exe to scan the PROJECT.dbf and show the 5 saved gradient / color-sets.
( source included )

Image

Maybe 3 changes in COLORS.ch needed, to reach the BRIGHT-level ?

#define CLR_HBLUE 16711680 // RGB( 0, 0, 255 )
#define CLR_HRED 255 // RGB( 255, 0, 0 )
#define CLR_HMAGENTA 16711935 // RGB( 255, 0, 255 )


NEW

#define CLR_HBLUE 16744576 // RGB( 128, 128, 255 )
#define CLR_HRED 8421631 // RGB( 255, 128, 128 )
#define CLR_HMAGENTA 16744703 // RGB( 256, 128, 255 )


Image

Image

Image

Best regards
U :lol: we
Last edited by ukoenig on Mon Jun 06, 2022 11:50 am, edited 2 times in total.
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

Re: RGB and Gradient-painter Rel. 2.2 UPDATE

Postby ukoenig » Tue Aug 12, 2014 3:51 pm

More extensions added :

DOWNLOAD ( 2.68 MB ) :
http://www.service-fivewin.de/DOWNLOADS/RGB4.zip

calculate numeric to RGB - values

Image

New in FOLDER.exe

Image

Project-selection inside FOLDER.exe

Image

Best regards
Uwe :lol:
Last edited by ukoenig on Mon Jun 06, 2022 11:51 am, edited 2 times in total.
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

Re: RGB and Gradient-painter Rel. 2.2 UPDATE

Postby Carles » Wed Aug 13, 2014 8:35 am

Uwe,

Good tool for me... thanks !
Salutacions, saludos, regards

"...programar es fácil, hacer programas es difícil..."

UT Page -> https://carles9000.github.io/
Forum UT -> https://discord.gg/bq8a9yGMWh
Skype -> https://join.skype.com/cnzQg3Kr1dnk
User avatar
Carles
 
Posts: 1134
Joined: Fri Feb 10, 2006 2:34 pm
Location: Barcelona

Re: RGB and Gradient-painter Rel. 2.2 UPDATE

Postby ukoenig » Wed Aug 13, 2014 11:40 am

Carles,

I can add optional a CIRCLE-gradient if needed, with a defined position top / left of the center-color

Image

Visual-design of a CIRCLE-gradient moving the 1. gradient-color around.
top = 0 and left = 0, shows the 1. color centered.

Image

best regards
Uwe :?:
Last edited by ukoenig on Mon Jun 06, 2022 12:13 pm, edited 2 times in total.
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

Re: RGB and Gradient-painter Rel. 3.1 UPDATE ( Grd.-Circle )

Postby ukoenig » Sun Aug 17, 2014 5:16 pm

CIRCLE-gradient added and many improvements :
the 48 basiccolors are defined as button now, to show the focus.

DOWNLOAD ( 2.4 MB ) :
http://www.service-fivewin.de/DOWNLOADS/RGB5.zip

New button < Circle-edit >

Image

create CIRCLE-gradient

Image

Select button < Gradient-selection > from main-screen and
add style to folder-page color, normal or circle-gradient
The button < Show function > displays the used function inside a multiline get.

Image

Image

Style-preview in section project of the 5 possible selections for each record.
Double-click cell < PROJECT > for text-changing.
Right mouseclick in cell < START > selects a project to be shown at startup.
Button < NEW > creates a new project as a copy of the active project.
Using button < SAVE > saves all settings to the active project.
In case You want to create a new color / gradient-set, create a new project-record at first.

Image

Best regards
Uwe :lol:
Last edited by ukoenig on Mon Jun 06, 2022 12:14 pm, edited 7 times in total.
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

Re: RGB and Gradient-painter Rel. 3.1 UPDATE ( Grd.-Circle )

Postby bpd2000 » Mon Aug 18, 2014 4:15 am

Nice
Regards, Greetings

Try FWH. You will enjoy it's simplicity and power.!
User avatar
bpd2000
 
Posts: 153
Joined: Tue Aug 05, 2014 9:48 am
Location: India

Re: RGB and Gradient Rel. 3.1 UPDATE ( Grd.-Circle+Diagonal )

Postby ukoenig » Mon Aug 18, 2014 10:13 am

I'm working on a solution, to add a DIAGONAL-gradient using the 2 defined colors
A new button < Diagonal > is added, to design the gradient.

Image

DIAGONAL-gradient-design with 2 colors defined as gradient on main-dialog

Image

Add to project ( folderpage )
You can mix color, vert./horiz.-gradient, circle and diagonal

Image

Preview from inside the project-section

Image

best regards
Uwe :lol:
Last edited by ukoenig on Mon Jun 06, 2022 12:15 pm, edited 3 times in total.
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

RGB and Gradient Rel. 3.1 UPDATE (Grd.Circle+Diagonal)

Postby ukoenig » Tue Aug 19, 2014 2:27 pm

I finished all gradient-paintings
( All needed functions are included in the standalone-viewer FOLDER.exe / prg )

DOWNLOAD ( 2.37 MB ) :
http://www.service-fivewin.de/DOWNLOADS/RGB6.zip

Image

The new painter
move the 2. color to any position You like, using the 2 sliders :

Image

Image

Add a selected color or gradient to a folderpage.
The related function is displayed in the multiline-get
< SAVE > the result to Your selected project, if You like.
Be careful, not to overwrite a finished project. Instead create
a new project before and select it.

Image

Project-edit

Image

Best regards
Uwe :lol:
Last edited by ukoenig on Mon Jun 06, 2022 12:17 pm, edited 2 times in total.
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

Re: RGB and Gradient Rel. 4.1 UPDATE

Postby ukoenig » Wed Feb 04, 2015 2:47 pm

Hello,

I finished the new release of the RGB-tool
( a better logic and handling than the old release )
The RGB-tool is completely rewritten.
It can handle all possible color-selections and shows the result as numeric or RGB-value.
Because of NON transparent using DIAGONAL, I only used square and circle

1. 3 color-support of building a square gradient ( New )
2. easy result-check using a template and compile a test
3. all colorselections using xBrowse
4. modify color light / dark from only one gradient-pick ( New )
5. display of all RGB- and color-values
6. New compile-template

7. All selections / values can be saved to a INI

There will be a extension in the next release, using a project-DBF ( like used in old releases )

Usage :
1. pick a color from one of the five possible solutions
-- The selected color will be displayed as
-- color-bmp, numeric and RGB-value
2. A calculation of bright or dark is included.
3. From the gradient white - selected color - black
-- You can adjust the color-brightness.
-- Use the button < use color > to accept the change
4. on the right/top You can activate 3 checkboxes for a selected color
-- to be used for the gradient-display
5. select a button for a preview of the square- or circle-gradient
6. From inside the preview You can adjust the gradient-position
7. The result is shown on the main-gradient
8. Save to INI to display the selections for the next start

DOWNLOAD ( 2,8 MB ) :
http://www.service-fivewin.de/DOWNLOADS/RGB7.zip

Image

SQUARE-preview with the possibility to change the position

Image

Source

Image

CIRCLE-preview with the possibility to change the position

Image

Source

Image

COMPILE TEST.prg
replace the source after
ACTIVATE DIALOG with selected SQUARE- or CIRCLE-code
check the MAKE-file !!!


Image

CIRCLE compiled

Image

SQUARE compiled

Image

Best Regards
Uwe :lol:
Last edited by ukoenig on Mon Jun 06, 2022 12:19 pm, edited 13 times in total.
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

Re: RGB and Gradient Rel. 4.1 UPDATE

Postby bpd2000 » Wed Feb 04, 2015 3:31 pm

Excellent
Thank you, Sir
Regards, Greetings

Try FWH. You will enjoy it's simplicity and power.!
User avatar
bpd2000
 
Posts: 153
Joined: Tue Aug 05, 2014 9:48 am
Location: India

Re: RGB and Gradient Rel. 4.1 UPDATE

Postby ukoenig » Thu Feb 05, 2015 1:36 pm

Many new functions added.
I will include a new DOWNLOAD after some more tests

What's new :

1. added a project-manager
--- save any color and style to the project-DBF
2. switch / change the style of the Gradient-preview on main-dialog.
--- there are error-messages using wrong combinations :
--- sample1 : selected circle needs 2 colors. 1 or 3 selected colors displays a error-message
--- sample2 : selected gradient needs 2 or 3 colors. Only 1 defined color displays a error-message
--- sample3 : selected color needs only 1 color. More defined, displays a error-message
3. define at startup, if a color-set must be loaded from INI or project-DBF


The new functions :

Image

The new PROJECT-EDIT
save any of Your selections as project to the DBF
a style can be changed and saved
The < select >-button shows the selection of a project on the main-dialog


Image

Best Regards
Uwe :lol:
Last edited by ukoenig on Mon Jun 06, 2022 12:20 pm, edited 1 time in total.
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

Re: RGB and Gradient Rel. 4.1 UPDATE

Postby ukoenig » Sun Feb 08, 2015 12:48 pm

Added a new section TEXT
Now it is possible, to check the textcolor related to any created background.
The textcolor can be selected like the other colors.
Any ideas, adding still more ?

Image

Added a new button, to display color and gradient-array.
Makes it easy copy and past values to Your application


Image

Best Regards
Uwe :lol:
Last edited by ukoenig on Mon Jun 06, 2022 12:21 pm, edited 1 time in total.
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

Next

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 49 guests