Atualizações Hwgui 25/08/2023

Projeto HwGui - Biblioteca visual para Harbour/xHarbour

Moderador: Moderadores

Avatar do usuário
Itamar M. Lins Jr.
Administrador
Administrador
Mensagens: 8028
Registrado em: 30 Mai 2007 11:31
Localização: Ilheus Bahia
Curtiu: 2 vezes
Curtiram: 1 vez

Atualizações Hwgui 25/08/2023

Mensagem por Itamar M. Lins Jr. »

Olá!
Hwgui faz desenhos agora, triângulos, círculos, e outros.

Código: Selecionar todos

2023-08-25 12:52 UTC+0300 Alexander Kresin <alex@belacy.ru>
  * source\gtk\hpanel.prg
    * HPanel(): Hide(), Show() methods added, as in winapi version

2023-08-25 11:10 UTC+0300 Alexander Kresin <alex@belacy.ru>
  * utils/tutorial/tutor_eng.xml
    * Module added "A replacement for a colorized tab" to "Advanced using of controls" section

2023-08-25 09:34 UTC+0300 Alexander Kresin <alex@belacy.ru>
  * source\gtk\hedit.prg
  * source\winapi\hedit.prg
    ! Fixes

2023-08-24 20:07 UTC+0300 Alexander Kresin <alex@belacy.ru>
  * source\gtk\draw.c
    ! Fixes
  * utils/tutorial/tutor_eng.xml
    * Module updated "Drawing on the board"

2023-08-24 17:00 UTC+0300 Alexander Kresin <alex@belacy.ru>
  * source\gtk\draw.c
  * source\winapi\draw.c
    * hwg_CircleSector( hDC, xc, yc, radius, iAngleStart, iAngle [, hPen] )
      hwg_CircleSector_Filled( hDC, xc, yc, radius, iAngleStart, iAngle  [, hPen | lPen] [, hBrush] ) added
  * utils/tutorial/tutor_eng.xml
    * Module updated "Drawing on the board"
  * include/hwgextern.ch
    Requests for new functions added

2023-08-24 13:20 UTC+0300 Alexander Kresin <alex@belacy.ru>
  * source\gtk\draw.c
    * Some internal changes to make drawing more compatible with winapi version logic
    * hwg_Triangle( hDC, x1, y1, x2, y2 [, hPen] ),
      hwg_Triangle_Filled( hDC, x1, y1, x2, y2 [, hPen [, hBrush]] ) added
  * source\winapi\draw.c
      hwg_Triangle(), hwg_Triangle_Filled() added
  * utils/tutorial/tutor_eng.xml
    * Module updated "Drawing on the board"
  * include/hwgextern.ch
    Requests for new functions added

2023-08-23 20:54 UTC+0300 Alexander Kresin <alex@belacy.ru>
  * source\gtk\draw.c
    * Synhronized with winapi changes
  * utils/tutorial/tutor_eng.xml
    * Module updated "Drawing on the board"

2023-08-23 17:06 UTC+0300 Alexander Kresin <alex@belacy.ru>
  * source\winapi\draw.c
    * Few drawing functions modified:
      hwg_Rectangle( hDC, x1, y1, x2, y2 [, hPen] )
      hwg_Ellipse( hDC, x1, y1, x2, y2 [, hPen] )
      hwg_Roundrect( hDC, x1, y1, x2, y2, iRadius [, hPen] )
      hwg_Rectangle_Filled( hDC, x1, y1, x2, y2 [, hPen [, hBrush]] )
      hwg_Ellipse_Filled( hDC, x1, y1, x2, y2 [, hPen [, hBrush]] )
      hwg_Roundrect_Filled( hDC, x1, y1, x2, y2, iRadius [, hPen [, hBrush]] )
  * source\winapi\hbrowse.prg
    ! Small fix, provided by Andrey Tarasov
  * utils/tutorial/tutor_eng.xml
    * Module updated "Drawing on the board"
Captura de tela 2023-08-25 082949.png
Saudações,
Itamar M. Lins Jr.
Saudações,
Itamar M. Lins Jr.
alxsts
Colaborador
Colaborador
Mensagens: 3107
Registrado em: 12 Ago 2008 15:50
Localização: São Paulo-SP-Brasil

Atualizações Hwgui 25/08/2023

Mensagem por alxsts »

Olá!

Pelo que sei, há muito tempo a HwGUI tem esta capacidade: Drawing functions.

Mas este componente Board eu não conhecia.
[]´s
Alexandre Santos (AlxSts)
Avatar do usuário
JoséQuintas
Administrador
Administrador
Mensagens: 20415
Registrado em: 26 Fev 2007 11:59
Localização: São Paulo-SP
Curtiram: 1 vez

Atualizações Hwgui 25/08/2023

Mensagem por JoséQuintas »

alxsts escreveu:Mas este componente Board eu não conhecia.
Esse é novo.
Dá pra dizer que HBOARD é um controle do usuário, pra fazer o que quiser.
Pode substituir vários outros, apenas com a adição dos desenhos diferentes.
E é o que vém sendo feito.
Uma vez se tratando apenas de desenhos, foi possível padronizar pra Windows e Linux.

Foi dito que isso começou por causa do Windows 10.
Na prática não é isso.
Faz tempo que comento dos problemas em telas 4k.
Pelo jeito a API Windows está sendo abandonada, e não tem atualização.
Nem sei por enquanto tempo o que existe hoje vai continuar funcionando.
Se estão matando computadores, o que dizer de software.

Nota:
Desenhar na tela é diferente de desenhar no controle.
Um traço na tela é eventual, prepara, desenha, finaliza.
No controle é diferente, prepara, faz tudo que precisa fazer, e só depois finaliza, senão ficaria lento demais.
José M. C. Quintas
Harbour 3.2, mingw, multithread, gtwvg, fivewin 25.12, dbfcdx, MySQL, ADOClass, PDFClass, SefazClass, (hwgui), (hmg3), (hmg extended), (oohg), PNotepad, ASP, (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