gitkrwcharacterinput.c File Reference

gitk phone renderer widget More...

#include "gitkrincludes.h"

Include dependency graph for gitk-renderer-phone/widgets/gitkrwcharacterinput.c:

Include dependency graph

Go to the source code of this file.

Defines

#define GITK_RENDERER_C
#define GITKR_WIDGET_CHARACTERINPUT_C
#define MAX_INPUT_LEN   1024
 maximum number of chars for character input


Functions

gboolean gitkr_widget_characterinput_handle (GitkrPhoneWidgetPtr widget)
 handle events of a character-input widget

void gitkr_widget_characterinput_new (GitkrPhoneWidgetPtr widget, GitkDialogPtr dialog, xmlNodePtr node)
 create a new character-input widget

void gitkr_widget_characterinput_output (GitkrPhoneWidgetPtr widget, gboolean active)
 display a character-input widget

void gitkr_widget_characterinput_value_output (gchar *value, gint offset)
 display the value of a character-input widget


Detailed Description

gitk phone renderer widget

Id
gitkrwcharacterinput.c,v 1.5 2004/06/08 10:30:51 sast Exp

Author:
Steffen Ast <sast@users.sf.net>
Date:
Sat Mar 27 21:33:26 2004

Definition in file gitk-renderer-phone/widgets/gitkrwcharacterinput.c.


Define Documentation

#define MAX_INPUT_LEN   1024
 

maximum number of chars for character input

Definition at line 46 of file gitk-renderer-phone/widgets/gitkrwcharacterinput.c.

Referenced by gitkr_widget_characterinput_handle().


Function Documentation

gboolean gitkr_widget_characterinput_handle GitkrPhoneWidgetPtr  widget  ) 
 

handle events of a character-input widget

Todo:
es gibt noch keinen richtigen Abbruch if(strcmp(editbuf, "") && strcmp(editbuf, "\n")) strcpy(value, editbuf); if(!strcmp(editbuf, "\0") && !strcmp(editbuf, "\n")) value = NULL;

Definition at line 49 of file gitk-renderer-phone/widgets/gitkrwcharacterinput.c.

References capi_dtmf_input_text(), capi_sound_question(), capi_text_output(), capiinfo, GitkrPhoneWidget::dialog, ftinfo, gitkr_widget_characterinput_value_output(), gitkr_widget_get_value(), gitkr_widget_set_value(), GitkrPhoneWidgetPtr, GitkrPhoneWidget::id, and MAX_INPUT_LEN.

Referenced by gitkr_widget_characterinput_new().

Here is the call graph for this function:

void gitkr_widget_characterinput_new GitkrPhoneWidgetPtr  widget,
GitkDialogPtr  dialog,
xmlNodePtr  node
 

create a new character-input widget

Definition at line 18 of file gitk-renderer-phone/widgets/gitkrwcharacterinput.c.

References GITK_WIDGET_TYPE_CHARACTERINPUT, GitkDialogPtr, gitkr_widget_characterinput_handle(), gitkr_widget_characterinput_output(), gitkr_widget_new(), GitkrPhoneWidgetPtr, GitkrPhoneWidget::handle, GitkrPhoneWidget::output, and GitkrPhoneWidget::type.

Here is the call graph for this function:

void gitkr_widget_characterinput_output GitkrPhoneWidgetPtr  widget,
gboolean  active
 

display a character-input widget

Definition at line 26 of file gitk-renderer-phone/widgets/gitkrwcharacterinput.c.

References capi_text_output(), capiinfo, GitkrPhoneWidget::dialog, ftinfo, gitkr_widget_characterinput_value_output(), gitkr_widget_get_value(), GitkrPhoneWidgetPtr, GitkrPhoneWidget::id, GitkrPhoneWidget::label, and selected.

Referenced by gitkr_widget_characterinput_new().

Here is the call graph for this function:

void gitkr_widget_characterinput_value_output gchar *  value,
gint  offset
 

display the value of a character-input widget

Definition at line 77 of file gitk-renderer-phone/widgets/gitkrwcharacterinput.c.

References capi_text_output(), capiinfo, and ftinfo.

Here is the call graph for this function:


Generated on Thu Oct 28 11:01:47 2004 for gitk by doxygen 1.3.6