Back to index

lightning-sunbird  0.9+nobinonly
DumpColors.cpp File Reference
#include <stdio.h>
#include "nsColor.h"
#include "nsColorNames.h"
#include "nsString.h"

Go to the source code of this file.


int main (int argc, char **argv)
 The Xalan testcases app.

Function Documentation

int main ( int  argc,
char **  argv 

The Xalan testcases app.

Definition at line 43 of file DumpColors.cpp.

  for (int i = 0; i < eColorName_COUNT; i++) {
    nscolor rgba = nsColorNames::kColors[i];
    printf("%s: NS_RGB(%d,%d,%d,%d)\n",
          NS_GET_R(rgba), NS_GET_G(rgba), NS_GET_B(rgba), NS_GET_A(rgba));
  return 0;

Here is the call graph for this function: