Giter VIP home page Giter VIP logo

Comments (9)

kallaballa avatar kallaballa commented on April 29, 2024

I'd like to look into this bug, but from your description i have no idea what the problem is. Could you please elaborate?

from wesnoth.

CelticMinstrel avatar CelticMinstrel commented on April 29, 2024

See the wiki for reference. There are several keys described there (under [background_layer]) that specify scaling and tiling options. These no longer function as advertised.

Since the new storyscreen is GUI2, this will require an expansion of the supported scaling and tiling options in the GUI2 canvas. I think the functions to do the actual work should be already implemented, so you just need to figure out when and where to call them, hopefully.

from wesnoth.

AI0867 avatar AI0867 commented on April 29, 2024

Partially re-implemented in 4f79fed, but unless someone wants to modify the widgets, the WML interface should probably be changed.

from wesnoth.

CelticMinstrel avatar CelticMinstrel commented on April 29, 2024

So that's partial because it only supports the case where horizontal and vertical are set to the same value, I guess? Full support would require alteration of the GUI2 canvas WML as well.

from wesnoth.

Vultraz avatar Vultraz commented on April 29, 2024

Where the hell even is that commit? I can't find it.

from wesnoth.

Vultraz avatar Vultraz commented on April 29, 2024

Anyway, fully implemented above.

from wesnoth.

CelticMinstrel avatar CelticMinstrel commented on April 29, 2024

Nice! Does that finally cover everything, then? It'd be nice to expand the test added by @AI0867 so that it covers more cases, too.

I'm kinda surprised (and slightly suspicious) that this seems to have been done without touching the GUI2 canvas code at all...

from wesnoth.

AI0867 avatar AI0867 commented on April 29, 2024

As that commit was on a branch on my own fork, it was not actually 'added'. I've now added the testcase in 39c3f21.

from wesnoth.

CelticMinstrel avatar CelticMinstrel commented on April 29, 2024

Ah, okay. I guess that explains why vultraz couldn't find it... >_>

from wesnoth.

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.