Author Topic: Testing cairo enabled eStylerLite  (Read 2615 times)

Yuri

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 2
  • Posts: 16
    • View Profile
Testing cairo enabled eStylerLite
« on: April 28, 2017, 01:08:00 pm »
Hi,

I made available a test release of eStylerLite which uses cairo for controls painting. Using cairo allows antialiasing for titlebar and button texts. This new dll allows also titlebar buttons replacement on the fly. Bitmaps are not supported for buttons background painting.

The new binaries are available here:

https://github.com/altsan/os2-estyler/releases

Be aware that this is not a full installer, only a zip distribution. You need to overwrite your existing files and add new bitmaps.
Also at least one desktop crash has been reported, be sure to have a alternative boot available for removing the dll in case of failures.

thanks,

Yuri




haraldkamm

  • Guest
Re: Testing cairo enabled eStylerLite
« Reply #1 on: April 28, 2017, 06:15:32 pm »
Hi Yuri,

thanks for your estyler enhancement! Unfortunately it doesn't work:

SYS1804: The system cannot find the file AFCUTL05.

Best regards, Harald

RBRi

  • Newbie
  • *
  • Thank You
  • -Given: 3
  • -Receive: 0
  • Posts: 18
    • View Profile
Re: Testing cairo enabled eStylerLite
« Reply #2 on: April 28, 2017, 06:20:19 pm »
SYS1804: The system cannot find the file AFCUTL05.

Styling itself works here but i got the same error if i try to start the estyler.exe

Andy Willis

  • Full Member
  • ***
  • Thank You
  • -Given: 0
  • -Receive: 9
  • Posts: 158
    • View Profile
Re: Testing cairo enabled eStylerLite
« Reply #3 on: April 29, 2017, 06:25:17 am »
I copied AFCUTL05 from from styler2 but it apparently was also updated from the version I have:
Failed to insert the dialog pages in the settings notebook.

Yuri

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 2
  • Posts: 16
    • View Profile

Andy Willis

  • Full Member
  • ***
  • Thank You
  • -Given: 0
  • -Receive: 9
  • Posts: 158
    • View Profile
Re: Testing cairo enabled eStylerLite
« Reply #5 on: April 29, 2017, 08:25:31 pm »
OK, that was not where the problem lies.  It turns out to be the same version I have according to the MD5.  The problem may be the version of estyler I am using.  I will check another system and see what it has.

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Thank You
  • -Given: 254
  • -Receive: 49
  • Posts: 1707
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: Testing cairo enabled eStylerLite
« Reply #6 on: May 03, 2017, 03:07:33 am »
Hi

I'm getting this message. Any suggestions on what I did wrong?

Regards
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Yuri

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 2
  • Posts: 16
    • View Profile
Re: Testing cairo enabled eStylerLite
« Reply #7 on: May 03, 2017, 06:06:35 pm »
are you sure is it loading the correct estlrlrs.dll? maybe you didn't replace the old one.

Yuri


Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Thank You
  • -Given: 254
  • -Receive: 49
  • Posts: 1707
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: Testing cairo enabled eStylerLite
« Reply #8 on: May 03, 2017, 07:29:39 pm »
Hi Yuri. Yes, the old DLL was my issue. I'm trying it.

By the way, do you have any further information about afcutl05.dll so I can include it on the EDM/2 API Documentation Page? Documentation, source code, etc.

Regards
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Alex Taylor

  • Full Member
  • ***
  • Thank You
  • -Given: 10
  • -Receive: 14
  • Posts: 218
    • View Profile
Re: Testing cairo enabled eStylerLite
« Reply #9 on: May 04, 2017, 05:51:23 pm »
By the way, do you have any further information about afcutl05.dll so I can include it on the EDM/2 API Documentation Page? Documentation, source code, etc.

It lives in one of your github repos, you know.  :)

https://github.com/OS2World/UTIL-WPS-Styler_2/tree/master/utildll

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Thank You
  • -Given: 254
  • -Receive: 49
  • Posts: 1707
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: Testing cairo enabled eStylerLite
« Reply #10 on: May 04, 2017, 09:22:12 pm »
oops.. I forgot checking that. I will see if I can document something on the EDM/2 wiki.
How should we call that API? UtilDLL? AFCUTL05 does not sound that nice.

By the way I tried to document the file first:  Afcutl05.dll‎

Regards
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Andreas Schnellbacher

  • Sr. Member
  • ****
  • Thank You
  • -Given: 1
  • -Receive: 15
  • Posts: 257
    • View Profile
Re: Testing cairo enabled eStylerLite
« Reply #11 on: May 04, 2017, 10:39:13 pm »
How should we call that API? UtilDLL? AFCUTL05 does not sound that nice.
The DLL is a private library, apparently used by Alessandro in all his projects:
AFC = Alessandro Felice Cantatore (thanks, Tom)
UTL = Utilities
05 = Version 5
Do the expanded terms sound better?

Unfortunately the code itself is also poorly documented. Even chosen function prefixes are nowhere described.
« Last Edit: May 05, 2017, 06:06:37 pm by Andreas Schnellbacher »

Andy Willis

  • Full Member
  • ***
  • Thank You
  • -Given: 0
  • -Receive: 9
  • Posts: 158
    • View Profile
Re: Testing cairo enabled eStylerLite
« Reply #12 on: May 05, 2017, 02:01:58 am »
Once I found where the existing DLLs were, I am now able to use the new stylerlite.  It is not compatible with Styler/2.  Even adding smartwin.exe to the exempt list Smartwin will not launch if stylerlite is enabled, or if it is not enabled then smartwin will launch but crash if you then enable stylerlite.

Andy Willis

  • Full Member
  • ***
  • Thank You
  • -Given: 0
  • -Receive: 9
  • Posts: 158
    • View Profile
Re: Testing cairo enabled eStylerLite
« Reply #13 on: May 05, 2017, 02:33:03 am »
Once I found where the existing DLLs were, I am now able to use the new stylerlite.  It is not compatible with Styler/2.  Even adding smartwin.exe to the exempt list Smartwin will not launch if stylerlite is enabled, or if it is not enabled then smartwin will launch but crash if you then enable stylerlite.
OK, I found changed the font to Bold and it does not crash Smartwin, changed it back to normal font and still no crash so not sure why it was crashing before.

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Thank You
  • -Given: 254
  • -Receive: 49
  • Posts: 1707
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: Testing cairo enabled eStylerLite
« Reply #14 on: May 05, 2017, 05:02:38 pm »
Hi.

I'm naming that library "AFCUtil" on the EDM/2 Wiki. It is more to have it identified somewhere on the Internet. Maybe on the future it can be documented properly.

Regards
Martin Iturbide
OS2World NewsMaster
... just share the dream.