]> Trent Huber's Code - xpmview.git/commitdiff
simplexpm -> xpmview
authorTrent Huber <trentmhuber@gmail.com>
Thu, 28 Aug 2025 04:52:56 +0000 (00:52 -0400)
committerTrent Huber <trentmhuber@gmail.com>
Thu, 28 Aug 2025 04:52:56 +0000 (00:52 -0400)
README.md
bin/.gitignore
src/build.c
src/main.c

index 9b3347107a042ee5ba9a396224262aaedbda645f..ee2a177666f9da69330ab46285e06b8cd0bd739a 100644 (file)
--- a/README.md
+++ b/README.md
@@ -1,6 +1,6 @@
-# simplexpm
+# xpmview
 
-simplexpm is a simple GUI application used to view XPM image files.
+xpmview is a simple GUI application used to view XPM image files.
 
 ## Building
 
@@ -10,11 +10,11 @@ simplexpm is a simple GUI application used to view XPM image files.
 This repository uses submodules, so you'll need to clone it recursively.
 
 ```console
-> git clone --recursive https://github.com/trenthuber/simplexpm/
-> cd simplexpm/
+> git clone --recursive https://github.com/trenthuber/xpmview/
+> cd xpmview/
 ```
 
-simplexpm uses [cbs](https://github.com/trenthuber/cbs/) as its build system. cbs uses C source code as its build files, so the only thing you need to build this project is a C compiler. The first step is to bootstrap the build system by compiling the build file located at the root level of the repository.
+xpmview uses [cbs](https://github.com/trenthuber/cbs/) as its build system. cbs uses C source code as its build files, so the only thing you need to build this project is a C compiler. The first step is to bootstrap the build system by compiling the build file located at the root level of the repository.
 
 ```console
 > cc -o build build.c
@@ -29,7 +29,7 @@ Running the `build` executable we just generated will build the entire project.
 Once built, the application will be located in the `bin/` folder.
 
 ```console
-> bin/simplexpm
+> bin/xpmview
 ```
 
 To clean the repository after building, just run the `clean` executable generated by the build system.
@@ -51,7 +51,7 @@ If modifications are made to the XPM file while loaded, hitting `r` reloads the
 Finally, with an XPM file loaded, color modes can be changed by pressing corresponding keys (see a complete list of key bindings by using the `-h` flag).
 
 ```console
-> bin/simplexpm -f assets/test.xpm
+> bin/xpmview -f assets/test.xpm
 ```
 ![Here's an image of the above command running on my machine.](assets/application.png "Running the above command")
 
index 6207f39a28d488d8a67e386f205fa9f3e239dcf3..b4031cbe7dd97bfb57546797e324753e30463c6d 100644 (file)
@@ -1 +1 @@
-simplexpm
+xpmview
index 59e3b38e3d832cc467674da24ef2b070a42e8b2d..6698c315d941009ee6bb033c537255c9c7beaedc 100644 (file)
@@ -128,7 +128,7 @@ int main(void) {
    buildcolors();
    buildfont();
 
-   buildfiles((struct cbsfile []){{"../bin/simplexpm", LLRAYLIB, 'x'},
+   buildfiles((struct cbsfile []){{"../bin/xpmview", LLRAYLIB, 'x'},
 
                                   {"colors", NONE},
                                   {"main", LIST(CFRAYLIB)},
index e649fb78a8a1388cedae3b855ebb87516b05f153..3eabce07e0d284e38f014976367560a428995187 100644 (file)
@@ -68,7 +68,7 @@ int main(int argc, char **argv) {
    if (!options(argc, argv)) return EXIT_FAILURE;
 
    if (!debug) SetTraceLogLevel(LOG_ERROR);
-   InitWindow(800, 600, "simplexpm");
+   InitWindow(800, 600, "xpmview");
    SetWindowState(FLAG_WINDOW_RESIZABLE);
    SetTargetFPS(30);
    SetExitKey(KEY_Q);