mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2024-11-22 18:59:59 +08:00
Upgrade version (#363)
This commit is contained in:
parent
1a3fcc1bd8
commit
548fa51b71
@ -4,6 +4,9 @@ Changelog
|
|||||||
current (development)
|
current (development)
|
||||||
---------------------
|
---------------------
|
||||||
|
|
||||||
|
3.0.0
|
||||||
|
-----
|
||||||
|
|
||||||
### Build
|
### Build
|
||||||
- **breaking**: The library prefix is now back to "lib" (the default). This
|
- **breaking**: The library prefix is now back to "lib" (the default). This
|
||||||
means non-cmake users should not link against "libftxui-dom" for instance.
|
means non-cmake users should not link against "libftxui-dom" for instance.
|
||||||
|
@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.11)
|
|||||||
|
|
||||||
project(ftxui
|
project(ftxui
|
||||||
LANGUAGES CXX
|
LANGUAGES CXX
|
||||||
VERSION 2.0.0
|
VERSION 3.0.0
|
||||||
)
|
)
|
||||||
|
|
||||||
option(FTXUI_BUILD_DOCS "Set to ON to build docs" ON)
|
option(FTXUI_BUILD_DOCS "Set to ON to build docs" ON)
|
||||||
|
@ -147,9 +147,9 @@ Color Color::HSV(uint8_t h, uint8_t s, uint8_t v) {
|
|||||||
|
|
||||||
// static
|
// static
|
||||||
Color Color::Interpolate(float t, const Color& a, const Color& b) {
|
Color Color::Interpolate(float t, const Color& a, const Color& b) {
|
||||||
float red;
|
float red = 0.f;
|
||||||
float green;
|
float green = 0.f;
|
||||||
float blue;
|
float blue = 0.f;
|
||||||
switch (a.type_) {
|
switch (a.type_) {
|
||||||
case ColorType::Palette1: {
|
case ColorType::Palette1: {
|
||||||
if (t < 0.5)
|
if (t < 0.5)
|
||||||
|
Loading…
Reference in New Issue
Block a user