Search found 30 matches: nclr

Return to advanced search

Re: Evaluate whether a color value is dark or light

Just curiosity, which version of FWH has this function?


I found the function in :
tarrdata.prg ( doesn't exist in FWH 18.01 )
C:\FWH\source\classes\tarrdata.prg"(2447,17):static function ContrastClr( nClr )

regards
Uwe :D
by ukoenig
Mon Feb 15, 2021 9:58 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Evaluate whether a color value is dark or light
Replies: 9
Views: 822

Re: Color palette

... 255, 255, 102 )8       nRGB( 255, 255, 153 )9       nRGB( 255, 255, 204 )  like You can see with this function ChooseColor( nClr ) the colors are not splitted to the same brightness-level I think that is the solution You are looking for :?: http://www.service-fivewin.de/IMAGES/colors2.jpg ...
by ukoenig
Sun Feb 07, 2021 6:49 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Color palette
Replies: 7
Views: 824

Re: Color palette

May I know why can't we use Microsoft Windows color picker? This is a standard Windows interface and all Windows users are familiar with its use and functionality.
This is available in fwh function ChooseColor( nClr ) ---> nClr
by nageswaragunupudi
Sun Feb 07, 2021 3:26 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Color palette
Replies: 7
Views: 824

Compilando tsbrowse.lib, tsbutton.lib con Harbour 3.2

... 801: Call of nonfunction in function cDrawCursor Warning W8057 \tsbrowse\source\function\TSBFUNCS.C 828: Parameter 'nClr' is never used in function cDrawCursor *** 31 errors in Compile *** Tsbutton Embarcadero C++ 7.40 for Win32 Copyright (c) 1993-2018 Embarcadero ...
by noe aburto
Wed Aug 26, 2020 4:44 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Compilando tsbrowse.lib, tsbutton.lib con Harbour 3.2
Replies: 1
Views: 310

Re: New FTDN September/Septiembre 2019 (FWH 19.09)

... PIXEL > ] ; [ FONT <oFont> ] ; [ PROMPT <cPrompt> ] ; [ <lNoPercentage: NOPERCENTAGE > ] ; [ <color: COLOR, COLORS> <nClrPane>, <nClrText> ] ; [ BARCOLOR <nClrBar>, <nClrBText> ] ; [ <lDesign: DESIGN> ] ; El medidor se muestra como una barra ...
by Antonio Linares
Fri Oct 18, 2019 8:38 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN September/Septiembre 2019 (FWH 19.09)
Replies: 1
Views: 2858

New FTDN September/Septiembre 2019 (FWH 19.09)

... PIXEL > ] ; [ FONT <oFont> ] ; [ PROMPT <cPrompt> ] ; [ <lNoPercentage: NOPERCENTAGE > ] ; [ <color: COLOR, COLORS> <nClrPane>, <nClrText> ] ; [ BARCOLOR <nClrBar>, <nClrBText> ] ; [ <lDesign: DESIGN> ] ; The meter is displayed as a horizontal ...
by Antonio Linares
Sun Oct 13, 2019 11:14 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN September/Septiembre 2019 (FWH 19.09)
Replies: 1
Views: 2858

Re: New FTDN December/Diciembre 2018 (FWH 18.12)

... MemoRead( "wndstate.txt" ) ) ; VALID ( MemoWrit( "wndstate.txt", oWnd:SaveState() ), .t. ) - METHOD Arrow( r1, c1, r2, c2, [nClr], [nPenSize] ) Dibuja una flecha desde el punto r1, c1 a r2, c2 con la punta de la flecha apuntando a r2, c2. * Funciones para el soporte de múltiple ...
by Antonio Linares
Mon Dec 31, 2018 2:44 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN December/Diciembre 2018 (FWH 18.12)
Replies: 1
Views: 1653

New FTDN December/Diciembre 2018 (FWH 18.12)

... MemoRead( "wndstate.txt" ) ) ; VALID ( MemoWrit( "wndstate.txt", oWnd:SaveState() ), .t. ) - METHOD Arrow( r1, c1, r2, c2, [nClr], [nPenSize] ) Draws an arrow from point r1,c1 to r2,c2 with arrow head pointing to r2,c2. * Multiple Monitors support functions: fwh\source\function\getsysin.prg ...
by Antonio Linares
Sun Dec 30, 2018 7:03 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN December/Diciembre 2018 (FWH 18.12)
Replies: 1
Views: 1653

