[Winpt-commits] r192 - trunk/Include
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Sat Apr 1 14:36:24 CEST 2006
Author: twoaday
Date: 2006-04-01 14:36:22 +0200 (Sat, 01 Apr 2006)
New Revision: 192
Modified:
trunk/Include/wptCommonCtl.h
trunk/Include/wptDlgs.h
trunk/Include/wptNLS.h
trunk/Include/wptW32API.h
Log:
Modified: trunk/Include/wptCommonCtl.h
===================================================================
--- trunk/Include/wptCommonCtl.h 2006-03-27 10:05:25 UTC (rev 191)
+++ trunk/Include/wptCommonCtl.h 2006-04-01 12:36:22 UTC (rev 192)
@@ -78,6 +78,7 @@
int listview_del_sel_items (listview_ctrl_t ctx);
int listview_del_all_items (listview_ctrl_t ctx);
int listview_get_item_state (listview_ctrl_t ctx, int pos);
+int listview_get_selected_item (listview_ctrl_t lv);
void* listview_get_item2 (listview_ctrl_t ctx, int pos);
int listview_set_item2 (listview_ctrl_t ctx, int pos, void *magic);
int listview_sort_items (listview_ctrl_t ctx, int sortby,
@@ -88,6 +89,7 @@
void listview_set_ext_style (listview_ctrl_t ctx);
void listview_set_chkbox_style (listview_ctrl_t ctx);
int listview_set_column_order (listview_ctrl_t ctx, int *array);
+int listview_set_column_width (listview_ctrl_t ctx, int col, int width);
int listview_del_items (listview_ctrl_t ctx);
void listview_select_all (listview_ctrl_t ctx);
void listview_deselect_all (listview_ctrl_t ctx);
Modified: trunk/Include/wptDlgs.h
===================================================================
--- trunk/Include/wptDlgs.h 2006-03-27 10:05:25 UTC (rev 191)
+++ trunk/Include/wptDlgs.h 2006-04-01 12:36:22 UTC (rev 192)
@@ -301,6 +301,8 @@
char* get_input_dialog (HWND root, const char *title, const char *desc);
+int select_language (void);
+
/*-- Card dialogs --*/
BOOL CALLBACK card_edit_dlg_proc( HWND dlg, UINT msg, WPARAM wparam,
LPARAM lparam );
Modified: trunk/Include/wptNLS.h
===================================================================
--- trunk/Include/wptNLS.h 2006-03-27 10:05:25 UTC (rev 191)
+++ trunk/Include/wptNLS.h 2006-04-01 12:36:22 UTC (rev 192)
@@ -25,13 +25,22 @@
extern "C" {
#endif
+#define _(a) gettext (a)
+#define N_(a) (a)
+
+
+struct lang_table_s {
+ const char *id;
+ const char *name;
+ int langid;
+};
+
struct gettext_tab_s {
int ctlid;
const char *trans;
};
-#define _(a) gettext (a)
-#define N_(a) (a)
+extern struct lang_table_s lang_list[];
int set_gettext_file (const char * filename, const char * nls_dir);
const char *gettext (const char * msgid);
Modified: trunk/Include/wptW32API.h
===================================================================
--- trunk/Include/wptW32API.h 2006-03-27 10:05:25 UTC (rev 191)
+++ trunk/Include/wptW32API.h 2006-04-01 12:36:22 UTC (rev 192)
@@ -56,6 +56,7 @@
void center_window2 (HWND hwndChild, HWND parent, HWND style);
void force_foreground_window (HWND dlg, int msecs);
+void insert_menu_item (HMENU hm, int by_pos, UINT m_id, const char *text);
void set_menu_text (HMENU menu, UINT m_uid, const char *text);
void set_menu_text_bypos (HMENU menu, UINT pos, const char *text);
void set_menu_state (HMENU menu, UINT m_uid, UINT state);
More information about the Winpt-commits
mailing list