diff --git a/0.0.11-pre3/rmHacks/floating.qmd b/0.0.11-pre3/rmHacks/floating.qmd new file mode 100644 index 0000000..b745783 --- /dev/null +++ b/0.0.11-pre3/rmHacks/floating.qmd @@ -0,0 +1,714 @@ + +AFFECT [[7500157198132013414]] + TRAVERSE [[7081645463424]]#[[6504254477]] + LOCATE BEFORE ALL + INSERT {signal ~&16404285191348324656&~} + TRAVERSE [[254480451320573660]]#[[12920733285382795992]] > [[16948093199847579651]] + LOCATE AFTER ALL + INSERT {~&383135108587212173&~: ~&6504254477&~.~&16404285191348324656&~()} + END TRAVERSE + END TRAVERSE +END AFFECT + +AFFECT [[9308956703481557595]] + TRAVERSE [[454089850271038938]]#[[6504254477]] + LOCATE AFTER ALL + INSERT { + ~&383135108587212173&~: {~&6504254477&~.~&233745975898428&~.floatAddRedo();} + } + END TRAVERSE +END AFFECT + + +AFFECT [[4973583581308417223]] + TRAVERSE [[454089850271038938]]#[[6504254477]] + LOCATE AFTER ALL + INSERT { + ~&383135108587212173&~: {~&6504254477&~.~&233745975898428&~.floatAddUndo();} + } + END TRAVERSE +END AFFECT + +AFFECT [[2850686855228789517]] + TRAVERSE [[454089850271038938]]#[[6504254477]] + LOCATE AFTER ALL + INSERT { + ~&383135108587212173&~: {~&6504254477&~.~&233745975898428&~.floatToolSel();} + } + END TRAVERSE +END AFFECT + +AFFECT [[16299311781608736620]] + TRAVERSE [[454089850271038938]]#[[6504254477]] + LOCATE AFTER ALL + INSERT { + ~&383135108587212173&~: {~&6504254477&~.~&233745975898428&~.floatToolSel();} + } + END TRAVERSE +END AFFECT + +AFFECT [[2261120078150357431]] + TRAVERSE [[454089850271038938]]#[[6504254477]] + LOCATE AFTER ALL + INSERT { + ~&383135108587212173&~: {~&6504254477&~.~&233745975898428&~.floatToolSel();} + } + END TRAVERSE +END AFFECT + +AFFECT [[2857280009207495592]] + TRAVERSE [[8397993708429497603]]#[[6504254477]] + LOCATE BEFORE ALL + INSERT{ + signal floatAddRedo; + signal floatAddUndo; + signal floatToolSel; + } + END TRAVERSE +END AFFECT + + +AFFECT [[2857280009207495592]] + IMPORT [[14400616902990125610]] 1.0 + IMPORT [[3056995282752331495]] 1.0 + IMPORT [[18218533064772175741]] 1.0 + TRAVERSE [[8397993708429497603]] + LOCATE BEFORE [[6650786433440202278]] + INSERT { + signal resetFloatBarPosition + signal presetSave + signal toggleFloatQuick + property bool floatbarQuick:~&6504329801&~ + } + TRAVERSE [[6502786168]] > [[8398044571386570029]] + LOCATE BEFORE [[7712155293725601]][.[[214634455770]]=`toolbarProvider.secondaryTools`] + INSERT { + ~&454089850271038938&~{ + ~&5972374&~: floatBarSettings + ~&6504337259&~: ~&454089850271038938&~.~&6503187275&~.~&9979845001816517890&~ + ~&233745975898428&~: ~&6504254477&~ + ~&233748328658231&~: ~&6504254477&~.~&7712989577739634&~ + ~&254542253295368380&~: ~&6504254477&~.~&233718999756776&~(floatBarSettings) + ~&8399601734642709923&~: ~&"551690684902850748&~ + ~&6144132522167405889&~: ~&14125623155555875541&~ { + ~&5972374&~: ~&233724020048228&~ + ~&233744706647566&~: 0 + ~&214646099849&~: 420 + ~&425121728314878811&~.FoldoutSectionHeader { + ~&8399617258045453977&~: "Floating ToolBar" + readonly property bool tooLong: ~&8399617258045453977&~>200 + ~&15640708674084664669&~: ~&6504254477&~.~&15640708674084664669&~ + ~&12972124760817227032&~: tooLong?~&6503165774&~.~&7081723389952&~:~&6503165774&~.~&6503286979&~ + ~&8399617258037555420&~: tooLong?~&6503165774&~.~&430968154721198747&~:~&6503165774&~.~&254483130633986300&~ + ~&478136262235079021&~: "Made by FouzR" + } + ~&425121728314878811&~.~&15740235808997988493&~ { + ~&7081629735527&~.~&254529418434902000&~: ~&6504329801&~ + } + ~&425121728314878811&~.~&432643201877711221&~ { + ~&214632764553&~: "QuickTools" + ~&8399601734642709923&~: ~&"6452766492113250787&~ + ~&15640708674084664669&~: ~&6504254477&~.~&15640708674084664669&~ + ~&8400129127120172259&~: ~&6504329801&~ + ~&7081629735527&~.~&254529418434902000&~: ~&6504329801&~ + ~&254542236275632405&~: {floatToggle.~&7083211098251&~(); + } + + ~&425121728314878811&~.~&7081958765675&~ { + ~&5972374&~: floatToggle + ~&233721384511543&~.~&499747351624466981&~: 20 + ~&233721384511543&~.~&214640173127&~: ~&7083038346995&~.~&214640173127&~ + ~&233721384511543&~.~&3441383163516681764&~: ~&7083038346995&~.~&3441383163516681764&~ + ~&233723734822480&~: !~&6504254477&~.floatbarQuick + ~&17047203121389332983&~: { + ~&6504254477&~.toggleFloatQuick();} + } + } + ~&425121728314878811&~.~&432643201877711221&~ { + ~&5972374&~: quickPresetSave + property ~&7083178290016&~ ~&6503664356&~: "Save Configuration" + property ~&7083178290016&~ baseIcon:~&"1888152859225879307&~ + property ~&7083178290016&~ ~&6504275384&~: "Saved Configuration" + property ~&7083178290016&~ saveIcon:~&"7424590230465671801&~ + ~&8399601734642709923&~: baseIcon + ~&214632764553&~: ~&6503664356&~ + ~&15640708674084664669&~: ~&6504254477&~.~&15640708674084664669&~ + ~&8400129127120172259&~: ~&6504329801&~ + ~&7081629735527&~.~&254529418434902000&~: ~&6504329801&~ + ~&254542253295368380&~: {~&6504254477&~.presetSave(); + quickPresetSave.~&214632764553&~ =~&6504275384&~; + quickPresetSave.~&8399601734642709923&~=saveIcon;} + ~&8399894427451672267&~: { + quickPresetSave.~&214632764553&~ =~&6503664356&~; + quickPresetSave.~&8399601734642709923&~=baseIcon;} + } + ~&425121728314878811&~.~&432643201877711221&~ { + ~&214632764553&~: "Reset FloatBar" + ~&8399601734642709923&~: ~&"8609871180810563551&~ + ~&15640708674084664669&~: ~&6504254477&~.~&15640708674084664669&~ + ~&8400129127120172259&~: ~&6504329801&~ + ~&7081629735527&~.~&254529418434902000&~: ~&6504329801&~ + ~&254542236275632405&~: {~&6504254477&~.resetFloatBarPosition()} + } + } + } + } + END TRAVERSE +END AFFECT + + +AFFECT [[2857280009207495592]] + TRAVERSE [[8397993708429497603]] + LOCATE BEFORE ALL INSERT { + function selectFloatEraser(~&214629689753&~) { + ~&197091758&~ ~&214624950331&~ = ~&6504117156&~; + ~&197085552&~ (~&197091758&~ ~&180978&~ = 0; ~&180978&~ < _editingTools.~&214622615378&~; ~&180978&~++) { + ~&197091758&~ entryI = _editingTools.itemAt(~&180978&~).~&6503936152&~; + ~&5972376&~ (entryI.~&8399878573055752961&~ === ~&"8399436595340057472&~) { + ~&214624950331&~ = entryI; + ~&214621519406&~; + } + } + ~&6504254477&~.~&233718999756776&~(~&214624950331&~, ~&233704648923420&~.~&8398583355955217966&~.DontActivate); + ~&6504254477&~.~&16536305558369217168&~ = ~&214624950331&~; + ~&6504254477&~.~&5107434981825242642&~(~&214629689753&~); + } + } + END TRAVERSE +END AFFECT + + + + +AFFECT [[1224665461898798997]] + IMPORT [[8399251287060140809]] 1.0 [[254477762679831355]] + IMPORT [[14051755590025246413]] 2.15 + IMPORT [[14400616902990125610]] 2.15 + TRAVERSE [[8397993708429497603]] + LOCATE AFTER [[5972374]] + INSERT { + signal toggleFloatQuick + signal resetPosition + property bool floatToolsEnabled: ~&214625660372&~ + } + END TRAVERSE + TRAVERSE [[8397993708429497603]] > [[6502786168]]#[[15549782143769420265]] > [[254480451320573660]] + TRAVERSE [[233704648923420]] + LOCATE AFTER ALL + INSERT { + onResetFloatBarPosition: () => {~&15793094956877902211&~.resetPosition();} + onPresetSave: () => {floatQuick.saveQuickToolFile()} + onToggleFloatQuick: {~&15793094956877902211&~.toggleFloatQuick();} + + onFloatAddRedo: () => { + floatQuick.addNewToolPlus(~&"6503093235&~, 91, 0) } + onFloatAddUndo: () => { + floatQuick.addNewToolPlus(~&"6503210847&~, 90, 0) } + onFloatToolSel: () => { + + ~&5972376&~ (isQuickPenSelected){ + floatQuick.quickTool = floatQuick.quickTool.~&7082656280847&~( + function(~&6503936152&~) { + ~&7083121450889&~ !(~&7842069035455457876&~.~&13186392338616216743&~(~&6503936152&~.~&6504326343&~)?(((~&6503936152&~.~&6504326343&~ == ~&7842069035455457876&~.~&254522140932088040&~.~&6504326343&~) && + (~&6503936152&~.~&197098340&~ == ~&7842069035455457876&~.~&254522140932088040&~.~&254525455067777027&~) && + (~&6503936152&~.~&496319807495899597&~ == ~&7842069035455457876&~.~&254522140932088040&~.~&214622605608&~) && + (~&6503936152&~.~&254549061334391125&~ == ~&7842069035455457876&~.~&254522140932088040&~.~&254549061334391125&~))): + (~&6503936152&~.~&6504326343&~ == ~&7842069035455457876&~.~&254522140932088040&~.~&6504326343&~ && ~&6503936152&~.~&6504337259&~ == ~&7842069035455457876&~.~&8399230650759060099&~ && ~&6503936152&~.~&254549061334391125&~ == ~&7842069035455457876&~.~&254522140932088040&~.~&254549061334391125&~));}) + floatQuick.saveQuickToolFile(); + } + ~&6503784146&~{ + ~&5972376&~ (~&7842069035455457876&~.~&13186392338616216743&~(~&7842069035455457876&~.~&254522140932088040&~.~&6504326343&~)){ + floatQuick.addNewTool(~&7842069035455457876&~.~&8399230650759060099&~, ~&7842069035455457876&~.~&254522140932088040&~.~&6504326343&~,~&7842069035455457876&~.~&254522140932088040&~.~&254525455067777027&~,~&7842069035455457876&~.~&254522140932088040&~.~&214622605608&~, ~&7842069035455457876&~.~&254522140932088040&~.~&254549061334391125&~); + floatQuick.saveQuickToolFile(); + } + ~&6503784146&~ { + floatQuick.addNewToolPlus(~&7842069035455457876&~.~&8399230650759060099&~, ~&7842069035455457876&~.~&254522140932088040&~.~&6504326343&~,~&7842069035455457876&~.~&254522140932088040&~.~&254549061334391125&~); + } + } + + } + } + END TRAVERSE + END TRAVERSE +END AFFECT + + + + +AFFECT [[2328484894988065446]] + IMPORT [[14051755590025246413]] 2.15 + IMPORT [[14400616902990125610]] 2.15 + TRAVERSE [[8397788359424131273]] + LOCATE BEFORE ALL INSERT { + property bool gFloatToolsEnabled: ~&214625660372&~ + property bool timeOutBeforeMoving: ~&214625660372&~ + property bool timeOutBeforeMovingTools: ~&214625660372&~ + property bool collapsed:~&6504329801&~ + property bool isQuickPenSelected: ~&214625660372&~ + property bool floatbarQuick: ~&214625660372&~ + } + END TRAVERSE + TRAVERSE [[8397788359424131273]] > [[8397993708429497603]] > [[8397993708429497603]] + + TRAVERSE [[7081645463424]]#[[15793094956877902211]] + LOCATE BEFORE ALL + INSERT { + ~&233681166222244&~ { + ~&6504426203&~: ~&15793094956877902211&~.~&6503936152&~ + ~&7083194890448&~: ~&15793094956877902211&~.~&6503936152&~ + property: 'floatToolsEnabled' + ~&214644635174&~: gFloatToolsEnabled + } + } + END TRAVERSE + TRAVERSE [[7081645463424]]#rmhDocumentViewSplit + LOCATE BEFORE ALL + INSERT { + ~&233681166222244&~ { + ~&6504426203&~: rmhDocumentViewSplit.~&6503936152&~ + ~&7083194890448&~: rmhDocumentViewSplit.~&6503936152&~ + property: 'floatToolsEnabled' + ~&214644635174&~: gFloatToolsEnabled + } + } + END TRAVERSE + LOCATE AFTER [[7081645463424]]#altToolbar + INSERT { + ~&428051690305612204&~ { + ~&7083194890448&~: rmhDocumentViewSplit.~&6503936152&~ + function onToggleFloatQuick() { + gFloatToolsEnabled = !gFloatToolsEnabled; + } + + function onResetPosition(){ + floatQuick.moveToPosition((~&7083038346995&~.~&214646099849&~-floatQuick.~&214646099849&~)/2,0); + } + } + ~&428051690305612204&~ { + ~&7083194890448&~: ~&15793094956877902211&~.~&6503936152&~ + function onToggleFloatQuick() { + gFloatToolsEnabled = !gFloatToolsEnabled; + } + + function onResetPosition(){ + floatQuick.moveToPosition((~&7083038346995&~.~&214646099849&~-floatQuick.~&214646099849&~)/2,0); + } + } + + ~&425121728314878811&~.~&16765000136167945189&~ { + property ~&197102514&~ currentDocumentView: mainDocumentSelected ? ~&15793094956877902211&~.~&6503936152&~ : rmhDocumentViewSplit.~&6503936152&~ + property ~&197102514&~ currentToolbar: mainDocumentSelected ? mainToolbar.~&6503936152&~ : altToolbar.~&6503936152&~ + + + ~&5972374&~: floatQuick + ~&233748328658231&~: floatQuick.currentDocumentView.floatToolsEnabled && ~&15793094956877902211&~.~&6503936152&~ && ~&533861137338760383&~ + ~&214641137009&~: 1 + ~&504576868586410052&~: ~&214625660372&~ + Drag.~&7082453764421&~: floatQuickHandle.~&6503754151&~.~&7082453764421&~ + property bool moveTool: ~&214625660372&~ + property ~&6504243117&~ originalX + property ~&6504243117&~ originalY + function moveToPosition(newX, newY) { + ~&180993&~ = newX + ~&180994&~ = newY + } + property ~&197088788&~ presetState: 1 + property ~&197102514&~ quickTool: [] + property ~&6504243117&~ total_width + function addNewTool( ~&7713617204171177&~, toolId, toolRGB, toolPalette,toolThickness) { + quickTool.~&6504189257&~({ + ~&6504337259&~: ~&7713617204171177&~, + ~&6504326343&~: toolId, + ~&197098340&~: toolRGB, + ~&496319807495899597&~: toolPalette, + ~&254549061334391125&~: toolThickness + }) + quickToolChanged() + } + function addNewToolPlus( ~&7713617204171177&~, toolId, toolThickness) { + quickTool.~&6504189257&~({ + ~&6504337259&~: ~&7713617204171177&~, + ~&6504326343&~: toolId, + ~&254549061334391125&~: toolThickness + }) + quickToolChanged() + } + function moveQuickTool(fromIndex, toIndex) { + ~&5972376&~ (fromIndex < 0 || fromIndex >= quickTool.~&7082886407723&~ || + toIndex < 0 || toIndex >= quickTool.~&7082886407723&~) { + ~&7083121450889&~ ~&214625660372&~; + } + ~&214622607920&~ toolToMove = quickTool.~&7083173330345&~(fromIndex, 1)[0]; + quickTool.~&7083173330345&~(toIndex, 0, toolToMove); + quickToolChanged(); + ~&7083121450889&~ ~&6504329801&~; + } + function saveQuickToolFile() { + ~&197091758&~ xhr = new XMLHttpRequest(); + ~&197091758&~ ~&6503736259&~ = { + quickTool: quickTool, + isfloatQuickActive: ~&6504254477&~.floatbarQuick, + isLayersActive: ~&214625660372&~, + layersPositionX: 0, + layersPositionY: 0, + quickPositionX: ~&6502909715&~.~&197079679&~((floatQuick.~&180993&~-~&6504254477&~.~&214646099849&~)/~&6504254477&~.~&214646099849&~), + quickPositionY: ~&6502909715&~.~&197079679&~((floatQuick.~&180994&~-~&6504254477&~.~&7082729686082&~)/~&6504254477&~.~&7082729686082&~) + }; + ~&197091758&~ dataStr = ~&6502785411&~.~&254548178208422824&~(~&6503736259&~); + xhr.~&6504147419&~("PUT", "file:///home/root/quickTool.json"); + xhr.onreadystatechange = function() { + ~&5972376&~ (xhr.readyState === XMLHttpRequest.DONE) { + ~&233724020023100&~.~&197092075&~("Save completed"); + } + }; + xhr.~&6504279475&~(dataStr); + } + function loadQuickToolFile() { + ~&197091758&~ xhr = new XMLHttpRequest(); + + xhr.~&6504147419&~("GET", "file:///home/root/quickTool.json"); + + xhr.onreadystatechange = function() { + ~&5972376&~ (xhr.readyState === XMLHttpRequest.DONE) { + try { + ~&197091758&~ ~&6503736259&~ = ~&6502785411&~.~&214637526116&~(xhr.responseText); + quickTool = ~&6503736259&~.quickTool || []; + ~&6504254477&~.floatbarQuick = ~&6503736259&~.isfloatQuickActive !== ~&254550717068498203&~ ? ~&6503736259&~.isfloatQuickActive : ~&214625660372&~; + floatQuick.~&180993&~ = ~&6503736259&~.quickPositionX !== ~&254550717068498203&~ ? ((1-~&6503736259&~.quickPositionX)*~&6504254477&~.~&214646099849&~ ) : 0; + floatQuick.~&180994&~ = ~&6503736259&~.quickPositionY !== ~&254550717068498203&~ ? ((1-~&6503736259&~.quickPositionY)*~&6504254477&~.~&7082729686082&~) : 0; + } catch (~&180974&~) { + ~&233724020023100&~.~&214625091795&~("Failed to parse file:", ~&180974&~); + quickTool = []; + } + } + }; + xhr.~&6504279475&~(); + } + ~&254480451320573660&~.~&495334332051582499&~: { + loadQuickToolFile(); + } + + ~&8398044571386570029&~ { + ~&5972374&~: gridLayoutObject + ~&6503819969&~: (((floatQuick.~&180993&~<60)||(floatQuick.~&180993&~>0.83*~&6504254477&~.~&214646099849&~))&&(floatQuick.~&180994&~<0.91*~&6504254477&~.~&7082729686082&~))? ~&8398044571386570029&~.~&454090249410509812&~:~&8398044571386570029&~.~&441360769245023669&~ + ~&3009194557570366524&~: 0 + ~&8400036622101322246&~: 0 + ~&425121728314878811&~.~&16765000136167945189&~.~&7081261925573&~ { + ~&5972374&~: floatQuickHandleParent + ~&481641799955318521&~: ~&5971598&~.~&233696851602406&~ + ~&6504337259&~: floatQuick.~&6504337259&~ + ~&8399601734642709923&~: gFloatToolsEnabled ? ~&"551690684902850748&~ : ~&"4663243347623906140&~ + ~&254494525842443467&~ { + ~&5972374&~: floatQuickHandle + ~&233721384511543&~.~&6503816592&~: ~&7083038346995&~ + ~&6503754151&~.~&7083194890448&~: floatQuick + ~&254542253295368380&~: () => { + floatQuick.originalX = floatQuick.~&180993&~; + floatQuick.originalY = floatQuick.~&180994&~ ; + ~&6504254477&~.timeOutBeforeMovingTools=~&6504329801&~; + + } + property ~&197088788&~ ~&11181025814035365320&~: 30 + ~&383135108587212173&~: () => { + ~&6504254477&~.floatbarQuick = !~&6504254477&~.floatbarQuick;} + ~&8399894427451672267&~: () => { + ~&6504254477&~.timeOutBeforeMovingTools=~&214625660372&~;} + ~&12756630929064311461&~: { + ~&5972376&~ (~&6503754151&~.~&7082453764421&~) { + ~&197102514&~ centerX = floatQuick.~&180993&~ + floatQuick.~&214646099849&~ / 2 + ~&197102514&~ centerY = floatQuick.~&180994&~ + floatQuick.~&7082729686082&~ / 2 + ~&5972376&~ (~&6502909715&~.~&197079679&~(floatQuick.~&180993&~) < ~&11181025814035365320&~) { + floatQuick.~&180993&~ = 0 + } + ~&6503784146&~ ~&5972376&~ (~&6502909715&~.~&197079679&~(floatQuick.~&180993&~ + floatQuick.~&214646099849&~ - ~&6504254477&~.~&214646099849&~) < ~&11181025814035365320&~) { + floatQuick.~&180993&~ = ~&6504254477&~.~&214646099849&~ - floatQuick.~&214646099849&~ + } + ~&6503784146&~ ~&5972376&~ (~&6502909715&~.~&197079679&~(centerX - ~&6504254477&~.~&214646099849&~ / 2) < ~&11181025814035365320&~) { + floatQuick.~&180993&~ = ~&6504254477&~.~&214646099849&~ / 2 - floatQuick.~&214646099849&~ / 2 + } + ~&5972376&~ (~&6502909715&~.~&197079679&~(floatQuick.~&180994&~) < ~&11181025814035365320&~) { + floatQuick.~&180994&~ = 0 + } + ~&6503784146&~ ~&5972376&~ (~&6502909715&~.~&197079679&~(floatQuick.~&180994&~ + floatQuick.~&7082729686082&~ - ~&6504254477&~.~&7082729686082&~) < ~&11181025814035365320&~) { + floatQuick.~&180994&~ = ~&6504254477&~.~&7082729686082&~ - floatQuick.~&7082729686082&~ + } + ~&6503784146&~ ~&5972376&~ (~&6502909715&~.~&197079679&~(centerY - ~&6504254477&~.~&7082729686082&~ / 2) < ~&11181025814035365320&~) { + floatQuick.~&180994&~ = ~&6504254477&~.~&7082729686082&~ / 2 - floatQuick.~&7082729686082&~ / 2 + } + ~&5972376&~ (~&6502909715&~.~&197079679&~(floatQuick.~&180993&~) < ~&11181025814035365320&~ && + ~&6502909715&~.~&197079679&~(floatQuick.~&180994&~) < ~&11181025814035365320&~) { + floatQuick.~&180993&~ = 0 + floatQuick.~&180994&~ = 0 + } + ~&6503784146&~ ~&5972376&~ (~&6502909715&~.~&197079679&~(floatQuick.~&180993&~ + floatQuick.~&214646099849&~ - ~&6504254477&~.~&214646099849&~) < ~&11181025814035365320&~ && + ~&6502909715&~.~&197079679&~(floatQuick.~&180994&~) < ~&11181025814035365320&~) { + floatQuick.~&180993&~ = ~&6504254477&~.~&214646099849&~ - floatQuick.~&214646099849&~ + floatQuick.~&180994&~ = 0 + } + ~&6503784146&~ ~&5972376&~ (~&6502909715&~.~&197079679&~(floatQuick.~&180993&~) < ~&11181025814035365320&~ && + ~&6502909715&~.~&197079679&~(floatQuick.~&180994&~ + floatQuick.~&7082729686082&~ - ~&6504254477&~.~&7082729686082&~) < ~&11181025814035365320&~) { + floatQuick.~&180993&~ = 0 + floatQuick.~&180994&~ = ~&6504254477&~.~&7082729686082&~ - floatQuick.~&7082729686082&~ + } + ~&6503784146&~ ~&5972376&~ (~&6502909715&~.~&197079679&~(floatQuick.~&180993&~ + floatQuick.~&214646099849&~ - ~&6504254477&~.~&214646099849&~) < ~&11181025814035365320&~ && + ~&6502909715&~.~&197079679&~(floatQuick.~&180994&~ + floatQuick.~&7082729686082&~ - ~&6504254477&~.~&7082729686082&~) < ~&11181025814035365320&~) { + floatQuick.~&180993&~ = ~&6504254477&~.~&214646099849&~ - floatQuick.~&214646099849&~ + floatQuick.~&180994&~ = ~&6504254477&~.~&7082729686082&~ - floatQuick.~&7082729686082&~ + } + } + } + } + } + + ~&7712155293725601&~ { + ~&5972374&~: ~&7713519083900865&~ + ~&214634455770&~: floatQuick.quickTool + ~&425121728314878811&~.~&16765000136167945189&~.~&7081261925573&~ { + required property ~&197102514&~ ~&254539508423767444&~ + ~&254501108490678590&~ { + ~&233721384511543&~.~&6503816592&~: ~&7083038346995&~ + ~&214622605608&~: ~&"214646069354&~ + ~&233748328658231&~: ~&6504254477&~.timeOutBeforeMovingTools + } + ~&233748328658231&~: ~&6504254477&~.floatbarQuick + ~&481641799955318521&~: ~&5971598&~.~&233696851602406&~ + ~&6504337259&~: floatQuick.~&6504337259&~ + ~&8399601734642709923&~: { + ~&214622607920&~ toolIcons = { + 15: ~&"12472390807386460417&~, + 17: ~&"1104274047935997048&~, + 18: ~&"9093988532389370539&~, + 14: ~&"5204404160700829527&~, + 13: ~&"14459632586516747131&~, + 21: ~&"4188248842830809614&~, + 16: ~&"5204259481269240318&~, + 23: ~&"5204547061482173331&~, + 12: ~&"1413836428252919100&~, + 8: ~&"8173742602784935909&~, + 6: ~&"1888152859074732210&~, + 11: ~&"7322837842298105651&~, + 90: ~&"15094524446772182502&~, + 91: ~&"15094524446772064890&~ + }; + + ~&7083121450889&~ toolIcons[~&254539508423767444&~.~&6504326343&~]; + } + ~&6503165774&~{ + ~&233721384511543&~.~&197100796&~:~&7083038346995&~.~&197100796&~ + ~&233721384511543&~.~&6504027668&~:~&7083038346995&~.~&6504027668&~ + ~&490371291080887915&~: 5 + ~&214622605608&~: (floatQuick.currentDocumentView.~&7842069035455457876&~.~&13186392338616216743&~(~&254539508423767444&~.~&6504326343&~) ? ((floatQuick.currentDocumentView.~&7842069035455457876&~.~&254522140932088040&~.~&6504326343&~ === ~&254539508423767444&~.~&6504326343&~ && + floatQuick.currentDocumentView.~&7842069035455457876&~.~&254522140932088040&~.~&214622605608&~ === ~&254539508423767444&~.~&496319807495899597&~ && + floatQuick.currentDocumentView.~&7842069035455457876&~.~&254522140932088040&~.~&254525455067777027&~ === ~&254539508423767444&~.~&197098340&~ && + floatQuick.currentDocumentView.~&7842069035455457876&~.~&254522140932088040&~.~&254549061334391125&~ === ~&254539508423767444&~.~&254549061334391125&~) ? ~&"214646069354&~:~&"214621299494&~ ):((floatQuick.currentDocumentView.~&7842069035455457876&~.~&254522140932088040&~.~&6504326343&~ === ~&254539508423767444&~.~&6504326343&~ && + floatQuick.currentDocumentView.~&7842069035455457876&~.~&254522140932088040&~.~&254549061334391125&~ === ~&254539508423767444&~.~&254549061334391125&~) ? ~&"214646069354&~:~&"214621299494&~ )) + ~&6504315758&~: (~&254539508423767444&~.~&254549061334391125&~) + ~&233748328658231&~: ~&254539508423767444&~.~&6504326343&~ != 8 && ~&254539508423767444&~.~&6504326343&~ !=11 && ~&254539508423767444&~.~&6504326343&~ !=90 && ~&254539508423767444&~.~&6504326343&~ !=91 && !~&6504254477&~.timeOutBeforeMovingTools + ~&6503823200&~.~&7082646817675&~: "Helvetica" + ~&6503823200&~.~&7083316716977&~: ~&6502673216&~.~&6502529386&~ + ~&6503823200&~.pointSize: 18 + } + ~&7713561545874130&~: floatQuick.currentDocumentView.~&7842069035455457876&~.~&13186392338616216743&~(~&254539508423767444&~.~&6504326343&~) ? (floatQuick.currentDocumentView.~&7842069035455457876&~.~&254522140932088040&~.~&6504326343&~ === ~&254539508423767444&~.~&6504326343&~ && floatQuick.currentDocumentView.~&7842069035455457876&~.~&254522140932088040&~.~&214622605608&~ === ~&254539508423767444&~.~&496319807495899597&~ && floatQuick.currentDocumentView.~&7842069035455457876&~.~&254522140932088040&~.~&254525455067777027&~ === ~&254539508423767444&~.~&197098340&~ && floatQuick.currentDocumentView.~&7842069035455457876&~.~&254522140932088040&~.~&254549061334391125&~ === ~&254539508423767444&~.~&254549061334391125&~): (floatQuick.currentDocumentView.~&7842069035455457876&~.~&254522140932088040&~.~&6504326343&~ === ~&254539508423767444&~.~&6504326343&~ && floatQuick.currentDocumentView.~&7842069035455457876&~.~&254522140932088040&~.~&254549061334391125&~ === ~&254539508423767444&~.~&254549061334391125&~) + ~&11058020975532475353&~: { + + ~&197091758&~ hasTrue = ~&214625660372&~ + ~&197085552&~ (~&197091758&~ ~&180978&~ = 0; ~&180978&~ < ~&7713519083900865&~.~&214622615378&~; ~&180978&~++) { + ~&197091758&~ ~&6503936152&~ = ~&7713519083900865&~.itemAt(~&180978&~) + ~&5972376&~ (~&6503936152&~.~&7713561545874130&~ ) { + hasTrue = ~&6504329801&~ + ~&214621519406&~ + } + } + isQuickPenSelected = hasTrue + } + + ~&254480451320573660&~.onDestruction:{ + isQuickPenSelected = ~&214625660372&~; + } + ~&254542236275632405&~: () => { ~&5972376&~(floatQuick.currentDocumentView.~&7842069035455457876&~.~&13186392338616216743&~(~&254539508423767444&~.~&6504326343&~)){ + floatQuick.currentToolbar.~&254547531013823564&~(~&"233740920352621&~); + floatQuick.currentDocumentView.~&7842069035455457876&~.~&254522140932088040&~.~&6504326343&~ = ~&254539508423767444&~.~&6504326343&~; + floatQuick.currentDocumentView.~&7842069035455457876&~.~&254522140932088040&~.~&214622605608&~ = ~&254539508423767444&~.~&496319807495899597&~; + floatQuick.currentDocumentView.~&7842069035455457876&~.~&254522140932088040&~.~&254525455067777027&~ = ~&254539508423767444&~.~&197098340&~; + floatQuick.currentDocumentView.~&7842069035455457876&~.~&254522140932088040&~.~&254549061334391125&~ = ~&254539508423767444&~.~&254549061334391125&~;} + ~&6503784146&~ ~&5972376&~ (~&254539508423767444&~.~&6504326343&~ == 8 || ~&254539508423767444&~.~&6504326343&~ == 6){ + + floatQuick.currentToolbar.selectFloatEraser(~&254539508423767444&~.~&6504326343&~); + floatQuick.currentDocumentView.~&7842069035455457876&~.~&254528381676974702&~.~&254549061334391125&~ = ~&254539508423767444&~.~&254549061334391125&~; + } + ~&6503784146&~ ~&5972376&~ (~&254539508423767444&~.~&6504326343&~ == 11){ + floatQuick.currentToolbar.~&3352491319205423503&~() + } + ~&6503784146&~ ~&5972376&~ (~&254539508423767444&~.~&6504326343&~ == 91 && floatQuick.currentDocumentView.~&11179472971324505115&~.~&9062779519017704436&~){ + floatQuick.currentDocumentView.~&11179472971324505115&~.~&6504243219&~(); + } + ~&6503784146&~ ~&5972376&~ (~&254539508423767444&~.~&6504326343&~ == 90 && floatQuick.currentDocumentView.~&11179472971324505115&~.~&14521327022500200672&~){ + floatQuick.currentDocumentView.~&11179472971324505115&~.~&6504360831&~(); + } + } + ~&383135108587212173&~: () => { + floatQuick.saveQuickToolFile(); + ~&5972376&~ (~&254539508423767444&~.~&6504326343&~ == 91) + { + floatQuick.quickTool = floatQuick.quickTool.~&7082656280847&~( + function(~&6503936152&~) { + ~&7083121450889&~ !((~&6503936152&~.~&6504326343&~ == 91 && ~&6503936152&~.~&6504337259&~ == ~&"6503093235&~ && ~&6503936152&~.~&254549061334391125&~ == 0))} + ) + + + } + + ~&6503784146&~ ~&5972376&~ (~&254539508423767444&~.~&6504326343&~ == 90) + { + floatQuick.quickTool = floatQuick.quickTool.~&7082656280847&~( + function(~&6503936152&~) { + ~&7083121450889&~ !((~&6503936152&~.~&6504326343&~ == 90 && ~&6503936152&~.~&6504337259&~ == ~&"6503210847&~ && ~&6503936152&~.~&254549061334391125&~ == 0))} + ) + } + ~&6503784146&~ + {~&233724020023100&~.~&197092075&~("I LIKE TO MOVE IT");floatQuick.moveTool = !floatQuick.moveTool}} + ~&254501108490678590&~{ + ~&233748328658231&~: gridLayoutObject.~&6503819969&~ === ~&8398044571386570029&~.~&441360769245023669&~ && floatQuick.currentDocumentView.~&7842069035455457876&~.~&13186392338616216743&~(~&254539508423767444&~.~&6504326343&~) && !~&6504254477&~.timeOutBeforeMovingTools + ~&214622605608&~: { + ~&214622607920&~ colorMaps = { + 23: { + 1075912220: ~&"6503861980&~, + 1946071552: "orangered", + 2160099282: "magenta", + 1295010528: "deepskyblue", + 1724002610: ~&"197098276&~, + 2157042289: "forestgreen", + 1945823001: ~&"7083395101253&~, + 1718932200: "cyan" + }, + 18: { + 4294962549: ~&"7083395101253&~, + 4290702078: "deepskyblue", + 4294090495: "mediumvioletred", + 4294951820: "orangered", + 4289527685: "forestgreen", + 4291282886: ~&"6503861980&~ + } + }; + + ~&214622607920&~ paletteColors = { + 0: ~&"214621299494&~, + 1: ~&"6503861980&~, + 2: ~&"214646069354&~, + 6: ~&"6503676401&~, + 7: ~&"197098276&~, + 10: "limegreen", + 13: ~&"7083395101253&~, + 11: "cyan", + 12: "magenta" + }; + + ~&5972376&~ (~&254539508423767444&~.~&6504326343&~ === 23 || ~&254539508423767444&~.~&6504326343&~ === 18) { + ~&7083121450889&~ colorMaps[~&254539508423767444&~.~&6504326343&~][~&254539508423767444&~.~&197098340&~] || "beige"; + } + + ~&7083121450889&~ paletteColors[~&254539508423767444&~.~&496319807495899597&~] || "beige"; + } + ~&233721384511543&~.~&7082507142622&~: ~&7083038346995&~.~&7082507142622&~ + ~&214646099849&~: ~&7083038346995&~.~&214646099849&~ + ~&7082729686082&~: (~&7083038346995&~.~&7082729686082&~/5) + ~&15640708674084664669&~: ~&214625660372&~ + } + ~&254501108490678590&~{ + ~&233748328658231&~: gridLayoutObject.~&6503819969&~ === ~&8398044571386570029&~.~&454090249410509812&~ && floatQuick.currentDocumentView.~&7842069035455457876&~.~&13186392338616216743&~(~&254539508423767444&~.~&6504326343&~) && !~&6504254477&~.timeOutBeforeMovingTools + ~&214622605608&~: { + ~&214622607920&~ colorMaps = { + 23: { + 1075912220: ~&"6503861980&~, + 1946071552: "orangered", + 2160099282: "magenta", + 1295010528: "deepskyblue", + 1724002610: ~&"197098276&~, + 2157042289: "forestgreen", + 1945823001: ~&"7083395101253&~, + 1718932200: "cyan" + }, + 18: { + 4294962549: ~&"7083395101253&~, + 4290702078: "deepskyblue", + 4294090495: "mediumvioletred", + 4294951820: "orangered", + 4289527685: "forestgreen", + 4291282886: ~&"6503861980&~ + } + }; + + ~&214622607920&~ paletteColors = { + 0: ~&"214621299494&~, + 1: ~&"6503861980&~, + 2: ~&"214646069354&~, + 6: ~&"6503676401&~, + 7: ~&"197098276&~, + 10: "limegreen", + 13: ~&"7083395101253&~, + 11: "cyan", + 12: "magenta" + }; + + ~&5972376&~ (~&254539508423767444&~.~&6504326343&~ === 23 || ~&254539508423767444&~.~&6504326343&~ === 18) { + ~&7083121450889&~ colorMaps[~&254539508423767444&~.~&6504326343&~][~&254539508423767444&~.~&197098340&~] || "beige"; + } + + ~&7083121450889&~ paletteColors[~&254539508423767444&~.~&496319807495899597&~] || "beige"; + } + ~&233721384511543&~.~&214640173127&~: ~&7083038346995&~.~&214640173127&~ + ~&214646099849&~: (~&7083038346995&~.~&214646099849&~/5) + ~&7082729686082&~: (~&7083038346995&~.~&7082729686082&~) + ~&15640708674084664669&~: ~&214625660372&~ + } + } + } + + ~&425121728314878811&~.~&16765000136167945189&~.~&7081261925573&~ { + ~&5972374&~: floatquickMoveLeft + ~&233748328658231&~: floatQuick.currentToolbar.floatbarQuick && floatQuick.currentToolbar.~&7712989577739634&~ && floatQuick.moveTool + ~&254501108490678590&~ { + ~&233721384511543&~.~&6503816592&~: ~&7083038346995&~ + ~&214622605608&~: ~&"214646069354&~ + ~&233748328658231&~: ~&6504254477&~.timeOutBeforeMovingTools + } + ~&481641799955318521&~: ~&5971598&~.~&233696851602406&~ + ~&6504337259&~: floatQuick.~&6504337259&~ + ~&8399601734642709923&~: gridLayoutObject.~&6503819969&~ === ~&8398044571386570029&~.~&441360769245023669&~? ~&"5203726458251154181&~ : ~&"8609871180810563551&~ + ~&254542236275632405&~: () => { ~&214622607920&~ ~&214629676161&~ = floatQuick.quickTool.~&254529420688331106&~(function(~&6503936152&~) { + ~&7083121450889&~ (floatQuick.currentDocumentView.~&7842069035455457876&~.~&13186392338616216743&~(~&6503936152&~.~&6504326343&~)?((~&6503936152&~.~&6504326343&~ == floatQuick.currentDocumentView.~&7842069035455457876&~.~&254522140932088040&~.~&6504326343&~) && + (~&6503936152&~.~&197098340&~ == floatQuick.currentDocumentView.~&7842069035455457876&~.~&254522140932088040&~.~&254525455067777027&~) && + (~&6503936152&~.~&496319807495899597&~ == floatQuick.currentDocumentView.~&7842069035455457876&~.~&254522140932088040&~.~&214622605608&~) && + (~&6503936152&~.~&254549061334391125&~ == floatQuick.currentDocumentView.~&7842069035455457876&~.~&254522140932088040&~.~&254549061334391125&~)):(( + ~&6503936152&~.~&6504326343&~ == floatQuick.currentDocumentView.~&7842069035455457876&~.~&254522140932088040&~.~&6504326343&~) && + (~&6503936152&~.~&254549061334391125&~ == floatQuick.currentDocumentView.~&7842069035455457876&~.~&254522140932088040&~.~&254549061334391125&~) + )); + }); + ~&5972376&~ (~&214629676161&~ !=0){floatQuick.moveQuickTool(~&214629676161&~,~&214629676161&~-1); + floatQuick.saveQuickToolFile();} } + } + ~&425121728314878811&~.~&16765000136167945189&~.~&7081261925573&~ { + ~&5972374&~: floatquickMoveRight + ~&233748328658231&~: floatQuick.currentToolbar.floatbarQuick && floatQuick.currentToolbar.~&7712989577739634&~ && floatQuick.moveTool + ~&254501108490678590&~ { + ~&233721384511543&~.~&6503816592&~: ~&7083038346995&~ + ~&214622605608&~: ~&"214646069354&~ + ~&233748328658231&~: ~&6504254477&~.timeOutBeforeMovingTools + } + ~&481641799955318521&~: ~&5971598&~.~&233696851602406&~ + ~&6504337259&~: floatQuick.~&6504337259&~ + ~&8399601734642709923&~: gridLayoutObject.~&6503819969&~ === ~&8398044571386570029&~.~&441360769245023669&~? ~&"5702276458909383512&~ : ~&"5203726458250878130&~ + ~&254542236275632405&~: () => { ~&214622607920&~ ~&214629676161&~ = floatQuick.quickTool.~&254529420688331106&~(function(~&6503936152&~) { + ~&7083121450889&~ (floatQuick.currentDocumentView.~&7842069035455457876&~.~&13186392338616216743&~(~&6503936152&~.~&6504326343&~)?((~&6503936152&~.~&6504326343&~ == floatQuick.currentDocumentView.~&7842069035455457876&~.~&254522140932088040&~.~&6504326343&~) && + (~&6503936152&~.~&197098340&~ == floatQuick.currentDocumentView.~&7842069035455457876&~.~&254522140932088040&~.~&254525455067777027&~) && + (~&6503936152&~.~&496319807495899597&~ == floatQuick.currentDocumentView.~&7842069035455457876&~.~&254522140932088040&~.~&214622605608&~) && + (~&6503936152&~.~&254549061334391125&~ == floatQuick.currentDocumentView.~&7842069035455457876&~.~&254522140932088040&~.~&254549061334391125&~)):(( + ~&6503936152&~.~&6504326343&~ == floatQuick.currentDocumentView.~&7842069035455457876&~.~&254522140932088040&~.~&6504326343&~) && + (~&6503936152&~.~&254549061334391125&~ == floatQuick.currentDocumentView.~&7842069035455457876&~.~&254522140932088040&~.~&254549061334391125&~) + ));}); + floatQuick.moveQuickTool(~&214629676161&~,~&214629676161&~+1); + floatQuick.saveQuickToolFile();} + }}}} + + END TRAVERSE +END AFFECT diff --git a/0.0.11-pre3/zz_rmhacks.qmd b/0.0.11-pre3/zz_rmhacks.qmd index 64ebd30..2685069 100644 --- a/0.0.11-pre3/zz_rmhacks.qmd +++ b/0.0.11-pre3/zz_rmhacks.qmd @@ -34,3 +34,4 @@ LOAD rmHacks/navigator_compressed_list_hack.qmd LOAD rmHacks/split_doc/split_doc_main.qmd LOAD rmHacks/table_of_contents_button_hack.qmd LOAD rmHacks/hide_close_button_hack.qmd +LOAD rmHacks/floating.qmd \ No newline at end of file