GithubHelp home page GithubHelp logo

Comments (4)

vinsworldcom avatar vinsworldcom commented on August 17, 2024 1

@chcg seems to work fine for the use case I've been testing (set/getElementColour())!

Thank you! Shall I go ahead and close PR #277 ?

from pythonscript.

chcg avatar chcg commented on August 17, 2024

@vinsworldcom See checkin comment on:

Revision: 1e090b7
Message:

  • update to N++ interfaces for 8.4.7 with scintilla 5.3.1 and lexilla 5.2.0
  • still open issue: handling of colouralpha and related calls, currently just handled like colour, so alpha info is missing

So I'm aware of the problem. I think it needs to be handled by the pythonscript https://github.com/bruderstein/PythonScript/blob/master/PythonScript/src/CreateWrapper.py otherwise the changes to https://github.com/bruderstein/PythonScript/blob/master/PythonScript/src/ScintillaWrapperGenerated.cpp are lost on next integration of Scintilla changes.

Maybe https://learn.microsoft.com/en-us/windows/win32/api/wingdi/ns-wingdi-rgbquad, unfortunately wingdi doesn't contain alpha by default. Changing [PythonLib/full/ctypes/wintypes.py] is problematic as this is taken from python installations and likely gets lost again after a python version update.

from pythonscript.

vinsworldcom avatar vinsworldcom commented on August 17, 2024

@chcg great feedback. Thank you. I'm still a little lost as to how python script gets put together but certainly happy with the product!

I'm using the artifact of my commit now and it's working fine as expected, but understand that with an upgrade those changes I made will get over written. I basically treat color alpha as just an integer (32 bits)

Cheers.

from pythonscript.

chcg avatar chcg commented on August 17, 2024

@vinsworldcom Could you please check if the change is ok for your needs.

from pythonscript.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.