Re: [Ekiga-devel-list] fence-like levelmeter

2006-09-06 Thread thomas schorpp
thomas schorpp wrote:
 Jan Schampera wrote:
 
Hi Devs,
 
 
 hi Jan,
 
 
Damien asked me to do some ressearch on a widget that can give a link
quality status. Imagine it in the lower left corner, right next to the
status text of the main window.
 
 
 1.) ergonomics analysis
 
 
The animation is composed of the 5 states the widget can show 0-1-2-3-4.
 
 
 ok, every kid with a mobile knows and can read this symbol
 
 
I tried to get some color relation to the Ekiga logo (a darker orange
and a lighter one).
 
 
 mozilla does not show any brightness differences here.
 
 marketing priorities with technical meter ergonomics collision:
 
 every quality meter (like for tv-apps) must be light-green, or risk 
 of user symbol misinterpretation/confusion (rising quality or error rate?).
 color steps from red over yellow to green (~20% statistic median of lost 
 packets or so) 
 are more easy for users to report and communicate to the devs in case 
 of problems. IMHO.
 On STUN problems the symbol should flash light red/yellow with f=2Hz.  
 
 
Technically the widget will take a level value between 0.0 and 1.0 and
will recalculate it internally, that way one can change the view (maybe
more bars) and doesn't need to change external calculation code. The
widget will be native 22px to 22px (icons).
 
 
 looks ok.
 
 
Any comments about the optics so far? The widget code isn't ready yet.

2.) code:

gint
gtk_fencemeter4_get_index_by_level (gfloat level)
{
  /* FIXME i need some arithmetics */
  if (level == 0.0)
return 0;

  if (level  0.0  level = 0.25)
return 1;

 is float mandatory here? makes no sense since big 
rounding steps.



http://www.thebonsai.de/images/gtkfencemeter4_ani.gif


J.

 
 
 y
 tom
 
 ___
 Ekiga-devel-list mailing list
 Ekiga-devel-list@gnome.org
 http://mail.gnome.org/mailman/listinfo/ekiga-devel-list
 
 

___
Ekiga-devel-list mailing list
Ekiga-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/ekiga-devel-list


Re: [Ekiga-devel-list] Problems compiling Ekiga - OPAL

2006-09-06 Thread Damien Sandras
Le mercredi 06 septembre 2006 à 00:37 +0200, Jan Schampera a écrit :
 Hi devs,
 
 while installing full HEAD (PWLib, OPAL, Ekiga), i got the following
 error compiling Ekiga:
 
 
 /usr/include/opal/h323/h4601.h: In member function
 'H460_FeatureContent::operator
 H460_FeatureTable*()':
 /usr/include/opal/h323/h4601.h:294: warning:
 type-punning to incomplete type might break strict-aliasing rules
 endpoints/manager.cpp: In member function 'virtual void
 GMManager::OnEstablished(OpalConnection)': endpoints/manager.cpp:1039:
 error: 'class RTP_Session' has no member named
 'SetIgnorePayloadTypeChanges' endpoints/manager.cpp:1044: error: 'class
 RTP_Session' has no member named 'SetIgnorePayloadTypeChanges'
 

[EMAIL PROTECTED]:~/CVS/opal$ cvs -z9 update -APd

(nothing special)

[EMAIL PROTECTED]:~/CVS/opal$ grep SetIgnorePayloadTypeChanges . -r 
./include/rtp/rtp.h:void SetIgnorePayloadTypeChanges(

Old headers?




 J.
 
-- 
 _  Damien Sandras
(o- 
//\ Ekiga Softphone: http://www.ekiga.org/
v_/_FOSDEM 2006: http://www.fosdem.org/
SIP Phone  : sip:[EMAIL PROTECTED]
 sip:[EMAIL PROTECTED]

___
Ekiga-devel-list mailing list
Ekiga-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/ekiga-devel-list


Re: [Ekiga-devel-list] fence-like levelmeter

2006-09-06 Thread Julien PUYDT
Julien PUYDT a écrit :
 I had no time yet to look at your code, but I woud prefer a guint, with 
 a pretty :
 g_return_if_fail (given_value = 0  given_value = 100);
 at the beginning of the function which gets the value to show.

Hmmm... in fact a guint doesn't need the check for = 0. Silly me.

Snark
___
Ekiga-devel-list mailing list
Ekiga-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/ekiga-devel-list


Re: [Ekiga-devel-list] Problems compiling Ekiga - OPAL

2006-09-06 Thread Jan Schampera
On Wed, 06 Sep 2006 13:23:50 +0200
Damien Sandras [EMAIL PROTECTED] wrote:


 Old headers?

I can't imagine why. Anyways, i will remove all traces of
PWLib/OPAL/Ekiga manually (argh) and retry.

J.

-- 
Live as if you were to die tomorrow.
Learn as if you were to live forever.
___
Ekiga-devel-list mailing list
Ekiga-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/ekiga-devel-list


Re: [Ekiga-devel-list] New features in CVS.

2006-09-06 Thread Damien Sandras
Le mercredi 06 septembre 2006 à 17:19 +0100, Peter Robinson a écrit :
  See my blog on http://blog.ekiga.net.
 
 Very cool! Well done all.
 
 I must say I haven't had time to play with CVS for quite some time,
 and 2.0.2 just worked so nicely.
 
 One pet peeve though is if you login with no network it pops up 2
 errors (one for H323 and one for SIP) regarding this. Any chance of it
 using dbus/NetworkManager to find the status of the network and when
 it comes back up (wireless for eg) then automatically re-registers
 accounts etc?

Yes, it is on the todo.
-- 
 _  Damien Sandras
(o- 
//\ Ekiga Softphone: http://www.ekiga.org/
v_/_FOSDEM 2006: http://www.fosdem.org/
SIP Phone  : sip:[EMAIL PROTECTED]
 sip:[EMAIL PROTECTED]

___
Ekiga-devel-list mailing list
Ekiga-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/ekiga-devel-list