<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hi Matías,<br>
<br>
I love to see this implemented.<br>
<br>
Please take a look at <br>
<a class="moz-txt-link-freetext" href="https://hg.sr.ht/~cy-de-fect/HaverOnCuis/browse/klg-packages/MorphZooming.pck.st">https://hg.sr.ht/~cy-de-fect/HaverOnCuis/browse/klg-packages/MorphZooming.pck.st</a><br>
which should be a useful starting point. Although this is a package<br>
implemented for Haver (<a class="moz-txt-link-freetext" href="http://haver.klix.ch">http://haver.klix.ch</a>), it should work with
plain Cuis,<br>
if you delete the <br>
<pre>!<span class="err">requires:</span> <span class="s">'WindowSets'</span> <span class="nf">1</span> <span class="m">29</span> <span class="nf">nil!</span></pre>
line.<br>
<br>
<br>
<b>Please note:</b><br>
<br>
Before adding any short-cuts/hotkeys consider implementing some<br>
some sort of registry for global keyboard shortcuts.<br>
<br>
I already have two packages, that modify<span class="nc"><br>
<tt>KeyboardEvent>>#</tt></span><tt><span class="nf">sendEventTo:.</span></tt><br>
Meaning the aforementioned requirement of the Haver's window sets
package<br>
is an artificial one, because this package also patches that <span
class="nc"><tt>KeyboardEvent>>#</tt></span><tt><span
class="nf">sendEventTo: </span></tt>method.<br>
(See
<a class="moz-txt-link-freetext" href="https://hg.sr.ht/~cy-de-fect/HaverOnCuis/browse/haver/ui/WindowSets.pck.st?rev=tip#L1676">https://hg.sr.ht/~cy-de-fect/HaverOnCuis/browse/haver/ui/WindowSets.pck.st?rev=tip#L1676</a>).<br>
<br>
Admittedly up to now I was to lazy to discuss the need for a
registry of global keyboard shortcuts<br>
with the community and preferred a simple "solution" for Haver.<br>
<br>
<br>
Best Regards,<br>
<br>
Gerald<br>
<br>
<br>
<div class="moz-cite-prefix"><br>
On 11/12/24 1:55 AM, Mark Volkmann via Cuis-dev wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAFfRWnW2fupYzAtGDre0nSfdtQEKqS=iend5GN8zxNQQWLLhEw@mail.gmail.com">
<pre class="moz-quote-pre" wrap="">All of your proposed shortcuts seem useful, but the ones I would use the
most are increasing/decreasing the size of GUI elements and toggling full
screen mode on and off.
On Mon, Nov 11, 2024 at 4:43 PM Matías Waisman via Cuis-dev <
<a class="moz-txt-link-abbreviated" href="mailto:cuis-dev@lists.cuis.st">cuis-dev@lists.cuis.st</a>> wrote:
</pre>
<blockquote type="cite">
<pre class="moz-quote-pre" wrap="">Hi, my name is Matías, and I'm a CS student at the Universidad de Buenos
Aires.
While working with CuisUniversity, I noticed that there’s a shortcut to
close a window (Ctrl + W), but none to collapse or expand it. I also think
it would be really helpful to have a shortcut to increase or decrease the
size of GUI elements, similar to how many IDEs allow you to adjust the
system font size with Ctrl + / Ctrl -.
Because of this, I started working on a few new shortcuts for Cuis. I’d
like to know if you think these shortcuts would be useful, what other
shortcuts you’d suggest, and which key combinations would be best for them.
The shortcuts that I’m currently working on are:
Increasing or decreasing the size of GUI elements with cmd +/cmd - in
MacOS or ctrl+/ctrl - in Windows and Linux.
Collapse current browser with cmd M/ ctrl M.
Expand the current browser with ctrl F/cmd F.
Turn fullscreen on/off with F11 on Windows, Linux or ctrl command F in
MacOS.
Greetings, Matías.
--
Cuis-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Cuis-dev@lists.cuis.st">Cuis-dev@lists.cuis.st</a>
<a class="moz-txt-link-freetext" href="https://lists.cuis.st/mailman/listinfo/cuis-dev">https://lists.cuis.st/mailman/listinfo/cuis-dev</a>
</pre>
</blockquote>
<pre class="moz-quote-pre" wrap="">
</pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
</blockquote>
<br>
</body>
</html>