John McCardle john
  • Site admin.

  • Joined on 2020-09-17
john commented on issue john/McRogueFace#11 2024-03-31 01:25:14 +00:00
Standardize Color Handling

OK, we made it!

Ultimately, I have decided to abandon PyLinkedColor for now. After reflecting on the use cases, and looking ahead to doing the same thing to the Vector class, I did not have…

john pushed to standardize_color_handling at john/McRogueFace 2024-03-31 01:18:29 +00:00
572aa52605 More color table updates
john pushed to standardize_color_handling at john/McRogueFace 2024-03-31 01:16:42 +00:00
01706bd59d Color wrapup... Cutting PyLinkedColor to simplify my cursedly mortal, finite existence
john commented on issue john/McRogueFace#11 2024-03-29 03:52:11 +00:00
Standardize Color Handling
  • PyLinkedColor properties: r, g, b, a, color
  • PyLinkedColor set(c) method
  • PyColor - just fix it entirely

3991ac13d6471e491cbccf2ddb8d36bad528b2f7

All three of these have had…

john pushed to standardize_color_handling at john/McRogueFace 2024-03-29 03:50:55 +00:00
3991ac13d6 Still having segfaults with LinkedColor and captions (specifically outline color, but that might not be the actual cause). PyColor shaping back up in simplified form.
john pushed to standardize_color_handling at john/McRogueFace 2024-03-29 00:57:40 +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-29 00:57:30 +00:00
Standardize Color Handling

Let's talk about 06e24a1b27c2f1ec520537f3a5b9b08d68d07829

so I did not do what I said I would do last night. Instead of building a workaround for function pointers, I dusted off the technique I…

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 created branch standardize_color_handling in john/McRogueFace 2024-03-24 03:07:23 +00:00
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 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 pushed to master at john/McRogueFace 2024-03-22 02:26:11 +00:00
4ffe438d1b Squashed commit of the following: [standardize_texture_handling]