#include <Ovgabuf.h>
List of all members.
Definition at line 17 of file Ovgabuf.h.
Definition at line 19 of file Ovgabuf.cpp.
References set_color(), and VGA_GRAY.
Definition at line 28 of file Ovgabuf.cpp.
References deinit().
Activate a palette to the current direct draw surface buffer.
Definition at line 143 of file Ovgabuf.cpp.
clear the center of the either up or down panel
<int> x1,y1,x2,y2 = the four vertex of the panel <int> adjustDegree = the degree of brightness to adjust (a value from -10 to 10)
Definition at line 750 of file OVGABUF2.CPP.
References err_when, IMGbrightBar(), and MAX_BRIGHTNESS_ADJUST_DEGREE.
Referenced by Vga::separator().
Draw a bar without bliting
Syntax : bar( x1, y1, x2, y2, color )
<int> x1,y1 - the top left vertex of the bar <int> x2,y2 - the bottom right vertex of the bar <int> color index - the index of a 256 color palette
Definition at line 56 of file OVGABUF2.CPP.
References Vga::active_buf.
Referenced by bar_down(), bar_up(), indicator(), separator(), and v_indicator().
[inline]
Definition at line 104 of file Ovgabuf.h.
References bar(), and color_down.
Definition at line 98 of file Ovgabuf.h.
References buf_ptr(), buf_true_pitch(), IMGbar(), and translate_color().
Referenced by Font::put_paragraph().
Definition at line 103 of file Ovgabuf.h.
References bar(), and color_up.
Definition at line 100 of file Ovgabuf.h.
References buf_ptr(), buf_true_pitch(), and IMGbar().
copy put whole part of a vgaBuf to (x1,y1) of this VgaBuf
Definition at line 792 of file OVGABUF2.CPP.
copy and change brightness of an area
Definition at line 776 of file OVGABUF2.CPP.
References err_when, IMGcopyWbright(), and MAX_BRIGHTNESS_ADJUST_DEGREE.
Definition at line 263 of file Ovgabuf.h.
References buf_ptr(), buf_true_pitch(), and IMGcopyW().
Definition at line 45 of file Ovgabuf.h.
References buf_des.
Definition at line 36 of file Ovgabuf.h.
Referenced by draw_pixel().
Definition at line 33 of file Ovgabuf.h.
References buf_des, and cur_buf_ptr.
Definition at line 32 of file Ovgabuf.h.
References cur_buf_ptr.
Referenced by bar_fast(), barW_fast(), blt_buf_fast(), draw_pixel(), join_trans(), join_trans_remap(), put_bitmap_area(), put_bitmap_area_hmirror(), put_bitmap_area_remap(), put_bitmap_area_remap_hmirror(), put_bitmap_area_trans(), put_bitmap_area_trans_decompress(), put_bitmap_area_trans_decompress_hmirror(), put_bitmap_area_trans_hmirror(), put_bitmap_area_trans_remap(), put_bitmap_area_trans_remap_decompress(), put_bitmap_area_trans_remap_decompress_hmirror(), put_bitmap_area_trans_remap_hmirror(), put_bitmap_hmirror(), put_bitmap_remap_fast(), put_bitmap_remap_hmirror(), put_bitmap_trans_decompress(), put_bitmap_trans_decompress_hmirror(), put_bitmap_trans_fast(), put_bitmap_trans_hmirror(), put_bitmap_trans_remap(), put_bitmap_trans_remap_decompress(), put_bitmap_trans_remap_decompress_hmirror(), put_bitmap_trans_remap_hmirror(), put_bitmapW(), put_bitmapW_area(), put_bitmapW_area_trans(), put_bitmapW_trans(), Print::put_vga_back(), Print::put_vga_back_center(), and read_bitmapW().
Definition at line 43 of file Ovgabuf.h.
Definition at line 41 of file Ovgabuf.h.
Referenced by bar_fast(), barW_fast(), blt_buf_fast(), join_trans(), join_trans_remap(), put_bitmap_area(), put_bitmap_area_hmirror(), put_bitmap_area_remap(), put_bitmap_area_remap_hmirror(), put_bitmap_area_trans(), put_bitmap_area_trans_decompress(), put_bitmap_area_trans_decompress_hmirror(), put_bitmap_area_trans_hmirror(), put_bitmap_area_trans_remap(), put_bitmap_area_trans_remap_decompress(), put_bitmap_area_trans_remap_decompress_hmirror(), put_bitmap_area_trans_remap_hmirror(), put_bitmap_hmirror(), put_bitmap_remap_fast(), put_bitmap_remap_hmirror(), put_bitmap_trans_decompress(), put_bitmap_trans_decompress_hmirror(), put_bitmap_trans_fast(), put_bitmap_trans_hmirror(), put_bitmap_trans_remap(), put_bitmap_trans_remap_decompress(), put_bitmap_trans_remap_decompress_hmirror(), put_bitmap_trans_remap_hmirror(), put_bitmapW(), put_bitmapW_area(), put_bitmapW_area_trans(), put_bitmapW_trans(), and read_bitmapW().
Definition at line 44 of file Ovgabuf.h.
Definition at line 165 of file Ovgabuf.cpp.
References dd_buf, and NULL.
Convert an specified area of the bitmap from color to gray-scale.
Definition at line 1107 of file Ovgabuf.cpp.
Draw a Ms windows style 3D panel with panel pushed downwards
<int> x1,y1,x2,y2 = the four vertex of the panel [int] thick = thickness of the border (default:2) [int] paintCentre = paint the center area of the plane or not pass 0 if the area has just been painted with bar() (default:1) [char*] tileName = name of the texture tile if this panel should be filled with tile texture (default: NULL)
Definition at line 632 of file OVGABUF2.CPP.
References err_when, V_WHITE, VGA_HEIGHT, and VGA_WIDTH.
<int> x1,y1,x2,y2 = the four vertex of the panel [int] thick = thickness of the border (default:2) [char*] tileName = name of the texture tile if this panel should be filled with tile texture (default: NULL)
Definition at line 729 of file OVGABUF2.CPP.
Draw a Ms windows style 3D panel
thickness can be 1-4
Definition at line 577 of file OVGABUF2.CPP.
References VGA_HEIGHT, and VGA_WIDTH.
Definition at line 705 of file OVGABUF2.CPP.
Definition at line 164 of file OVGABUF2.CPP.
References rect(), V_WHITE, and VGA_GRAY.
Definition at line 130 of file Ovgabuf.cpp.
Referenced by ~VgaBuf().
Definition at line 106 of file Ovgabuf.h.
References buf_pitch(), buf_ptr(), and translate_color().
Definition at line 230 of file OVGABUF2.CPP.
References bar(), color_down, and V_BLACK.
Create a direct draw back buffer.
[DWORD] w : width of the surface [default 0 : VGA_WIDTH] [DWORD] h : height of the surface [default 0 : VGA_HEIGHT]
Definition at line 91 of file Ovgabuf.cpp.
References NULL, VGA_HEIGHT, and VGA_WIDTH.
Create a direct draw front buffer.
Definition at line 38 of file Ovgabuf.cpp.
References NULL.
Definition at line 199 of file Ovgabuf.cpp.
Definition at line 272 of file Ovgabuf.h.
References buf_ptr(), buf_true_pitch(), default_remap_table, and IMGjoinTransRemap().
Definition at line 269 of file Ovgabuf.h.
References buf_ptr(), buf_true_pitch(), and IMGjoinTransRemap().
Draw a line
<int> x1,y1,x2,y2 = the coordination of the line <int> lineColor = color of the line
Definition at line 511 of file OVGABUF2.CPP.
Definition at line 224 of file Ovgabuf.cpp.
References buf_des, buf_locked, cur_buf_ptr, dd_buf, err_if, err_now, and NULL.
Put a bitmap on the surface buffer
Definition at line 376 of file Ovgabuf.cpp.
Referenced by ImageRes::put_to_buf().
Definition at line 156 of file Ovgabuf.h.
References buf_ptr(), buf_true_pitch(), default_remap_table, and IMGbltAreaRemap().
Definition at line 159 of file Ovgabuf.h.
References buf_ptr(), buf_true_pitch(), default_remap_table, and IMGbltAreaRemapHMirror().
Definition at line 169 of file Ovgabuf.h.
References buf_ptr(), buf_true_pitch(), and IMGbltAreaRemap().
Definition at line 172 of file Ovgabuf.h.
References buf_ptr(), buf_true_pitch(), and IMGbltAreaRemapHMirror().
Definition at line 185 of file Ovgabuf.h.
References buf_ptr(), buf_true_pitch(), default_remap_table, and IMGbltAreaTransRemap().
Definition at line 211 of file Ovgabuf.h.
References buf_ptr(), buf_true_pitch(), default_remap_table, and IMGbltAreaTransRemapDecompress().
Definition at line 214 of file Ovgabuf.h.
References buf_ptr(), buf_true_pitch(), default_remap_table, and IMGbltAreaTransRemapDecompressHMirror().
Definition at line 188 of file Ovgabuf.h.
References buf_ptr(), buf_true_pitch(), default_remap_table, and IMGbltAreaTransRemapHMirror().
Definition at line 197 of file Ovgabuf.h.
References buf_ptr(), buf_true_pitch(), and IMGbltAreaTransRemap().
Definition at line 223 of file Ovgabuf.h.
References buf_ptr(), buf_true_pitch(), and IMGbltAreaTransRemapDecompress().
Definition at line 226 of file Ovgabuf.h.
References buf_ptr(), buf_true_pitch(), and IMGbltAreaTransRemapDecompressHMirror().