[prev in list] [next in list] [prev in thread] [next in thread] 

List:       flightgear-devel
Subject:    Re: [Flightgear-devel] Tooltips, mouse-look now enabled by default
From:       Tomash Brechko <tomash.brechko () gmail ! com>
Date:       2013-10-26 22:05:14
Message-ID: CAGxrb-KuzFhcUVM8oYzEaUgUbN6sn3vuEP-54AEJi-PTxwgQvA () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


2013/10/27 James Turner <zakalawe@mac.com>

> Enumerating all types on startup is unfortunately impossible,
>

That's not essential, the key idea is that type list should be extensible,
your idea about /sim/mouse/enabled-tooltip-type[0]="whatthis" is fine (and
immediately suggests /sim/mouse/enabled-tooltip-label[0]="What's this?" -
or is dynamic type list in the dialog is also impossible?).



> and as you guessed the system deliberately only allows one tooltip / popup
> to avoid any chance of clutter.
>

If there will be more than one tooltip type then we have to support showing
all of them at once, otherwise it's either "instrument reading" or "what's
this?".  However it was my bad idea to show them separately.  It should be
possible to implement support for several <hovered> blocks with different
<type> (renamed to <tooltip-class>?), but after checking which ones are
enabled you simply concatenate them with an empty line in between and show
as a single multiline tooltip.  More work still :).



> We certainly can leave it, but the above would be only a few hours work to
> add
>

You are the boss, go ahead if you feel like it.  Thanks!


-- 
  Tomash Brechko

[Attachment #5 (text/html)]

<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">2013/10/27 James \
Turner <span dir="ltr">&lt;<a href="mailto:zakalawe@mac.com" \
target="_blank">zakalawe@mac.com</a>&gt;</span><br><blockquote class="gmail_quote" \
style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex"> <div \
style="word-wrap:break-word"><div><div>Enumerating all types on startup is \
unfortunately impossible,</div></div></div></blockquote><div><br></div><div>That&#39;s \
not essential, the key idea is that type list should be extensible, your idea about \
/sim/mouse/enabled-tooltip-type[0]=&quot;whatthis&quot; is fine (and immediately \
suggests /sim/mouse/enabled-tooltip-label[0]=&quot;What&#39;s this?&quot; - or is \
dynamic type list in the dialog is also impossible?).<br> </div><div><br>  \
</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px \
solid rgb(204,204,204);padding-left:1ex"><div style="word-wrap:break-word"><div><div> \
and as you guessed the system deliberately only allows one tooltip / popup to avoid \
any chance of clutter.</div> </div></div></blockquote><div><br></div><div>If there \
will be more than one tooltip type then we have to support showing all of them at \
once, otherwise it&#39;s either &quot;instrument reading&quot; or &quot;what&#39;s \
this?&quot;.   However it was my bad idea to show them separately.   It should be \
possible to implement support for several &lt;hovered&gt; blocks with different \
&lt;type&gt; (renamed to &lt;tooltip-class&gt;?), but after checking which ones are \
enabled you simply concatenate them with an empty line in between and show as a \
single multiline tooltip.   More work still :).<br> </div><br><div>  \
</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px \
solid rgb(204,204,204);padding-left:1ex"><div style="word-wrap:break-word"><div>We \
certainly can leave it, but the above would be only a few hours work to add</div> \
</div></blockquote><div><br></div><div>You are the boss, go ahead if you feel like \
it.   Thanks!<br></div><br></div><br>-- <br><div dir="ltr"><div>   Tomash \
Brechko<br></div></div> </div></div>



------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk

_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic