Back to index

lightning-sunbird  0.9+nobinonly
Classes | Defines
nsWidget.h File Reference
#include "nsBaseWidget.h"
#include "nsWeakReference.h"
#include "nsIKBStateControl.h"
#include "nsIRegion.h"
#include "nsIRollupListener.h"
#include <gtk/gtk.h>
#include <gdk/gdkprivate.h>
#include "gtkmozbox.h"
#include "nsITimer.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  nsWidget
 Base of all GTK+ native widgets. More...

Defines

#define NSRECT_TO_GDKRECT(ns, gdk)
#define NSCOLOR_TO_GDKCOLOR(n, g)

Define Documentation

#define NSCOLOR_TO_GDKCOLOR (   n,
  g 
)
Value:
PR_BEGIN_MACRO \
  g.red = 256 * NS_GET_R(n); \
  g.green = 256 * NS_GET_G(n); \
  g.blue = 256 * NS_GET_B(n); \
  PR_END_MACRO

Definition at line 66 of file nsWidget.h.

#define NSRECT_TO_GDKRECT (   ns,
  gdk 
)
Value:
PR_BEGIN_MACRO \
  gdk.x = ns.x; \
  gdk.y = ns.y; \
  gdk.width = ns.width; \
  gdk.height = ns.height; \
  PR_END_MACRO

Definition at line 58 of file nsWidget.h.