Skip to content

Commit

Permalink
yay
Browse files Browse the repository at this point in the history
  • Loading branch information
time-killer-games committed Nov 30, 2024
1 parent 5bcb7f1 commit 1b18836
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions filedialogs/demo/RunUnixFileDialogsExample.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/sh
cd "${0%/*}";
if [ `uname` = "Darwin" ]; then
env IMGUI_DIALOG_WIDTH=720 IMGUI_DIALOG_HEIGHT=380 IMGUI_DIALOG_THEME=2 IMGUI_TEXT_COLOR_0=1 IMGUI_TEXT_COLOR_1=1 IMGUI_TEXT_COLOR_2=1 IMGUI_HEAD_COLOR_0=0.35 IMGUI_HEAD_COLOR_1=0.35 IMGUI_HEAD_COLOR_2=0.35 IMGUI_AREA_COLOR_0=0.05 IMGUI_AREA_COLOR_1=0.05 IMGUI_AREA_COLOR_2=0.05 IMGUI_BODY_COLOR_0=1 IMGUI_BODY_COLOR_1=1 IMGUI_BODY_COLOR_2=1 IMGUI_POPS_COLOR_0=0.07 IMGUI_POPS_COLOR_1=0.07 IMGUI_POPS_COLOR_2=0.07 ../filedialogs --get-open-filename "Portable Network Graphic (*.png)|*.png|Graphic Interchange Format (*.gif)|*.gif" "Untitled.png";
else
env IMGUI_DIALOG_PARENT=`xdotool getactivewindow` IMGUI_DIALOG_WIDTH=720 IMGUI_DIALOG_HEIGHT=380 IMGUI_DIALOG_THEME=2 IMGUI_TEXT_COLOR_0=1 IMGUI_TEXT_COLOR_1=1 IMGUI_TEXT_COLOR_2=1 IMGUI_HEAD_COLOR_0=0.35 IMGUI_HEAD_COLOR_1=0.35 IMGUI_HEAD_COLOR_2=0.35 IMGUI_AREA_COLOR_0=0.05 IMGUI_AREA_COLOR_1=0.05 IMGUI_AREA_COLOR_2=0.05 IMGUI_BODY_COLOR_0=1 IMGUI_BODY_COLOR_1=1 IMGUI_BODY_COLOR_2=1 IMGUI_POPS_COLOR_0=0.07 IMGUI_POPS_COLOR_1=0.07 IMGUI_POPS_COLOR_2=0.07 ../filedialogs --get-open-filename "Portable Network Graphic (*.png)|*.png|Graphic Interchange Format (*.gif)|*.gif" "Untitled.png";
fi

0 comments on commit 1b18836

Please sign in to comment.