view src/windim.h @ 25:8eaf72e2041b

Reindent the source using GNU indent and "indent -i4 -bli0 -npcs -nprs -npsl". Fix the problems introduced afterwards.
author Matti Hamalainen <ccr@tnsp.org>
date Sat, 24 Sep 2011 14:16:04 +0300
parents 241c93442be0
children a68786b9c74b
line wrap: on
line source

/*
 *	windim.h
 *	Win_dim class - store the width or height of a window
 *	AYM 2000-05-29
 */


#ifndef YH_WINDIM		/* DO NOT INSERT ANYTHING BEFORE THIS LINE */
#define YH_WINDIM


struct Win_dim_priv;

class Win_dim
{
  public:
    Win_dim();
    Win_dim(const char *string);
     ~Win_dim();
    int set(const char *string);
    int pixels(int ref_pixels);
    void string(char *buf, size_t buf_size);

  private:
      Win_dim(const Win_dim &);	// Too lazy to implement it
      Win_dim & operator=(const Win_dim &);	// Too lazy to implement it
    struct Win_dim_priv *p;
};

#endif /* DO NOT ADD ANYTHING AFTER THIS LINE */