Skip to content

Instantly share code, notes, and snippets.

@zeffii
Created July 30, 2017 14:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zeffii/1879d3bb351307da357bdb99ea7ab965 to your computer and use it in GitHub Desktop.
Save zeffii/1879d3bb351307da357bdb99ea7ab965 to your computer and use it in GitHub Desktop.
// u.refresh;
// pattern and song info
/*
~mu = UserView(w, Rect(~p_offset_x, 0, 200, ~p_offset_y-16));
~mu.backColor = Color(0.13, 0.3, 0.5, 0.07); // Color.clear;
~mu.drawFunc_{ |tview|
~info_name_width = 60;
~font_rescale = 0.8;
~mutv = StaticText(~mu, Rect(0, 0, ~info_name_width, ~cell_height*~font_rescale));
~mutv.string_("Song Name");
~mutv.align = \right;
~mutv.font = ~ui_font;
~mutv.stringColor = Color(0.9, 0.9, 0.9, 1.0);
// ~mutv.background = Color(0.4, 0.4, 0.4, 1.0);
~mutp = StaticText(
~mu,
Rect(0, ~cell_height*~font_rescale, ~info_name_width, ~cell_height*~font_rescale));
~mutp.string_("Pattern");
~mutp.align = \right;
~mutp.font = ~ui_font;
~mutp.stringColor = Color(0.9, 0.9, 0.9, 1.0);
// ~mutp.background = Color.black;
};
*/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment