Recent

Author Topic: New version of BGRABitmap  (Read 193164 times)

lainz

  • Hero Member
  • *****
  • Posts: 3593
    • Lainz
Re: New version of BGRABitmap
« Reply #570 on: May 15, 2020, 04:17:30 am »
Another problem with MSEGUI

Code: Pascal  [Select][+][-]
  1. Free Pascal Compiler version 3.3.1-r43969 [2020/01/18] for i386
  2. Copyright (c) 1993-2019 by Florian Klaempfl and others
  3. Target OS: Win32 for i386
  4. Compiling button.pas
  5. Compiling C:\Users\Damian\Documents\GitHub\bgragui\bgraguicontrols\msegui\bgbutton.pas
  6. Compiling C:\Users\Damian\Documents\GitHub\bgrabitmap\bgrabitmap\bgrabitmap.pas
  7. Compiling C:\Users\Damian\Documents\GitHub\bgrabitmap\bgrabitmap\bgramseguibitmap.pas
  8. Compiling C:\Users\Damian\Documents\GitHub\bgrabitmap\bgrabitmap\bgratext.pas
  9. bgramsegui_text.inc(5,32) Error: Identifier idents no member "Font"
  10. bgramsegui_text.inc(6,18) Error: Identifier idents no member "DrawString"
  11. bgramsegui_text.inc(16,63) Error: Identifier idents no member "Font"
  12. bgramsegui_text.inc(18,35) Error: Identifier idents no member "GetStringWidth"
  13. bgramsegui_text.inc(19,35) Error: Identifier idents no member "Font"
  14. bgramsegui_text.inc(20,18) Error: Identifier idents no member "DrawString"
  15. bgramsegui_text.inc(30,60) Error: Identifier idents no member "GetStringWidth"
  16. bgramsegui_text.inc(31,68) Error: Identifier idents no member "GetStringWidth"
  17. bgramsegui_text.inc(34,55) Error: Identifier idents no member "Font"
  18. bgramsegui_text.inc(35,68) Error: Identifier idents no member "Font"
  19. bgramsegui_text.inc(37,32) Error: Identifier idents no member "Font"
  20. bgramsegui_text.inc(38,18) Error: Identifier idents no member "DrawString"
  21. bgramsegui_text.inc(45,33) Error: Identifier idents no member "GetStringWidth"
  22. bgramsegui_text.inc(45,72) Error: Identifier idents no member "Font"
  23. bgramsegui_text.inc(64,23) Error: Identifier idents no member "GetStringWidth"
  24. bgramsegui_text.inc(78,18) Error: Identifier idents no member "FillRect"
  25. bgratext.pas(272,15) Error: Identifier idents no member "Font"
  26. bgratext.pas(273,15) Error: Identifier idents no member "Font"
  27. bgratext.pas(274,15) Error: Identifier idents no member "Font"
  28. bgratext.pas(275,15) Error: Identifier idents no member "Font"
  29. bgratext.pas(495,3) Warning: Unreachable code
  30. bgratext.pas(505,20) Error: Identifier idents no member "Font"
  31. bgratext.pas(506,20) Error: Identifier idents no member "Font"
  32. bgratext.pas(507,20) Error: Identifier idents no member "Font"
  33. bgratext.pas(509,20) Error: Identifier idents no member "Font"
  34. bgratext.pas(545,19) Error: Identifier idents no member "Font"
  35. bgratext.pas(546,19) Error: Identifier idents no member "Font"
  36. bgratext.pas(547,19) Error: Identifier idents no member "Font"
  37. bgratext.pas(696,22) Error: Identifier idents no member "Font"
  38. bgratext.pas(699,24) Error: Identifier idents no member "Font"
  39. bgratext.pas(702,24) Error: Identifier idents no member "Font"
  40. bgratext.pas(708,24) Error: Identifier idents no member "Font"
  41. bgratext.pas(743,22) Error: Identifier idents no member "Font"
  42. bgratext.pas(746,24) Error: Identifier idents no member "Font"
  43. bgratext.pas(749,24) Error: Identifier idents no member "Font"
  44. bgratext.pas(1102,12) Error: Identifier idents no member "Font"
  45. bgratext.pas(1103,12) Error: Identifier idents no member "Font"
  46. bgratext.pas(1104,12) Error: Identifier idents no member "Font"
  47. bgratext.pas(1179,12) Error: Identifier idents no member "Font"
  48. bgratext.pas(1180,12) Error: Identifier idents no member "Font"
  49. bgratext.pas(1181,89) Error: Identifier idents no member "Font"
  50. bgratext.pas(1182,20) Error: Identifier idents no member "Font"
  51. bgratext.pas(1183,12) Error: Identifier idents no member "Font"
  52. bgratext.pas(1817) Fatal: There were 42 errors compiling module, stopping
  53. Fatal: Compilation aborted
  54.  

