Initial import of the CDE 2.1.30 sources from the Open Group.
This commit is contained in:
119
cde/programs/dtcm/dtcm/editor.h
Normal file
119
cde/programs/dtcm/dtcm/editor.h
Normal file
@@ -0,0 +1,119 @@
|
||||
/*******************************************************************************
|
||||
**
|
||||
** editor.h
|
||||
**
|
||||
** static char sccsid[] = "@(#)editor.h 1.12 94/03/03 Copyr 1991 Sun Microsystems, Inc.";
|
||||
**
|
||||
** $XConsortium: editor.h /main/4 1996/05/23 11:18:40 rswiston $
|
||||
**
|
||||
** RESTRICTED CONFIDENTIAL INFORMATION:
|
||||
**
|
||||
** The information in this document is subject to special
|
||||
** restrictions in a confidential disclosure agreement between
|
||||
** HP, IBM, Sun, USL, SCO and Univel. Do not distribute this
|
||||
** document outside HP, IBM, Sun, USL, SCO, or Univel without
|
||||
** Sun's specific written approval. This document and all copies
|
||||
** and derivative works thereof must be returned or destroyed at
|
||||
** Sun's request.
|
||||
**
|
||||
** Copyright 1993 Sun Microsystems, Inc. All rights reserved.
|
||||
**
|
||||
*******************************************************************************/
|
||||
|
||||
/* *
|
||||
* (c) Copyright 1993, 1994 Hewlett-Packard Company *
|
||||
* (c) Copyright 1993, 1994 International Business Machines Corp. *
|
||||
* (c) Copyright 1993, 1994 Sun Microsystems, Inc. *
|
||||
* (c) Copyright 1993, 1994 Novell, Inc. *
|
||||
*/
|
||||
|
||||
#ifndef _EDITOR_H
|
||||
#define _EDITOR_H
|
||||
|
||||
#include <csa.h>
|
||||
#include "ansi_c.h"
|
||||
#include "calendar.h"
|
||||
#include "misc.h"
|
||||
#include "dssw.h"
|
||||
#include "rfp.h"
|
||||
#include "reminders.h"
|
||||
|
||||
/*******************************************************************************
|
||||
**
|
||||
** Editor structures
|
||||
**
|
||||
*******************************************************************************/
|
||||
typedef struct {
|
||||
int appt_count;
|
||||
CSA_entry_handle *appt_head;
|
||||
Widget appt_list;
|
||||
Widget appt_list_sw;
|
||||
Widget base_form_mgr;
|
||||
Calendar *cal;
|
||||
Widget change_button;
|
||||
Widget clear_button;
|
||||
Widget close_button;
|
||||
Widget delete_button;
|
||||
Boolean doing_drag;
|
||||
Pixmap drag_bitmap;
|
||||
Widget drag_icon;
|
||||
Widget drag_source;
|
||||
Pixmap drag_mask;
|
||||
DSSW dssw;
|
||||
int dsswFlags;
|
||||
Boolean editor_is_up;
|
||||
Boolean editor_view_is_up;
|
||||
Widget expand_ui_button;
|
||||
Widget frame;
|
||||
Widget help_button;
|
||||
int initialX;
|
||||
int initialY;
|
||||
Widget insert_button;
|
||||
Widget list_label;
|
||||
Widget message_text;
|
||||
Reminders reminders;
|
||||
RFP rfp;
|
||||
int rfpFlags;
|
||||
Widget separator1;
|
||||
Widget separator2;
|
||||
Widget view_form_mgr;
|
||||
Widget view_frame;
|
||||
Widget view_form;
|
||||
Widget view_list_label;
|
||||
Widget view_list;
|
||||
Widget view_sw_mgr;
|
||||
Widget view_cancel_button;
|
||||
Widget view_help_button;
|
||||
Glance view_list_glance;
|
||||
Tick view_list_date;
|
||||
} Editor;
|
||||
|
||||
/*******************************************************************************
|
||||
**
|
||||
** Editor external function declarations
|
||||
**
|
||||
*******************************************************************************/
|
||||
extern void add_to_appt_list P((CSA_entry_handle, Editor*));
|
||||
extern void add_all_appt P((Editor*));
|
||||
extern void build_editor_list P((Editor*, Tick, Glance, CSA_entry_handle**,
|
||||
CSA_uint32*));
|
||||
extern int build_editor_view P((Editor*, Glance, Boolean));
|
||||
extern Boolean editor_change P((Dtcm_appointment*, CSA_entry_handle,
|
||||
CSA_entry_handle*, Calendar*));
|
||||
extern void editor_clean_up P((Editor*));
|
||||
extern Boolean editor_created P((Editor*));
|
||||
extern Boolean editor_delete P((CSA_entry_handle, Calendar*));
|
||||
extern Boolean editor_insert P((Dtcm_appointment*, CSA_entry_handle*,
|
||||
Calendar*));
|
||||
extern CSA_entry_handle editor_nth_appt P((Editor*, int));
|
||||
extern Boolean editor_showing P((Editor*));
|
||||
extern Boolean editor_view_showing P((Editor*));
|
||||
extern void get_editor_vals P((Editor*));
|
||||
extern void set_editor_defaults P((Editor*, Tick, Tick, Boolean));
|
||||
extern void set_editor_title P((Editor*, char *));
|
||||
extern void set_editor_vals P((Editor*, Tick, Tick));
|
||||
extern void show_editor P((Calendar*, Tick, Tick, Boolean));
|
||||
extern void show_editor_view P((Calendar*, Glance));
|
||||
extern void e_make_editor P((Calendar*));
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user