/[antiright]/antiright/src/arshell/arshell-util.c
ViewVC logotype

Diff of /antiright/src/arshell/arshell-util.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.6 by jefbed, Wed Aug 25 23:50:18 2004 UTC revision 1.7 by jefbed, Sat Nov 6 22:52:12 2004 UTC
# Line 76  arshell_optioned_button(Widget parent_wi Line 76  arshell_optioned_button(Widget parent_wi
76    return(button_widget);    return(button_widget);
77  }  }
78    
79  Widget  void
80  arshell_progress_bar(Widget parent)  arshell_set_progress_bar_arguments()
81  {  {
   Widget progress;  
82    antiright_set(XmNorientation, XmHORIZONTAL);    antiright_set(XmNorientation, XmHORIZONTAL);
83    antiright_set(XmNshowArrows, False);    antiright_set(XmNshowArrows, False);
84    antiright_set(XmNmaximum, 100);    antiright_set(XmNmaximum, 100);
85    antiright_set(XmNminimum, 0);    antiright_set(XmNminimum, 0);
86    antiright_set(XmNsliderSize, 1);    antiright_set(XmNsliderSize, 1);
87    antiright_set(XmNeditable, False);    antiright_set(XmNeditable, False);
88    }
89    
90    Widget
91    arshell_progress_bar(Widget parent)
92    {
93      Widget progress;
94      arshell_set_progress_bar_arguments();
95    progress=XmCreateScrollBar(parent, "progress",    progress=XmCreateScrollBar(parent, "progress",
96                               antiright.arguments, antiright.arguments_int);                               antiright.arguments, antiright.arguments_int);
97    XtManageChild(progress);    XtManageChild(progress);

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26