Macoy Madson
4e390bf16f
Fix Windows build
* Use latest Cakelisp and Gamelib
* Use cakelisp build.bat rather than crappy copy paste
4 months ago
Macoy Madson
eee095a27d
Update cakelisp
11 months ago
Macoy Madson
87e19160f6
Fix C++ compilation
11 months ago
Macoy Madson
4a914b3452
Fix C compilation
11 months ago
Macoy Madson
8d5719665e
Update Cakelisp
1 year ago
Macoy Madson
c16df26025
Update cakelisp submodule version
1 year ago
Macoy Madson
9bb80c07a9
Update Cakelisp for type change
1 year ago
Macoy Madson
c23b52a4b5
Make compatible with new type names
1 year ago
Macoy Madson
2e72ec7a99
Add .git
1 year ago
Macoy Madson
753f5972f9
Point to macoy.me instead
1 year ago
Macoy Madson
3536672bf7
Add output in GIMP palette format
1 year ago
Macoy Madson
2f7eab29ff
Expose test function
2 years ago
Macoy Madson
1e8aabdb30
Fix very small image sampling
2 years ago
Macoy Madson
49c713f927
Change sample method to fix math
This now simply samples 512 pixels from the image.
2 years ago
Macoy Madson
407acd5a6a
Fix compilation for Arm 64
2 years ago
Macoy Madson
553cc776c1
Merge branch 'master' of macoy.me:macoy/auto-color
2 years ago
Macoy Madson
fcbe541023
Add Gnome GTK license
2 years ago
Macoy Madson
b80fd46b0f
Add Gnome GTK licence
2 years ago
Macoy Madson
d495811bfe
Add missing stb_image license
2 years ago
Macoy Madson
63762d670e
Get AutoColor building in C
* Exported and hand-edited AutoColor.h. I eventually want this to be
automatic, but I don't have time for now
* Include stdbool for C support
* Pack colors for C support
* Link to libm for pow, round
2 years ago
Macoy Madson
b4e384381a
Add example images
2 years ago
Macoy Madson
eb7397f516
Add usage example
2 years ago
Macoy Madson
8516b06278
Move link requirement into AutoColor
Update readme with usage details.
2 years ago
Macoy Madson
8b54fd73c7
WIP ReadMe script
2 years ago
Macoy Madson
775ae4b3fe
Expose filename getter to users
2 years ago
Macoy Madson
82e3cf80b8
Move single file creator into separate file
This prevents the single file header creator from running when
AutoColor is being imported.
2 years ago
Macoy Madson
1c0599970b
Start modifying colors if there will be a repeat
This should only happen for very limited color palettes.
2 years ago
Macoy Madson
138a4663c5
Fix error case where only one color is in palette
This will result in ugly themes, but shouldn't crash anything.
2 years ago
Macoy Madson
ee039b6f53
WIP Single header library generator function
2 years ago
Macoy Madson
7b764fa97b
Fix project URL
2 years ago
Macoy Madson
1611c5d209
Embed auto color licenses in AutoColor.cake
2 years ago
Macoy Madson
685ddc2789
Use clamping method for dark foreground as well
2 years ago
Macoy Madson
b76cc9f9d0
Only print if enabled, output colors
2 years ago
Macoy Madson
7a6587c9b3
Add Glib suppressions
This didn't actually suppress everything, which makes me think either
I'm doing something wrong or Glib is leaking.
2 years ago
Macoy Madson
83d27e05cc
Add free on exit
2 years ago
Macoy Madson
51472c9a51
Remove extra directory
2 years ago
Macoy Madson
af765ba129
Add license arg, fewer glib leaks
2 years ago
Macoy Madson
ebf192ec8e
Added snippet from uriparser to parse Glib URIs
I'm very annoyed by this.
2 years ago
Macoy Madson
c0f6c9156a
Now pay attention to return value
2 years ago
Macoy Madson
9b9fd5920b
Clean up API to not allocate
* Use user buffers for wallpaper filenames
* Rename selection function
* Pay attention to return code
2 years ago
Macoy Madson
f02f85d575
Got Windows working
2 years ago
Macoy Madson
360ef19091
WIP Windows background reading
2 years ago
Macoy Madson
d75ee3ab3e
Rather than only taking colors that fit, clamp
This is a bit different than what I was doing before. It may result in
themes which match a bit less, but will result in better color
utilization.
2 years ago
Macoy Madson
e58531e709
Select high contrast colors
The contrast is estimated by lightness difference.
2 years ago
Macoy Madson
b1d75e80aa
Use work-space instead of fixed memory
* The user passes in a block of memory so that base16 selection has
room to work without needing to allocate
* Fix bug where saturation was being clamped instead of lightness
2 years ago
Macoy Madson
d6850c0dfc
Clamp color brightness to threshold
2 years ago
Macoy Madson
af26ecfab4
Finish porting color conversion, sort colors
2 years ago
Macoy Madson
485988b900
Start porting color conversion algorithms
2 years ago
Macoy Madson
5f5ba07732
Started porting base16 color selection
2 years ago
Macoy Madson
cc7bc4134e
Print colors in hex, raise threshold
2 years ago