<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
I could change it to separate it from the rest. But probably i'll need some directions as i'm a newbie.</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Some stuff is already separated such as the hotkey handling which is done in <a href="https://github.com/HenriAugusto/pure-data/blob/f5c39cb5cd7ebc101b0b3d9dcde28491b2093b57/src/g_editor.c#L5025" title="https://github.com/HenriAugusto/pure-data/blob/f5c39cb5cd7ebc101b0b3d9dcde28491b2093b57/src/g_editor.c#L5025">
kbdnav_key</a> instead of canvas_key (which is already very long). </div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
But there is stuff like the drawing of the rectangles to indicate which in/outlet is selected for example, which is done in
<a href="https://github.com/HenriAugusto/pure-data/blob/f5c39cb5cd7ebc101b0b3d9dcde28491b2093b57/src/g_text.c#L1365" title="https://github.com/HenriAugusto/pure-data/blob/f5c39cb5cd7ebc101b0b3d9dcde28491b2093b57/src/g_text.c#L1365">
glist_drawiofor</a> inside  g_texc.c. </div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Also, in <i>g_canvas.h</i>, inside the "<i>struct _editor" </i>there is a<i> "struct _kbdnav" member.
</i>This is the struct that contains the data used in the keyboard navigation.</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="color: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;">So how one should go to keep everything optional?</span><br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Using preprocessor #if's to include/exclude code during compilation?</div>
<div>
<div id="appendonsend"></div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>De:</b> Miller Puckette <msp@ucsd.edu><br>
<b>Enviado:</b> quarta-feira, 12 de junho de 2019 00:48<br>
<b>Para:</b> Dan Wilcox<br>
<b>Cc:</b> Henri Augusto Bisognini; pd-dev<br>
<b>Assunto:</b> Re: [PD-dev] First complete keyboard navigation prototype</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt">
<div class="PlainText">I agree - I haven't looked at the code but if it can fit easily into Pd's<br>
source tree as a run-time option this would be worth adding.<br>
<br>
cheers<br>
M<br>
<br>
On Mon, Jun 10, 2019 at 01:59:35PM +0200, Dan Wilcox wrote:<br>
> *Not really feedback, but just a general response.*<br>
> <br>
> One thing I would suggest would be to make this an optional feature in some way. Maybe we can work together with IOhannes and Christof to propose changes to the Pd sources to allow for adding in this kind of functionality without *requiring* it to be built
 into the core itself. I have been thinking of these kinds of approaches since I see this being a greta feature for the GUI but basically unused for something like libpd. In the latter case, I'd like to simply not compile it and the easiest way would if the
 main functionality is in a separate set of files that can be left out.<br>
> <br>
> This might be a process that has to happen later on, but something to think of for now in order to balance the addition of new features while maintaining the possibility for a fast, slim core.<br>
> <br>
> > On Jun 10, 2019, at 10:30 AM, pd-dev-request@lists.iem.at wrote:<br>
> > <br>
> > Date: Sun, 9 Jun 2019 19:16:36 +0000<br>
> > From: Henri Augusto Bisognini <msndohenri@hotmail.com <<a href="mailto:msndohenri@hotmail.com">mailto:msndohenri@hotmail.com</a>>><br>
> > To: "pd-dev@lists.iem.at <<a href="mailto:pd-dev@lists.iem.at">mailto:pd-dev@lists.iem.at</a>>" <pd-dev@lists.iem.at <<a href="mailto:pd-dev@lists.iem.at">mailto:pd-dev@lists.iem.at</a>>><br>
> > Subject: Re: [PD-dev] First complete keyboard navigation prototype<br>
> > Message-ID:<br>
> >      <CP2PR80MB0386C0D2C66D1CE34F458BE3CC120@CP2PR80MB0386.lamprd80.prod.outlook.com <<a href="mailto:CP2PR80MB0386C0D2C66D1CE34F458BE3CC120@CP2PR80MB0386.lamprd80.prod.outlook.com">mailto:CP2PR80MB0386C0D2C66D1CE34F458BE3CC120@CP2PR80MB0386.lamprd80.prod.outlook.com</a>>><br>
> >      <br>
> > Content-Type: text/plain; charset="iso-8859-1"<br>
> > <br>
> > Thanks Christof! Indeed it's already been very nice to use it during my tests.<br>
> > <br>
> > I'l probably wrap up a small file containing some basic infos about how everything works to make it easier for more people to modify the code and test ideas.<br>
> <br>
> --------<br>
> Dan Wilcox<br>
> @danomatika <<a href="http://twitter.com/danomatika">http://twitter.com/danomatika</a>><br>
> danomatika.com <<a href="http://danomatika.com/">http://danomatika.com/</a>><br>
> robotcowboy.com <<a href="http://robotcowboy.com/">http://robotcowboy.com/</a>><br>
> <br>
> <br>
> <br>
<br>
> _______________________________________________<br>
> Pd-dev mailing list<br>
> Pd-dev@lists.iem.at<br>
> <a href="https://lists.puredata.info/listinfo/pd-dev">https://lists.puredata.info/listinfo/pd-dev</a><br>
<br>
</div>
</span></font></div>
</div>
</body>
</html>