/[winpt]/trunk/Include/wptCommonCtl.h
ViewVC logotype

Diff of /trunk/Include/wptCommonCtl.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 328 by twoaday, Thu Jun 29 11:15:00 2006 UTC revision 329 by twoaday, Fri Sep 25 16:08:14 2009 UTC
# Line 1  Line 1 
1  /* wptCommonCtl.h - Win32 Imagelist headerfile  /* wptCommonCtl.h - Win32 Imagelist headerfile
2   *      Copyright (C) 2003 Andreas Jobs   *      Copyright (C) 2004-2006, 2009 Timo Schulz
  *      Copyright (C) 2004, 2005, 2006 Timo Schulz  
3   *   *
4   * This file is part of WinPT.   * This file is part of WinPT.
5   *   *
# Line 13  Line 12 
12   * but WITHOUT ANY WARRANTY; without even the implied warranty of   * but WITHOUT ANY WARRANTY; without even the implied warranty of
13   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14   * General Public License for more details.   * General Public License for more details.
  *  
  * You should have received a copy of the GNU General Public License  
  * along with WinPT; if not, write to the Free Software Foundation,  
  * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA  
15   */   */
16    
17  #ifndef WPT_COMMONCTL_H  #ifndef WPT_COMMONCTL_H
# Line 88  int listview_get_curr_pos (listview_ctrl Line 83  int listview_get_curr_pos (listview_ctrl
83  int listview_get_item_text (listview_ctrl_t ctx, int entry, int pos,  int listview_get_item_text (listview_ctrl_t ctx, int entry, int pos,
84                               char *text, int maxbytes);                               char *text, int maxbytes);
85  void listview_set_ext_style (listview_ctrl_t ctx);  void listview_set_ext_style (listview_ctrl_t ctx);
86    void listview_set_grid_style (listview_ctrl_t ctx);
87  void listview_set_chkbox_style (listview_ctrl_t ctx);  void listview_set_chkbox_style (listview_ctrl_t ctx);
88  int listview_set_column_order (listview_ctrl_t ctx, int *array);  int listview_set_column_order (listview_ctrl_t ctx, int *array);
89  int listview_set_column_width (listview_ctrl_t ctx, int col, int width);  int listview_set_column_width (listview_ctrl_t ctx, int col, int width);
# Line 103  void listview_set_image_list (listview_c Line 99  void listview_set_image_list (listview_c
99                                HICON *ico, DWORD nicons);                                HICON *ico, DWORD nicons);
100    
101  /*-- Image List --*/  /*-- Image List --*/
102  extern HIMAGELIST glob_imagelist;  int imagelist_load (HWND hwnd, HIMAGELIST *r_il);
103    int imagelist_destroy (HIMAGELIST il);
104  int imagelist_load (HWND hwnd);  int imagelist_getindex (HIMAGELIST il, int icon);
105  int imagelist_destroy (void);  
106  int imagelist_getindex (int icon);  int b_imagelist_load (HWND hwnd, HIMAGELIST *r_il);
107    int b_imagelist_destroy (HIMAGELIST il);
108    int b_imagelist_getindex (HIMAGELIST il, int bitmap);
109    
110  #endif /*WPT_COMMONCTL_H*/  #endif /*WPT_COMMONCTL_H*/

Legend:
Removed from v.328  
changed lines
  Added in v.329

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26