Skip to content

Commit

Permalink
Pull request #75: More Notebook Assistant tweaks from BillyS.
Browse files Browse the repository at this point in the history
Merge in PAC/chatbook from feature/NAToolbarUpdates to main

* commit '06e33dd5c4ff92a0198f6c4e783ae09882f98eb1':
  Rebuild built files.
  More Notebook Assistant tweaks from BillyS.
  • Loading branch information
ljdandria authored and rhennigan committed Nov 12, 2024
2 parents 9a6c0ca + 06e33dd commit 91bc262
Show file tree
Hide file tree
Showing 7 changed files with 193 additions and 474 deletions.
Binary file modified Assets/DisplayFunctions.wxf
Binary file not shown.
206 changes: 20 additions & 186 deletions Developer/Resources/Icons/WorkspaceToolbarIconSources.wl
Original file line number Diff line number Diff line change
@@ -1,186 +1,20 @@
Graphics[
{
Thickness[ 0.014493 ],
Style[
{
FilledCurve[
{
{ { 0, 2, 0 }, { 0, 1, 0 }, { 0, 1, 0 }, { 0, 1, 0 }, { 1, 3, 3 }, { 0, 1, 0 }, { 0, 1, 0 } },
{ { 0, 2, 0 }, { 0, 1, 0 }, { 1, 3, 3 }, { 0, 1, 0 } },
{
{ 0, 2, 0 },
{ 1, 3, 3 },
{ 1, 3, 3 },
{ 0, 1, 0 },
{ 1, 3, 3 },
{ 0, 1, 0 },
{ 1, 3, 3 },
{ 0, 1, 0 },
{ 1, 3, 3 },
{ 0, 1, 0 },
{ 1, 3, 3 },
{ 1, 3, 3 }
}
},
{
{
{ 15.0, 5.0 },
{ 7.0, 5.0 },
{ 7.0, 15.0 },
{ 11.0, 15.0 },
{ 11.0, 12.5 },
{ 11.0, 11.673 },
{ 11.673, 11.0 },
{ 12.5, 11.0 },
{ 15.0, 11.0 },
{ 15.0, 5.0 }
},
{ { 12.0, 14.293 }, { 14.293, 12.0 }, { 12.5, 12.0 }, { 12.225, 12.0 }, { 12.0, 12.224 }, { 12.0, 12.5 }, { 12.0, 14.293 } },
{
{ 15.853, 11.854 },
{ 11.854, 15.853 },
{ 11.808, 15.899 },
{ 11.752, 15.936 },
{ 11.691, 15.961 },
{ 11.63, 15.987 },
{ 11.565, 16.0 },
{ 11.5, 16.0 },
{ 7.0, 16.0 },
{ 6.448, 16.0 },
{ 6.0, 15.551 },
{ 6.0, 15.0 },
{ 6.0, 5.0 },
{ 6.0, 4.449 },
{ 6.448, 4.0 },
{ 7.0, 4.0 },
{ 15.0, 4.0 },
{ 15.552, 4.0 },
{ 16.0, 4.449 },
{ 16.0, 5.0 },
{ 16.0, 11.5 },
{ 16.0, 11.565 },
{ 15.987, 11.63 },
{ 15.961, 11.691 },
{ 15.936, 11.752 },
{ 15.899, 11.808 },
{ 15.853, 11.854 }
}
}
]
},
FaceForm @ RGBColor[ 1.0, 1.0, 1.0, 1.0 ]
],
Style[
{
FilledCurve[
{
{
{ 0, 2, 0 },
{ 0, 1, 0 },
{ 0, 1, 0 },
{ 0, 1, 0 },
{ 0, 1, 0 },
{ 0, 1, 0 },
{ 0, 1, 0 },
{ 0, 1, 0 },
{ 0, 1, 0 },
{ 0, 1, 0 },
{ 0, 1, 0 },
{ 0, 1, 0 }
}
},
{
{
{ 16.0, 9.0 },
{ 16.0, 12.0 },
{ 14.0, 12.0 },
{ 14.0, 9.0 },
{ 11.0, 9.0 },
{ 11.0, 7.0 },
{ 14.0, 7.0 },
{ 14.0, 4.0 },
{ 16.0, 4.0 },
{ 16.0, 7.0 },
{ 19.0, 7.0 },
{ 19.0, 9.0 },
{ 16.0, 9.0 }
}
}
]
},
FaceForm @ RGBColor[ 1.0, 1.0, 1.0, 1.0 ]
],
Style[
{
FilledCurve[
{
{
{ 0, 2, 0 },
{ 0, 1, 0 },
{ 0, 1, 0 },
{ 0, 1, 0 },
{ 0, 1, 0 },
{ 0, 1, 0 },
{ 0, 1, 0 },
{ 0, 1, 0 },
{ 0, 1, 0 },
{ 0, 1, 0 },
{ 0, 1, 0 },
{ 0, 1, 0 }
},
{
{ 0, 2, 0 },
{ 0, 1, 0 },
{ 0, 1, 0 },
{ 0, 1, 0 },
{ 0, 1, 0 },
{ 0, 1, 0 },
{ 0, 1, 0 },
{ 0, 1, 0 },
{ 0, 1, 0 },
{ 0, 1, 0 },
{ 0, 1, 0 },
{ 0, 1, 0 }
}
},
{
{
{ 16.0, 9.0 },
{ 19.0, 9.0 },
{ 19.0, 7.0 },
{ 16.0, 7.0 },
{ 16.0, 4.0 },
{ 14.0, 4.0 },
{ 14.0, 7.0 },
{ 11.0, 7.0 },
{ 11.0, 9.0 },
{ 14.0, 9.0 },
{ 14.0, 12.0 },
{ 16.0, 12.0 },
{ 16.0, 9.0 }
},
{
{ 13.0, 10.0 },
{ 13.0, 13.0 },
{ 17.0, 13.0 },
{ 17.0, 10.0 },
{ 20.0, 10.0 },
{ 20.0, 6.0 },
{ 17.0, 6.0 },
{ 17.0, 3.0 },
{ 13.0, 3.0 },
{ 13.0, 6.0 },
{ 10.0, 6.0 },
{ 10.0, 10.0 },
{ 13.0, 10.0 }
}
}
]
},
FaceForm @ RGBColor[ 0.4, 0.67843, 0.82353, 1.0 ]
]
},
ImageSize -> { 20.0, 20.0 },
PlotRange -> { { 0.0, 20.0 }, { 0.0, 20.0 } },
AspectRatio -> Automatic
]
Graphics[{Thickness[0.07692307692307693],
FaceForm[{RGBColor[1.0,1.0,1.0], Opacity[1.]}],
FilledCurve[{{{0, 2, 0}, {0, 1, 0}, {0, 1, 0}, {0, 1, 0}, {1, 3, 3}, {0, 1, 0},
{0, 1, 0}, {0, 1, 0}, {1, 3, 3}, {0, 1, 0}, {0, 1, 0}, {0, 1, 0}, {0, 1, 0},
{0, 1, 0}, {1, 3, 3}, {1, 3, 3}, {0, 1, 0}, {1, 3, 3}, {0, 1, 0}, {1, 3, 3},
{0, 1, 0}, {0, 1, 0}}, {{0, 2, 0}, {0, 1, 0}, {0, 1, 0}, {0, 1, 0}, {0, 1, 0},
{0, 1, 0}, {0, 1, 0}, {0, 1, 0}, {0, 1, 0}, {0, 1, 0}, {0, 1, 0}, {0, 1, 0}}},
{{{7., 1.}, {1., 1.}, {1., 11.}, {5., 11.}, {5., 8.5}, {5., 7.672999858856201},
{5.67300009727478, 7.}, {6.5, 7.}, {7., 7.}, {7., 8.}, {6.5, 8.},
{6.225000023841858, 8.}, {6., 8.223999977111816}, {6., 8.5},
{6., 10.293000221252441}, {7.292999982833862, 9.}, {8., 9.},
{8.707000017166138, 9.}, {5.853999972343445, 11.85300064086914},
{5.807999968528748, 11.89900016784668}, {5.7519999742507935, 11.935998916625977},
{5.6910001039505005, 11.961000442504883}, {5.629999995231628, 11.98699951171875},
{5.565000057220459, 12.}, {5.5, 12.}, {1., 12.}, {0.4479999542236328, 12.},
{0., 11.551000595092773}, {0., 11.}, {0., 1.}, {0., 0.4490000009536743},
{0.4479999542236328, 0.}, {1., 0.}, {7., 0.}, {7., 1.}},
{{13., 5.}, {13., 3.}, {10., 3.}, {10., 0.}, {8., 0.}, {8., 3.}, {5., 3.},
{5., 5.}, {8., 5.}, {8., 8.}, {10., 8.}, {10., 5.}, {13., 5.}}}]},
AspectRatio -> Automatic, ImageSize -> {20, 20}, PlotRange -> {{-6, 14}, {-4, 16}}]
22 changes: 22 additions & 0 deletions Developer/Resources/WorkspaceStyles.wl
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,28 @@ Cell[
(* ::Section::Closed:: *)
(*Template Boxes*)

(* ::**************************************************************************************************************:: *)
(* ::Subsection::Closed:: *)
(*UserMessageBox - one minor style tweaks compared to definition in Chatbook.nb *)
Cell[
StyleData[ "UserMessageBox" ],
TemplateBoxOptions -> {
DisplayFunction -> Function @ Evaluate @ PaneBox[
FrameBox[
#,
BaseStyle -> { "Text", Editable -> False, Selectable -> False },
Background -> RGBColor[ "#edf4fc" ],
FrameMargins -> { { 8, 15 }, { 8, 8 } },
FrameStyle -> RGBColor[ "#a3c9f2" ],
RoundingRadius -> 8, (* tweaked *)
StripOnInput -> False
],
Alignment -> Right,
ImageSize -> { Full, Automatic }
]
}
]

(* ::**************************************************************************************************************:: *)
(* ::Subsection::Closed:: *)
(*AssistantMessageBox - only a few minor style tweaks compared to definition in Chatbook.nb *)
Expand Down
Loading

0 comments on commit 91bc262

Please sign in to comment.