fedfcd46a3
Test animation now moves the entire UIMenu object (and children)
2023-03-07 20:03:09 -05:00
c551c721ce
Animation work: removing pointers from the entire class in favor of std::function/lambdas to write values. This actually works with SFML classes, because I can wrap the setter class
2023-03-07 07:39:41 -05:00
d74635ee4e
Check in... animations are roughly half built
2023-03-06 20:54:23 -05:00
6dbf8a5119
Pan/Zoom grids, Python basic generation template provided
2023-03-05 19:58:20 -05:00
257aa3c3d2
Fully python-driven scene. Lots of interaction needs testing but the broad strokes are there for mouse pan/zoom on multiple grids and any number of UIs
2023-03-04 23:04:16 -05:00
b3f946ecb2
API endpoints: Create and retrieve grid/gridpoint objects
2023-03-03 23:57:42 -05:00
e295bfb742
python callbacks, working on grid
2023-03-03 22:16:47 -05:00
2ec97dfb1c
Full modification of UI items seems to be working
2023-03-02 22:07:23 -05:00
f89896176c
Modify UI objects by calling mcrfpy.modMenu(m)
2023-03-02 20:41:43 -05:00
de753713d5
UI from Python now working fairly comprehensively
2023-03-02 18:57:09 -05:00
c8124e84dc
Updated UIMenu to a map on the C++ side, Python gets the title property so changes can be properly, jankily, looked up
2023-03-02 06:35:13 -05:00
a1e9129923
Send Menu color to Python
2023-03-02 05:53:17 -05:00
f23dfbe4ba
Another checkpoint. Compiling/building/running - Python API tests from in-engine REPL are not passing, though
2023-03-01 21:37:42 -05:00
1e9fd77a13
JANK MODE: Messy / broken commit - in progress
...
Needed to make a checkpoint, gods forgive me for committing known broken code straight to master. The jam has in a sense already begun.
I tested a smaller solution in the xplat_concept repo earlier today.
In short, I'm going to build a janky method to add new + report existing UI elements. After that's done, the UI building should be done from python modules, hastening the UI design.
This is ugly and bad, I am truly sorry. We just need to get through 7DRL, so I can't make it pretty today.
2023-02-28 23:19:43 -05:00
6d05f8bc63
Return NONE properly from test API point
2023-02-27 07:01:46 -05:00
6a2c3c6c36
McRogueFace Python API (McRFPy_API) demo class
2023-02-26 10:23:44 -05:00