John McCardle john
  • Site admin.

  • Joined on 2020-09-17
john pushed to at john/McRogueFace 2024-03-29 00:53:49 +00:00
06e24a1b27 LinkedColor now reflecting changes to the linked color value. Needs set method + RGBA / color properties
john commented on issue john/McRogueFace#11 2024-03-28 01:23:08 +00:00
Standardize Color Handling

41509dfe9640a67f924c5f843fe6bceb0cdb8f78 - PyLinkedColor initial version

PyLinkedColor is my answer to the thoughts from last night. I'm going to un-refactor PyColor to have no frills, just…

john pushed to standardize_color_handling at john/McRogueFace 2024-03-28 01:10:11 +00:00
41509dfe96 Addressing issues with PyColor by splitting behavior off into PyLinkedColor
john commented on issue john/McRogueFace#11 2024-03-27 03:12:52 +00:00
Standardize Color Handling

Some quick thoughts on 13a4ddf41b41dfc123a00468377b4f8fae0da845

I'm honestly not feeling great about how this feature is going - the time spent is getting out of hand, and the PyColor class is…

john pushed to standardize_color_handling at john/McRogueFace 2024-03-27 03:02:04 +00:00
13a4ddf41b Build runs again. PyColor objects are being instantiated, with bugs and no test of color changing
john pushed to standardize_color_handling at john/McRogueFace 2024-03-26 00:48:13 +00:00
1601fc7fab Still doesn't compile, but now the issue is in UI.h overcoupling. Progress!
john pushed to standardize_color_handling at john/McRogueFace 2024-03-25 01:21:59 +00:00
13672c8fdb Dabbling around this morning; still not building
john pushed to standardize_color_handling at john/McRogueFace 2024-03-24 12:36:12 +00:00
79090b553f Unsaved changes from last night
john pushed to standardize_color_handling at john/McRogueFace 2024-03-24 03:07:23 +00:00
2cac6f03c6 untested PyColor base implementation
3728e5fcc8 Color naming prototype
Compare 2 commits »
john created branch standardize_color_handling in john/McRogueFace 2024-03-24 03:07:23 +00:00
john commented on issue john/McRogueFace#11 2024-03-24 03:06:00 +00:00
Standardize Color Handling

Got a bit distracted, but I was having fun. I wanted to give colors readable names and also have an absurd number of plain text names that could be used.

Basically took CSS color codes, the…

john commented on issue john/McRogueFace#11 2024-03-23 17:49:06 +00:00
Standardize Color Handling

PyColor

This type has some other requirements that make it differ from PyTexture:

  • Textures are held by UIDrawables as a way to keep the Texture loaded (since sfml requires them to stay…
john closed issue john/McRogueFace#18 2024-03-22 02:26:11 +00:00
Standardize Texture Handling
john pushed to master at john/McRogueFace 2024-03-22 02:26:11 +00:00
4ffe438d1b Squashed commit of the following: [standardize_texture_handling]
john pushed to standardize_texture_handling at john/McRogueFace 2024-03-22 02:24:18 +00:00
b114ec3085 cleaning up for merge
john commented on issue john/McRogueFace#18 2024-03-22 01:42:35 +00:00
Standardize Texture Handling

WIP d7228172c4d5455159cd91782b49304a971bb444

rest of tonight's to-do list:

  • clean up comments
  • reverse mcrfpydef namespace shenanigans done while debugging
  • delete PyTexture original…
john pushed to standardize_texture_handling at john/McRogueFace 2024-03-22 01:41:32 +00:00
d7228172c4 Messy, but monumental: PyTexture::pyObject works
john commented on issue john/McRogueFace#18 2024-03-21 01:25:24 +00:00
Standardize Texture Handling

WIP 2cf8f9431025b3eecb67422e98ec95e3f2b4038f

I have to say I kind of love this new structure(?!)

  • The Python class methods are static methods in the C++ class.
  • The Python typedef is still…
john pushed to standardize_texture_handling at john/McRogueFace 2024-03-21 01:16:59 +00:00
2cf8f94310 Radical new example pattern for exposing a C++ class to Python
john pushed to master at john/backblogger 2022-03-04 03:34:00 +00:00
0a5d2aacd6 Automatically scan when running