Possible to add < roundrect > to FW_CreateBitmap ?

... diffeent points used for the drawing. These measurements are relative to the nRefWidth and nRefHeight. - Implemented Shapes: Line(s) { 'L', nClr, nPenSize, nRefWidth, nRefHeight, nRow1, nCol1, .... nRowN, nColN } Poligon { 'L', nClr, nPenSize, nRefWidth, nRefHeight, nRow1, nCol1, .... nRowN, ...
by ukoenig
Fri Mar 23, 2018 8:48 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Possible to add < roundrect > to FW_CreateBitmap ?
Replies: 0
Views: 531

Tsbrowse 9.0 Harbour FWH17.02 y Bc 7

... 800: Call of nonfunction in function cDrawCursor Warning W8057 C:\TSBROW~1\SOURCE\FUNCTION\TSBFUNCS.C 827: Parameter 'nClr' is never used in function cDrawCursor *** 31 errors in Compile *** Con la version de xHarbour no hay problemas Alguien tiene una version de TSbrowse ...
by devtuxtla
Mon Mar 20, 2017 5:05 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Tsbrowse 9.0 Harbour FWH17.02 y Bc 7
Replies: 8
Views: 1708

Tsbrowse 9.0 Harbour FWH17.02 y Bc 7

... 800: Call of nonfunction in function cDrawCursor Warning W8057 C:\TSBROW~1\SOURCE\FUNCTION\TSBFUNCS.C 827: Parameter 'nClr' is never used in function cDrawCursor *** 31 errors in Compile *** Con la version de xHarbour no hay problemas Alguien tiene una version de TSbrowse ...
by devtuxtla
Mon Mar 20, 2017 5:04 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Tsbrowse 9.0 Harbour FWH17.02 y Bc 7
Replies: 0
Views: 465

New FTDN November/Noviembre 2016 (FWH 16.11)

... For Says created from resource, this attribute is to be specified in the resource only. * TWindow Method SayText( cText, aRect, cAlign, oFont, nClrText, nClrBack, lBorder ) Applies to all derived classes like dialogs and controls To be used in o:bPainted. function FW_SayText( hDC or oWnd, cText, ...
by Antonio Linares
Wed Nov 30, 2016 12:07 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN November/Noviembre 2016 (FWH 16.11)
Replies: 4
Views: 3150

Re: New FTDN January/Enero 2016 (FWH 16.01)

... diffeent points used for the drawing. These measurements are relative to the nRefWidth and nRefHeight. - Implemented Shapes: Line(s) { 'L', nClr, nPenSize, nRefWidth, nRefHeight, nRow1, nCol1, .... nRowN, nColN } Poligon { 'L', nClr, nPenSize, nRefWidth, nRefHeight, nRow1, nCol1, .... nRowN, ...
by Antonio Linares
Fri Jan 29, 2016 8:48 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN January/Enero 2016 (FWH 16.01)
Replies: 3
Views: 2133

New FTDN January/Enero 2016 (FWH 16.01)

... diffeent points used for the drawing. These measurements are relative to the nRefWidth and nRefHeight. - Implemented Shapes: Line(s) { 'L', nClr, nPenSize, nRefWidth, nRefHeight, nRow1, nCol1, .... nRowN, nColN } Poligon { 'L', nClr, nPenSize, nRefWidth, nRefHeight, nRow1, nCol1, .... nRowN, ...
by Antonio Linares
Sun Jan 24, 2016 8:42 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN January/Enero 2016 (FWH 16.01)
Replies: 3
Views: 2133

Re: New FWH 15.02

... Rao, to change the textcolor on button-focus is still missing and I'm getting errors : Old ::SayText( ::cCaption, oRect:aRect, cAlign, ::oFont, nClr ) Changes from Rao ::SayText( ::cCaption, oRect:aRect, cAlign, ::oFont , XEval( nClr , ::lMover ) ) As well in the metro-sample, there is no return ...
by ukoenig
Sun Mar 01, 2015 10:54 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: New FWH 15.02
Replies: 4
Views: 1100
Next

Return to advanced search