Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Toggle dragging/resize and toggle "selection lock" #103

Merged
merged 9 commits into from
May 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added Assets/lock-off.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Assets/lock-on.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ endif ()
# * Uncomment the following CMake lines to generate the MelatoninInspectorAssets binary
# * uncomment #include "InspectorBinaryData.h in misc.h and comment out the LatestCompiledAssets include
# * build as you would normally via CMake
# * run ./modules/melatonin_inspector/copy_cmake_assets.rb from your root PROJECT folder
# * run ./modules/melatonin_inspector/copy_cmake_assets.rb from your root PROJECT folder (not the melatonin_inspector folder)
# * comment these lines back out and swap the misc.h include again

#file(GLOB_RECURSE MelatoninInspectorAssetFiles CONFIGURE_DEPENDS "${CMAKE_CURRENT_SOURCE_DIR}/Assets/*")
Expand Down
6 changes: 6 additions & 0 deletions LatestCompiledAssets/BinaryData1.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,8 @@ const char* getNamedResource (const char* resourceNameUTF8, int& numBytes)
case 0xf2aeeae3: numBytes = 303; return expandon_png;
case 0x14ab743c: numBytes = 673; return eyedropperoff_png;
case 0xc74a0a86: numBytes = 671; return eyedropperon_png;
case 0x219463ce: numBytes = 516; return lockoff_png;
case 0x649be0b4: numBytes = 474; return lockon_png;
case 0x78ded995: numBytes = 25781; return logo_png;
case 0x48464668: numBytes = 1093; return moveoff_png;
case 0xd13642da: numBytes = 958; return moveon_png;
Expand Down Expand Up @@ -123,6 +125,8 @@ const char* namedResourceList[] =
"expandon_png",
"eyedropperoff_png",
"eyedropperon_png",
"lockoff_png",
"lockon_png",
"logo_png",
"moveoff_png",
"moveon_png",
Expand All @@ -147,6 +151,8 @@ const char* originalFilenames[] =
"expand-on.png",
"eyedropper-off.png",
"eyedropper-on.png",
"lock-off.png",
"lock-on.png",
"logo.png",
"move-off.png",
"move-on.png",
Expand Down
377 changes: 9 additions & 368 deletions LatestCompiledAssets/BinaryData11.cpp

Large diffs are not rendered by default.

