Jump to content

trompetin17

WFG Programming Team
  • Posts

    85
  • Joined

  • Last visited

  • Days Won

    12

Everything posted by trompetin17

  1. Can you provide us with a screen shot that allow us to see your current locale. Can you try to get to the option based on the next images:
  2. actually is https://gitea.wildfiregames.com/trompetin17/0ad-atlas-in-game/src/branch/main so if you are able to test would be great. you can read more details here: https://gitea.wildfiregames.com/0ad/0ad/pulls/7803
  3. Continuing with the initiative, I mention it so that it becomes visible.
  4. https://gitea.wildfiregames.com/0ad/0ad/pulls/8792 =D
  5. Sure i will provide the PR later , it is on my radar
  6. or here https://gitea.wildfiregames.com/0ad/0ad/src/branch/main/binaries/data/mods/mod/gui/gui.rng
  7. oh i see, i updated the wiki thx for that https://gitea.wildfiregames.com/0ad/0ad/wiki/Adding_font_support
  8. Stan it doesnt wrok right because of this in rng file: a workaround is to copy and paste the gui.rng file inside "gui" folder and replace that line with <param name="pattern">(lithos|mono|sans)-(bold-|italic-)?(stroke-)?[0-9]{1,3}</param> while we create a PR that enable this support without this workaround
  9. Well like stan said, we have the style.xml file concept so you can create your style file then include in your gui .xml file https://gitea.wildfiregames.com/0ad/0ad/src/branch/main/binaries/data/mods/public/gui/common/styles.xml#L12 https://gitea.wildfiregames.com/0ad/0ad/src/branch/main/binaries/data/mods/public/gui/common/styles.xml#L66 In 0.A.D we have the page concept where you can define what styles to use (you can examine all page_*): https://gitea.wildfiregames.com/0ad/0ad/src/branch/main/binaries/data/mods/public/gui/page_pregame.xml#L4 and after that the real GUI xml https://gitea.wildfiregames.com/0ad/0ad/src/branch/main/binaries/data/mods/public/gui/page_pregame.xml#L15 so when we define any element we use the xml tag "Object" + attrbiute "type" to define what object... and you can apply an style with attrbiute "style" https://gitea.wildfiregames.com/0ad/0ad/src/branch/main/binaries/data/mods/public/gui/page_pregame.xml#L15 or you can explicitly use the "font" attribute if you wan it. Let me know if that help you :). PD: you can test first adding the font you wanna test and replace/add the "font" tag in a particular object to see if that work, after that you can expand the idea with styles.xml and "style" attribute
  10. btw what font are you using? Im seeing some baseline issue (im working on it also)
  11. In the wiki page have some comment how to replace the font from default if you want this.
  12. Current code only load the file "config/[yourmodname].cfg"
  13. IM not sure if you already read this page https://gitea.wildfiregames.com/0ad/0ad/wiki/Adding_font_support Let us know if that help
  14. i would like to ask you two additional things: 1. An screenshot that show me the whole AtlasUI when you tried to click or select an actor 2. Maybe if you can record and upload the record to see what steps are you using to being able to catch any minimal detail that drive me to found the real issue thx
  15. Hello @cephalotusmind if you help with some information regarding your Linux Manjaro, im not sure what version of wxWidget you have there, can you tell me about it? why?: the Atlas Editor relay on wxWidget to capture keyboards keys, so maybe can be related to a bug or kind of wxWidget but i would like to discard if this is the issue first
  16. I just make the PR https://github.com/JustusAvramenko/delenda_est/pull/70 that enable the summary work again and the game itsel work in current development phase :), let me know
  17. I'd like to share some updates on the project. Here are some of the features we aim to include: Expandability through mods, without a strict dependency on the "public mod" (though compatibility with it will be maintained). Support for backend devices, both current and future. Independence from wxWidgets—no need for it to function. The project is still in its alpha stage, so a lot of code refactoring, UI polish, and additional features are still needed. Currently, I'm working on integrating the features available in AtlasUI. Some concepts REPO: https://gitea.wildfiregames.com/trompetin17/0ad-atlas-in-game/src/branch/main/source in case you wanna try the workflow
  18. https://gitea.wildfiregames.com/0ad/0ad/commit/8c250568e7cb9e422c7cf6799ea586dcb14b4f14 ScrollPanel get on live, If anyone found something let me know please with step to reproduce.
  19. Sctructure Tree using ScrollPanel here is the changes made in mod public https://gitea.wildfiregames.com/0ad/0ad/commit/3b4e5d98f4b63a6ad8bea258c88c463de069ce2c
  20. Hello, mind if you can help me to get all current ui that would need this component, please with images, keep in mind to use the minimal screen we supported. For now im working on Structure tech/unit tree info. Maybe summary screens?. Thx in advance
  21. A new ScrollPanel GUI component is going to be born with the following capabilities: Scroll Orientation Support: Allows scrolling in horizontal, vertical, or both directions, providing flexibility for different use cases. Partial Object Rendering: Supports partial rendering of objects that are only partially visible within the scroll boundaries, improving visual accuracy and performance. Boundary-Constrained Mouse Interaction: Handles mouse events strictly within the panel's visible boundaries, preventing interaction with objects outside the scrollable area. Minimum Internal Size (min_width, min_height): Introduces support for virtual space management, allowing the panel to maintain a minimum internal size independent of its actual on-screen dimensions. Even when the panel is resized, this ensures that the content respects a defined virtual space (with min_width and min_height), effectively simulating a larger internal canvas. This is particularly useful for large content or scenarios where a more extensive scrollable area is required than the current visible panel. Here is the showcase Pull request: https://gitea.wildfiregames.com/0ad/0ad/pulls/7118 Please give me feedback to keep improving GUI Components.
  22. Ok all functionality was added now Im waitintg for reviews and some more testing from different people, so if you are able to test and give me feedback would be great https://gitea.wildfiregames.com/0ad/0ad/pulls/7118
  23. WIP Progress Horizontal and Vertical Scroll enable Partially Draw Object Dropwdown work in partially draw with tooltips Both scrolls scrollpanel also support "Min Width" / "Min Height" when you need more "internal space" without taking care about the current size of the scrollpanel (sera idea) I will need more testing or more use case to validate if this is work correctly, Im still missing if im going to expose scrollpane like "scrollpanel" tag instead of "object type" thx in advance
×
×
  • Create New...