Correctly populate the constant and function menus (Bug #527545)
[gcalctool.git] / gcalctool / display.h
blobc3b321ed3fffa54a4f2ab19a59078cc5bd5d955c
2 /* $Header$
4 * Copyright (c) 1987-2008 Sun Microsystems, Inc. All Rights Reserved.
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2, or (at your option)
9 * any later version.
11 * This program is distributed in the hope that it will be useful, but
12 * WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
19 * 02111-1307, USA.
22 #ifndef DISPLAY_H
23 #define DISPLAY_H
25 #include "calctool.h"
27 void initialise();
28 void localize_expression(char *, const char *, int);
29 char *make_fixed(int *, char *, int, int, int);
30 char *make_number(int *, int, int);
31 void clear_display(int);
32 void MPstr_to_num(char *, enum base_type, int *);
33 void paren_disp(int);
34 void refresh_display(int);
35 void show_display(int *);
36 void process_item(struct button *, int);
37 gboolean display_is_result(void);
39 #endif /* DISPLAY_H */