PNG no Windows

Projeto HwGui - Biblioteca visual para Harbour/xHarbour

Moderador: Moderadores

Avatar do usuário
JoséQuintas
Administrador
Administrador
Mensagens: 20267
Registrado em: 26 Fev 2007 11:59
Localização: São Paulo-SP

PNG no Windows

Mensagem por JoséQuintas »

2025-04-29 16:00 UTC-0300 Jose Quintas jmcquintas-gmail.com
* samples/demoall.prg
! moved dateselect and altdpicker to page "get"
! moved monthcal to page "others"
! removed page "date"
* samples/demoimage1.prg
* samples/demoimage2.prg
! variable oDlg for dialogs, from PUBLIC to LOCAL
* samples/imageview.prg
* source/winapi/drawwidg.prg
! win LoadImage() accept resize, ok for sendmessage() not for DrawIcon()
! DrawIconEx() can resize and can draw png
! Changed from hwg_DrawIcon() to hwg_DrawIconEx()
! Test imageview on W11, load ico and png and ok including resize
! These options was available only to GTK on sample
Como estou mexendo nos exemplos, aproveitei pra testar.
Eu tinha alterado isso há tempos na hwgui, acrescentado o hwg_DrawIconEx()
No imageview.prg estava liberado ICO e PNG só pra GTK.
Liberei geral.
Acabo de testar e funcionou direitinho.
png.png
Defini na opção resize x4
José M. C. Quintas
Harbour 3.2, mingw, gtwvg mt, fivewin 25.04, multithread, dbfcdx, MySQL, ADOClass, PDFClass, SefazClass, (hwgui mt), (hmg3), (hmg extended), (oohg), PNotepad, ASP, stored procedure, stored function, Linux (Flagship/harbour 3.2)
"The world is full of kings and queens, who blind our eyes and steal our dreams Its Heaven and Hell"

https://github.com/JoseQuintas/
Responder