Mercurial > hg > xemacs-beta
view netinstall/dialog.h @ 714:02339d4ebed4
[xemacs-hg @ 2001-12-23 20:28:19 by wmperry]
2001-12-22 William M. Perry <wmperry@gnu.org>
* glyphs-gtk.c (gtk_xpm_instantiate): Don't bother doing the
xpm-color-symbols checks, they are impossible to implement with
GTK's XPM implementation. :(
2001-12-13 William M. Perry <wmperry@gnu.org>
* select-gtk.c (gtk_own_selection): Update to follow the new
method signature. Ignore owned_p as it appears to only be used
for motif hacks.
* redisplay-gtk.c (gtk_output_string): Fixed some warnings about
signed/unsigned comparison.
(gtk_output_gdk_pixmap): Remove clipping code as per change by
andy@xemacs.org to the X11 code.
(gtk_output_pixmap): Make this follow the output_pixmap method
conventions and expose it.
(gtk_output_horizontal_line): Renamed from output_hline, and
expose it in our method structure.
(gtk_ring_bell): Don't ring the bell if volume <= 0
* toolbar-gtk.c (gtk_output_toolbar_button):
(gtk_output_frame_toolbars):
(gtk_redraw_exposed_toolbars):
(gtk_redraw_frame_toolbars): These are now just aliases for the
common_XXX() routines in toolbar-common.c
* toolbar-common.c: New common toolbar implementation. This file
uses only the redisplay_XXX() functions and device methods to draw
the toolbar, and so should be portable across all windowing
systems (other than tty, and even then I imagine text-based stuff
would work if you had a way to select it).
author | wmperry |
---|---|
date | Sun, 23 Dec 2001 20:28:22 +0000 |
parents | ce0b3f2eff35 |
children |
line wrap: on
line source
/* * Copyright (c) 2000, Red Hat, Inc. * * 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. * * A copy of the GNU General Public License can be found at * http://www.gnu.org/ * * Written by DJ Delorie <dj@cygnus.com> * */ /* global instance for the application; set in main.cc */ extern HINSTANCE hinstance; /* used by main.cc to select the next do_* function */ extern int next_dialog; /* either "nothing to do" or "setup complete" or something like that */ extern int exit_msg; #define D(x) void x(HINSTANCE _h) /* prototypes for all the do_* functions (most called by main.cc) */ D(do_choose); D(do_desktop); D(do_download); D(do_fromcwd); D(do_ini); D(do_init); D(do_install); D(do_local_dir); D(do_net); D(do_other); D(do_postinstall); D(do_uninstall); D(do_root); D(do_site); D(do_source); D(do_splash); #undef D /* end this dialog and select the next. Pass 0 to exit the program */ #define NEXT(id) EndDialog((HWND)h, 0), next_dialog = id /* Get the value of an EditText control. Pass the previously stored value and it will free the memory if needed. */ char *eget (HWND h, int id, char *var); /* Same, but convert the value to an integer */ int eget (HWND h, int id); /* Set the EditText control to the given string or integer */ void eset (HWND h, int id, char *var); void eset (HWND h, int id, int var); /* RadioButtons. ids is a null-terminated list of IDs. Get returns the selected ID (or zero), pass an ID to set */ int rbget (HWND h, int *ids); void rbset (HWND h, int *ids, int id); /* *This* version of fatal (compare with msg.h) uses GetLastError() to format a suitable error message. Similar to perror() */ void fatal (char *msg);