wavdzwin.h

来自「wavlet compression on c++ only cods」· C头文件 代码 · 共 44 行

H
44
字号
// Copyright (c) 1999 Stephen T. Welstead. All rights reserved.
// File WAVDZWIN.H  Header: Wavelet Zerotree Decoding Window

#ifndef WAVDZWIN_H
#define WAVDZWIN_H

#include "utofile.h"
#include "zerotree.h"
#include "wavwin.h"

class tdecode_zerotree_window_manager: public tmdi_manager {
   public:
   tdecode_zerotree_window_manager (HINSTANCE hInstance,
       tmdi_frame_window *parent,
       LPCSTR menu_name,LPCSTR class_name);
   virtual void set_global_ptr (void);
   virtual int respond_wm_create (HWND hwnd);
   };

class tdecode_zerotree_window: public twavelet_window
{  public:
   tzerotree *symbol_array;
   LPSTR decode_filename;
   int show_progressive_decoding;
   int bit_count;
   int bit_plane_count,bit_plane_total;
   tsymbol_bit_array symbol_bits;
   virtual void read_symbol (short *symbol,FILE *input_file);
   tdecode_zerotree_window(HWND hwnd,
	 tmdi_manager *the_manager,LPSTR the_decode_filename);
   virtual int get_wavelet_compressed_image (void);
   virtual int show_gray_image (timage *image_obj);
   virtual int zerotree_decoding (FILE *input,twavelet *wavelet,
	  int rows,float lowpass_value,int log_2_threshold);
   virtual int respond_wm_create(HWND hwnd);
   virtual int respond_wm_paint (void);
   virtual int respond_wm_command (WPARAM wParam,LPARAM);
   virtual int respond_wm_mdiactivate (HWND hwnd,
		 WPARAM wParam,LPARAM lParam);
   virtual int respond_wm_destroy (HWND hwnd);
};

#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?