File: ui.c

package info (click to toggle)
xwatch 2.11-16.3
  • links: PTS
  • area: main
  • in suites: sid, trixie
  • size: 528 kB
  • sloc: ansic: 865; makefile: 65
file content (60 lines) | stat: -rw-r--r-- 2,770 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
/* <<< Start of information >>>                                             */
/* This file is part of the xwatch package.                                 */
/* Copyright (C) 1995 Karel Kubat.  All rights reserved.                    */
/*                                                                          */
/* This program is free software; you can redistribute it and/or modify it  */
/* under the terms of the GNU General Public License as published by the    */
/* Free Software Foundation; either version 2 of the License, or (at your   */
/* option) any later version.                                               */
/*                                                                          */
/* You may link this software with XForms (Copyright (C) by T.C. Zhao and   */
/* Mark Overmars) and distribute the resulting binary, under the            */
/* restrictions in clause 3 of the GPL, even though the resulting binary is */
/* not, as a whole, covered by the GPL. (You still need a separate license  */
/* to do so from the owner(s) of the copyright for XForms, however).  If a  */
/* derivative no longer requires XForms, you may use the unsupplemented GPL */
/* as its license by deleting this paragraph and therefore removing this    */
/* exemption for XForms.                                                    */
/*                                                                          */
/* This program is distributed in the hope that it will be useful,          */
/* but WITHOUT ANY WARRANTY; without even the implied warranty of           */
/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the            */
/* GNU General Public License for more details.                             */
/*                                                                          */
/* You should have received a copy of the GNU General Public License        */
/* along with this program; if not, write to the Free Software              */
/* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA */
/* <<< End of information >>>                                               */
/* Form definition file generated with fdesign. */

#include <forms.h>
#include <stdlib.h>
#include "ui.h"

FL_FORM *browser_form;

FL_OBJECT
        *watch_browser;

void create_form_browser_form(void)
{
  FL_OBJECT *obj;

  if (browser_form)
     return;

  browser_form = fl_bgn_form(FL_NO_BOX,550,70);
  obj = fl_add_box(FL_UP_BOX,0,0,550,70,"");
  watch_browser = obj = fl_add_browser(FL_NORMAL_BROWSER,0,0,550,70,"");
    fl_set_object_color(obj,FL_WHITE,FL_YELLOW);
    fl_set_object_lcol(obj,FL_RED);
  fl_end_form();

}
/*---------------------------------------*/

void create_the_forms(void)
{
  create_form_browser_form();
}