view lwlib/lwlib-Xm.h @ 56104:a450e67752ed

(Vimage_types): Move from xdisp.c. (Vimage_type_cache): New variable. (define_image_type): New argument indicating whether an image library was loaded; cache loaded status and return t on success, nil otherwise. (CACHE_IMAGE_TYPE, ADD_IMAGE_TYPE): New macros. (w32_delayed_load): New function to load an image library from a list of possible filenames. (init_xpm_functions, init_png_functions, init_jpeg_functions) (init_tiff_functions, init_gif_functions): Use `w32_delayed_load'. (CHECK_LIB_AVAILABLE): Call `define_image_library' with new argument. (Finit_image_library): New function, extracted from `init_image'. Try to initialize an image library on demand and cache whether we were successful or not. (syms_of_image): Initialize `Vimage_types' and `Vimage_type_cache'. Add recognized image types to Vimage_types. Export `init-image-library'. (init_image): Remove initialization of all image types, except xbm and pbm.
author Juanma Barranquero <lekktu@gmail.com>
date Mon, 14 Jun 2004 20:47:25 +0000
parents 695cf19ef79e
children 5b0e15f7d88d 375f2633d815
line wrap: on
line source

#ifndef LWLIB_XM_H
#define LWLIB_XM_H

#include "lwlib-int.h"

extern widget_creation_entry xm_creation_table [];

Widget
xm_create_dialog __P ((widget_instance* instance));

Boolean
lw_motif_widget_p __P ((Widget widget));

void
xm_update_one_widget __P ((widget_instance* instance, Widget widget,
		      widget_value* val, Boolean deep_p));

void
xm_update_one_value __P ((widget_instance* instance, Widget widget,
		     widget_value* val));

void
xm_destroy_instance __P ((widget_instance* instance));

void
xm_set_keyboard_focus __P ((Widget parent, Widget w));

void
xm_popup_menu __P ((Widget widget, XEvent *event));

void
xm_pop_instance __P ((widget_instance* instance, Boolean up));

void
xm_set_main_areas __P ((Widget parent, Widget menubar, Widget work_area));

void
xm_manage_resizing __P ((Widget w, Boolean flag));

#endif /* LWLIB_XM_H */

/* arch-tag: 61561304-c146-437b-8ed3-dc33818703c6
   (do not change this comment) */