#include <ibrowser.h>
Public Member Functions | |
Icon () | |
Icon (ICON_ID id, UINT nid) | |
Icon (ICON_TYPE itype, int id, HICON hIcon) | |
Icon (ICON_TYPE itype, int id, int sys_idx) | |
operator ICON_ID () const | |
void | draw (HDC hdc, int x, int y, int cx, int cy, COLORREF bk_color, HBRUSH bk_brush) const |
HBITMAP | create_bitmap (COLORREF bk_color, HBRUSH hbrBkgnd, HDC hdc_wnd) const |
int | add_to_imagelist (HIMAGELIST himl, HDC hdc_wnd, COLORREF bk_color=GetSysColor(COLOR_WINDOW), HBRUSH bk_brush=GetSysColorBrush(COLOR_WINDOW)) const |
int | get_sysiml_idx () const |
bool | destroy () |
Protected Attributes | |
ICON_ID | _id |
ICON_TYPE | _itype |
HICON | _hicon |
int | _sys_idx |
Definition at line 132 of file ibrowser.h.
Icon::Icon | ( | ) |
Icon::Icon | ( | ICON_ID | id, | |
UINT | nid | |||
) |
Icon::Icon | ( | ICON_TYPE | itype, | |
int | id, | |||
HICON | hIcon | |||
) |
Icon::Icon | ( | ICON_TYPE | itype, | |
int | id, | |||
int | sys_idx | |||
) |
Icon::operator ICON_ID | ( | ) | const [inline] |
void Icon::draw | ( | HDC | hdc, | |
int | x, | |||
int | y, | |||
int | cx, | |||
int | cy, | |||
COLORREF | bk_color, | |||
HBRUSH | bk_brush | |||
) | const |
HBITMAP Icon::create_bitmap | ( | COLORREF | bk_color, | |
HBRUSH | hbrBkgnd, | |||
HDC | hdc_wnd | |||
) | const |
int Icon::add_to_imagelist | ( | HIMAGELIST | himl, | |
HDC | hdc_wnd, | |||
COLORREF | bk_color = GetSysColor(COLOR_WINDOW) , |
|||
HBRUSH | bk_brush = GetSysColorBrush(COLOR_WINDOW) | |||
) | const |
int Icon::get_sysiml_idx | ( | ) | const [inline] |
Definition at line 144 of file ibrowser.h.
References _itype, _sys_idx, and IT_SYSCACHE.
00144 {return _itype==IT_SYSCACHE? _sys_idx: -1;}
bool Icon::destroy | ( | ) | [inline] |
Definition at line 146 of file ibrowser.h.
References _hicon, _itype, and IT_DYNAMIC.
00146 {if (_itype == IT_DYNAMIC) {DestroyIcon(_hicon); return true;} else return false;}
ICON_TYPE Icon::_itype [protected] |
HICON Icon::_hicon [protected] |
int Icon::_sys_idx [protected] |
IBrowser Source Code Documentation
generated on 18.09.2008 by ![]() |