emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lwlib/xlwmenuP.h


From: Pavel Janík
Subject: [Emacs-diffs] Changes to emacs/lwlib/xlwmenuP.h
Date: Mon, 06 May 2002 14:54:29 -0400

Index: emacs/lwlib/xlwmenuP.h
diff -c emacs/lwlib/xlwmenuP.h:1.5 emacs/lwlib/xlwmenuP.h:1.6
*** emacs/lwlib/xlwmenuP.h:1.5  Fri Jun 16 14:33:58 2000
--- emacs/lwlib/xlwmenuP.h      Mon May  6 14:54:28 2002
***************
*** 20,30 ****
  
  
  /* New fields for the XlwMenu widget instance record */
! typedef struct _XlwMenu_part 
  {
    /* slots set by the resources */
    XFontStruct*        font;
    Pixel               foreground;
    Pixel               button_foreground;
    Dimension   margin;
    Dimension   horizontal_spacing;
--- 20,31 ----
  
  
  /* New fields for the XlwMenu widget instance record */
! typedef struct _XlwMenu_part
  {
    /* slots set by the resources */
    XFontStruct*        font;
    Pixel               foreground;
+   Pixel               disabled_foreground;
    Pixel               button_foreground;
    Dimension   margin;
    Dimension   horizontal_spacing;
***************
*** 44,50 ****
    /* True means top_shadow_color and/or bottom_shadow_color must be freed.  */
    unsigned free_top_shadow_color_p : 1;
    unsigned free_bottom_shadow_color_p : 1;
!   
    /* State of the XlwMenu */
    int                 old_depth;
    widget_value**      old_stack;
--- 45,51 ----
    /* True means top_shadow_color and/or bottom_shadow_color must be freed.  */
    unsigned free_top_shadow_color_p : 1;
    unsigned free_bottom_shadow_color_p : 1;
! 
    /* State of the XlwMenu */
    int                 old_depth;
    widget_value**      old_stack;
***************
*** 63,69 ****
    GC                  foreground_gc;
    GC                  button_gc;
    GC                  background_gc;
!   GC                  inactive_gc;
    GC                  inactive_button_gc;
    GC                  shadow_top_gc;
    GC                  shadow_bottom_gc;
--- 64,70 ----
    GC                  foreground_gc;
    GC                  button_gc;
    GC                  background_gc;
!   GC                  disabled_gc;
    GC                  inactive_button_gc;
    GC                  shadow_top_gc;
    GC                  shadow_bottom_gc;
***************
*** 73,92 ****
  } XlwMenuPart;
  
  /* Full instance record declaration */
! typedef struct _XlwMenuRec 
  {
    CorePart    core;
    XlwMenuPart menu;
  } XlwMenuRec;
  
  /* New fields for the XlwMenu widget class record */
! typedef struct 
  {
    int dummy;
  } XlwMenuClassPart;
  
  /* Full class record declaration. */
! typedef struct _XlwMenuClassRec 
  {
    CoreClassPart               core_class;
    XlwMenuClassPart    menu_class;
--- 74,93 ----
  } XlwMenuPart;
  
  /* Full instance record declaration */
! typedef struct _XlwMenuRec
  {
    CorePart    core;
    XlwMenuPart menu;
  } XlwMenuRec;
  
  /* New fields for the XlwMenu widget class record */
! typedef struct
  {
    int dummy;
  } XlwMenuClassPart;
  
  /* Full class record declaration. */
! typedef struct _XlwMenuClassRec
  {
    CoreClassPart               core_class;
    XlwMenuClassPart    menu_class;



reply via email to

[Prev in Thread] Current Thread [Next in Thread]