I did these steps to configure the IDE (Option 2 - Defines)
https://github.com/bgrabitmap/bgragui/tree/dev-bgragui#option-2---defines

First open 'mymseide' project that comes with mseide-msegui sources. Then add the options in the ide, and in the project options as well, and also in the include file.

Try compiling bgragui\examples\button with the IDE, I get these error messages.
« Last Edit: May 15, 2020, 04:41:11 am by lainz »
https://lainz.github.io - My Website
https://lazpaint.github.io/ - LazPaint Downloads

Fred vS

  • Hero Member
  • *****
  • Posts: 1760
    • StrumPract is the musicians best friend
Re: New version of BGRABitmap
« Reply #571 on: May 15, 2020, 06:04:01 am »
> Try compiling bgragui\examples\button with the IDE, I get these error messages.

Please, take a look at BGRAgui Github messages, all is solved there.
I use Lazarus 2.0.6 32/64 and FPC 3.2.0 32/64 on Debian 10.2 64 bit, Windows 10, Windows 7 32/64, Windows XP 32,  FreeBSD 64 and Mac OS X Snow Leopard 32.
Widgetset: fpGUI, MSEgui, Win32, GTK2, Qt, Carbon.

https://github.com/fredvs

circular

  • Hero Member
  • *****
  • Posts: 3333
    • Personal webpage
Re: New version of BGRABitmap
« Reply #572 on: May 15, 2020, 07:29:25 am »
I have EasyLazFreeType from lazarus\components\lazutils\easylazfreetype.pas

And in that file nowhere is included CharKerning.
Then the file is not up-to-date. Compare to:
https://svn.freepascal.org/svn/lazarus/trunk/components/lazutils/
Conscience is the debugger of the mind

lainz

  • Hero Member
  • *****
  • Posts: 3593
    • Lainz
Re: New version of BGRABitmap
« Reply #573 on: May 16, 2020, 01:51:40 am »
> Try compiling bgragui\examples\button with the IDE, I get these error messages.

Please, take a look at BGRAgui Github messages, all is solved there.

Thanks, I will commit the fix right now.

I have EasyLazFreeType from lazarus\components\lazutils\easylazfreetype.pas

And in that file nowhere is included CharKerning.
Then the file is not up-to-date. Compare to:
https://svn.freepascal.org/svn/lazarus/trunk/components/lazutils/

Ok, I see that. Seems that my trunk is older.  :)

Edit. I will try to download a new trunk to test, my current trunk is from January.
« Last Edit: May 16, 2020, 04:00:38 am by lainz »
https://lainz.github.io - My Website
https://lazpaint.github.io/ - LazPaint Downloads

circular

  • Hero Member
  • *****
  • Posts: 3333
    • Personal webpage
Re: New version of BGRABitmap
« Reply #574 on: May 16, 2020, 06:39:07 am »
The change was made very recently.

If you use svn on it you get can the update quickly.
Conscience is the debugger of the mind

kinlion

  • Jr. Member
  • **
  • Posts: 68
  • I Love Lazarus
Re: New version of BGRABitmap
« Reply #575 on: June 13, 2020, 01:20:55 pm »
hi, circular,

I just found a bug of the class TSVGGroup.
please look at https://forum.lazarus.freepascal.org/index.php/topic,50183.0.html

Thanks.

The change was made very recently.

If you use svn on it you get can the update quickly.
Lazarus 2.0.8 / FPC 3.0.4 / SVN 62944 / Win10x64

circular

  • Hero Member
  • *****
  • Posts: 3333
    • Personal webpage
Re: New version of BGRABitmap
« Reply #576 on: June 13, 2020, 03:48:39 pm »
BGRABitmap v11.1
https://github.com/bgrabitmap/bgrabitmap/releases

- add licence headers in source code
- refactor code generation for Unicode and colorspace
- add Makefile
- fix version check of LazFreeType
- fix group tag in SVG
Conscience is the debugger of the mind

lainz

  • Hero Member
  • *****
  • Posts: 3593
    • Lainz
Re: New version of BGRABitmap
« Reply #577 on: June 13, 2020, 05:42:17 pm »
Thanks,  8)
https://lainz.github.io - My Website
https://lazpaint.github.io/ - LazPaint Downloads

process_1

  • New Member
  • *
  • Posts: 13
Re: New version of BGRABitmap
« Reply #578 on: June 23, 2020, 03:25:34 pm »
circular,

All this will be soon available through Online Package Manager?

The second BGRA package available there (BGRA Controls) cannot be compiled on Ubuntu.
« Last Edit: June 23, 2020, 03:34:15 pm by process_1 »

circular

  • Hero Member
  • *****
  • Posts: 3333
    • Personal webpage
Re: New version of BGRABitmap
« Reply #579 on: June 23, 2020, 05:09:26 pm »
I don't see why it would not be on OPM.
Conscience is the debugger of the mind

 

TinyPortal © 2005-2018