27 changes: 9 additions & 18 deletions LatestCompiledAssets/BinaryData12.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,24 +9,15 @@
namespace InspectorBinaryData
{

//================== move-off.png ==================
//================== lock-on.png ==================
static const unsigned char temp_binary_data_11[] =
{ 137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,48,0,0,0,48,8,6,0,0,0,87,2,249,135,0,0,0,9,112,72,89,115,0,0,22,37,0,0,22,37,1,73,82,36,240,0,0,0,1,115,82,71,66,0,174,206,28,233,0,0,0,4,103,65,77,65,0,0,177,143,11,252,97,5,0,0,3,218,73,68,65,84,120,
1,213,153,59,76,219,64,24,199,191,239,28,67,37,50,148,34,133,153,206,101,71,170,84,137,215,202,206,86,9,150,46,144,240,46,25,58,5,154,208,146,192,210,133,165,93,216,179,33,202,107,168,196,142,170,78,157,58,129,4,116,104,212,38,177,239,122,159,75,130,
3,231,16,59,103,112,127,83,252,138,255,159,239,190,215,29,64,136,204,231,15,199,23,10,71,99,16,34,12,66,98,113,253,168,159,129,24,71,193,39,23,215,119,251,33,36,66,49,96,238,195,151,4,26,98,234,250,45,177,229,229,194,231,94,8,1,237,6,144,248,88,165,154,
17,92,92,11,22,208,101,3,203,204,173,237,116,129,102,180,27,96,148,171,211,13,226,107,8,76,24,102,231,50,104,6,65,35,228,180,52,239,155,221,195,25,20,215,166,7,183,154,221,51,247,105,167,171,227,194,136,219,220,76,8,97,39,232,92,110,118,104,79,117,175,
86,3,220,44,230,15,138,238,227,108,106,176,105,52,90,120,191,59,192,152,57,33,80,196,105,202,53,92,68,40,101,147,131,202,15,19,90,20,242,75,110,118,244,24,192,222,191,37,158,64,56,245,122,46,50,6,16,86,143,85,164,175,125,243,60,19,88,242,122,38,50,6,
208,188,55,46,59,50,170,17,224,0,209,54,160,46,158,195,83,213,117,20,226,204,235,217,7,55,192,83,60,138,51,4,126,21,8,188,167,80,12,66,226,174,168,67,52,19,111,0,79,175,164,70,78,151,242,123,37,198,48,122,35,112,167,248,228,136,19,121,222,166,134,183,
43,221,213,99,175,255,105,43,15,44,228,15,222,200,20,155,148,63,31,67,16,16,170,210,105,127,32,224,215,127,199,141,226,91,193,128,128,72,241,121,41,126,73,254,124,4,193,161,247,119,75,39,69,57,23,190,249,21,79,180,225,3,226,37,104,66,32,246,197,128,191,
240,43,158,104,199,7,130,77,27,53,102,16,241,132,182,40,148,75,13,181,236,79,84,114,179,63,229,64,130,111,162,28,129,249,252,193,36,132,200,187,87,207,207,252,62,67,149,174,234,124,195,8,56,161,237,66,214,236,66,80,11,184,5,17,130,202,244,197,194,225,
51,3,172,77,247,116,171,143,128,211,73,93,118,22,174,196,71,19,169,141,58,59,119,123,234,140,0,53,224,80,174,44,11,87,33,117,179,158,175,209,74,134,109,7,175,247,214,145,157,157,141,44,35,23,10,54,178,51,163,39,49,103,217,67,174,28,200,132,242,255,32,
141,0,140,101,164,95,108,51,38,44,237,141,246,125,17,67,94,98,84,107,128,176,210,200,80,75,88,187,23,168,233,145,154,87,147,67,69,199,7,104,46,73,39,78,187,151,67,194,158,235,94,120,189,183,238,27,181,122,105,102,212,249,224,245,40,68,177,217,234,48,
211,128,120,2,17,133,73,109,246,147,234,180,59,140,54,228,129,171,4,147,150,53,248,56,68,12,106,110,86,147,195,183,114,147,50,19,59,126,225,147,176,150,14,107,72,77,202,196,26,168,31,160,140,205,206,205,95,160,17,63,181,148,27,223,213,232,245,234,129,
176,64,31,63,33,32,190,12,112,183,129,50,236,126,7,77,32,136,143,16,144,150,59,178,219,61,44,158,35,130,41,127,196,33,120,103,39,191,188,200,230,82,195,75,16,16,207,121,183,176,185,59,144,155,26,117,154,233,86,27,240,135,192,179,161,97,182,57,33,107,
141,62,209,83,46,70,85,60,225,105,128,0,209,43,29,100,28,46,204,97,121,144,104,184,216,130,120,191,171,211,65,81,58,113,195,78,10,85,126,110,34,242,229,107,168,163,80,60,174,174,80,35,38,158,80,78,33,227,183,213,171,114,111,142,120,156,157,142,142,120,
66,57,2,66,84,148,35,192,56,140,121,53,215,15,133,210,0,195,232,72,80,205,45,151,252,78,169,2,148,119,237,161,220,219,146,199,219,200,249,89,24,187,141,65,209,186,71,38,171,216,73,1,108,172,249,11,249,118,144,98,209,11,173,171,211,78,197,216,164,159,
160,209,212,41,222,249,79,208,140,93,45,175,40,219,83,103,195,194,218,4,205,132,178,205,74,107,76,70,185,178,81,223,239,10,49,252,134,178,193,225,116,118,220,90,169,159,224,246,70,148,114,71,203,188,46,236,143,133,221,158,254,5,44,42,182,214,83,216,43,
211,0,0,0,0,73,69,78,68,174,66,96,130,0,0 };
{ 137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,48,0,0,0,48,8,6,0,0,0,87,2,249,135,0,0,0,9,112,72,89,115,0,0,22,37,0,0,22,37,1,73,82,36,240,0,0,0,1,115,82,71,66,0,174,206,28,233,0,0,0,4,103,65,77,65,0,0,177,143,11,252,97,5,0,0,1,111,73,68,65,84,120,
1,237,216,65,78,194,64,20,6,224,255,141,160,91,92,162,209,148,27,200,13,228,4,234,9,140,55,160,9,186,21,214,154,208,43,120,3,111,160,71,232,13,108,226,162,91,87,38,32,237,115,90,53,161,160,164,195,12,206,130,247,173,154,73,39,121,255,155,153,182,41,32,
132,16,98,155,17,28,227,244,238,20,25,206,160,248,28,140,224,123,56,6,84,12,181,51,162,118,152,192,33,103,1,248,101,220,194,222,236,22,204,253,149,55,18,69,152,52,70,212,9,223,224,128,147,0,101,241,187,31,79,250,242,164,230,148,24,211,102,207,69,8,5,
23,138,206,215,47,30,229,189,95,115,172,89,7,224,116,28,252,178,109,18,228,212,195,244,125,159,14,111,8,153,186,208,107,157,84,39,114,159,95,245,121,177,100,191,2,121,182,216,201,68,23,222,165,163,235,103,234,12,203,45,66,199,131,71,76,154,221,165,16,
164,15,186,37,251,0,204,213,173,67,42,252,41,188,50,92,236,247,140,174,170,131,250,105,101,201,62,0,85,3,208,129,238,246,95,102,141,120,97,36,128,37,55,135,184,38,87,143,206,121,255,26,96,19,36,128,111,18,192,55,227,111,33,78,239,47,145,115,164,175,90,
112,43,129,82,67,106,15,30,76,38,153,175,0,231,195,13,20,95,8,144,231,17,12,173,17,192,254,229,179,130,113,99,228,16,251,38,1,124,147,0,190,73,0,223,36,128,111,18,192,183,109,12,64,206,255,44,204,73,96,104,141,207,105,14,151,254,176,57,161,27,195,24,
65,8,33,132,48,240,9,69,30,98,232,32,134,213,8,0,0,0,0,73,69,78,68,174,66,96,130,0,0 };

const char* moveoff_png = (const char*) temp_binary_data_11;
const char* lockon_png = (const char*) temp_binary_data_11;
}
Loading
Loading