Compare commits
No commits in common. "aebd66f6ad9fd9714a90e1c683adb69d2d13bf00" and "5a0dbe9a5ab63d4535ef0c4484098077412562b9" have entirely different histories.
aebd66f6ad
...
5a0dbe9a5a
@ -1,6 +1,6 @@
|
|||||||
cmake_minimum_required(VERSION 3.24)
|
cmake_minimum_required(VERSION 3.24)
|
||||||
|
|
||||||
project(LumaShow)
|
project(RaylibDmx)
|
||||||
|
|
||||||
set(CMAKE_CXX_STANDARD 23)
|
set(CMAKE_CXX_STANDARD 23)
|
||||||
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||||
|
@ -1,16 +1,14 @@
|
|||||||
# LumaShow
|
# DMX Raylib
|
||||||
A Lightshow Creating Solution, made for DMX compatible light fixtures.
|
Trying to get my DMX Lightshow app working with raylib (and imgui)
|
||||||
|
|
||||||
## Deps:
|
## Deps:
|
||||||
- [cmake](https://cmake.org/) for generating build files
|
- [cmake](https://cmake.org/) for generating build files
|
||||||
- A c++ compiler [MinGW](https://www.mingw-w64.org/)
|
- A c++ compiler [MinGW](https://www.mingw-w64.org/)
|
||||||
- Probably [git](https://git-scm.com/downloads)
|
|
||||||
- Probably a windows machine........ not sure if it builds on anything else (it won't right now, it hard requires windows.h but a HAL is on the todo list)
|
|
||||||
|
|
||||||
## Cloning
|
## Cloning
|
||||||
Clone the repo with git:
|
Clone the repo with git:
|
||||||
```bash
|
```bash
|
||||||
git clone https://github.com:/illyum/LumaShow.git
|
git clone https://thisrepo.com:8080/dmxshowraylib/dmxshowraylib.git
|
||||||
```
|
```
|
||||||
Or you can choose the *Download zip* option
|
Or you can choose the *Download zip* option
|
||||||
|
|
||||||
|
4
TODO.md
4
TODO.md
@ -1,4 +0,0 @@
|
|||||||
# TODO List
|
|
||||||
##### Not in any particular order
|
|
||||||
- Hardware Abstraction Layer for the DMXWriter
|
|
||||||
- Literally everything else
|
|
@ -15,6 +15,7 @@ int main() {
|
|||||||
dmxEngine.start();
|
dmxEngine.start();
|
||||||
DmxWriter dmxWriter(dmxEngine);
|
DmxWriter dmxWriter(dmxEngine);
|
||||||
|
|
||||||
|
// Initialize random seed
|
||||||
srand(static_cast<unsigned int>(time(0)));
|
srand(static_cast<unsigned int>(time(0)));
|
||||||
|
|
||||||
const int screenWidth = 1920;
|
const int screenWidth = 1920;
|
||||||
@ -58,8 +59,9 @@ int main() {
|
|||||||
}
|
}
|
||||||
ImGui::Text("%s", randomColors.c_str());
|
ImGui::Text("%s", randomColors.c_str());
|
||||||
|
|
||||||
|
// End the window
|
||||||
ImGui::End();
|
ImGui::End();
|
||||||
|
|
||||||
rlImGuiEnd();
|
rlImGuiEnd();
|
||||||
|
|
||||||
// Draw FPS on the screen
|
// Draw FPS on the screen
|
||||||
|
@ -17,5 +17,5 @@ void Panel::Draw() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void Panel::Update() {
|
void Panel::Update() {
|
||||||
|
// This method can be expanded to handle resizing, interactions, etc.
|
||||||
}
|
}
|
@ -18,6 +18,7 @@ struct Panel {
|
|||||||
Color headerColor;
|
Color headerColor;
|
||||||
bool isVisible;
|
bool isVisible;
|
||||||
|
|
||||||
|
// Panel content can be expanded later
|
||||||
void Draw();
|
void Draw();
|
||||||
void Update();
|
void Update();
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user