Mercurial > dwindows
comparison dw.h @ 7:005fa766e8c2
Updates to latest build.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Tue, 03 Jul 2001 13:54:29 +0000 |
parents | 67a643a734d9 |
children | 156281539fb3 |
comparison
equal
deleted
inserted
replaced
6:160798fd63c4 | 7:005fa766e8c2 |
---|---|
310 /* Used as temporary storage in the calculation stage */ | 310 /* Used as temporary storage in the calculation stage */ |
311 int upx, upy, minheight, minwidth; | 311 int upx, upy, minheight, minwidth; |
312 /* Ratio in this box */ | 312 /* Ratio in this box */ |
313 float xratio, yratio, parentxratio, parentyratio; | 313 float xratio, yratio, parentxratio, parentyratio; |
314 /* Used for calculating individual item ratios */ | 314 /* Used for calculating individual item ratios */ |
315 int width, height; | 315 int width, height; |
316 /* Array of item structures */ | 316 /* Any combinations of flags describing the box */ |
317 unsigned long flags; | |
318 /* Array of item structures */ | |
317 struct _item *items; | 319 struct _item *items; |
318 } Box; | 320 } Box; |
319 | 321 |
320 typedef struct _bubblebutton { | 322 typedef struct _bubblebutton { |
321 #if defined(__WIN32__) || defined(WINNT) | 323 #if defined(__WIN32__) || defined(WINNT) |
502 void *data, *result; | 504 void *data, *result; |
503 } DWDialog; | 505 } DWDialog; |
504 | 506 |
505 #define DW_SIGNAL_FUNC(a) ((void *)a) | 507 #define DW_SIGNAL_FUNC(a) ((void *)a) |
506 | 508 |
509 #define DW_MINIMIZED 1 | |
510 | |
507 #define DW_BUTTON1_MASK 1 | 511 #define DW_BUTTON1_MASK 1 |
508 #define DW_BUTTON2_MASK (1 << 1) | 512 #define DW_BUTTON2_MASK (1 << 1) |
509 #define DW_BUTTON3_MASK (1 << 2) | 513 #define DW_BUTTON3_MASK (1 << 2) |
510 | 514 |
511 #define DW_EXEC_CON 0 | 515 #define DW_EXEC_CON 0 |
555 HWND dw_groupbox_new(int type, int pad, char *title); | 559 HWND dw_groupbox_new(int type, int pad, char *title); |
556 HWND dw_bitmap_new(unsigned long id); | 560 HWND dw_bitmap_new(unsigned long id); |
557 HWND dw_bitmapbutton_new(char *text, unsigned long id); | 561 HWND dw_bitmapbutton_new(char *text, unsigned long id); |
558 HWND dw_container_new(unsigned long id); | 562 HWND dw_container_new(unsigned long id); |
559 HWND dw_text_new(char *text, unsigned long id); | 563 HWND dw_text_new(char *text, unsigned long id); |
564 HWND dw_status_text_new(char *text, unsigned long id); | |
560 HWND dw_mle_new(unsigned long id); | 565 HWND dw_mle_new(unsigned long id); |
561 HWND dw_entryfield_new(char *text, unsigned long id); | 566 HWND dw_entryfield_new(char *text, unsigned long id); |
562 HWND dw_entryfield_password_new(char *text, ULONG id); | 567 HWND dw_entryfield_password_new(char *text, ULONG id); |
563 HWND dw_combobox_new(char *text, unsigned long id); | 568 HWND dw_combobox_new(char *text, unsigned long id); |
564 HWND dw_button_new(char *text, unsigned long id); | 569 HWND dw_button_new(char *text, unsigned long id); |
601 void dw_mle_clear(HWND handle); | 606 void dw_mle_clear(HWND handle); |
602 void dw_mle_freeze(HWND handle); | 607 void dw_mle_freeze(HWND handle); |
603 void dw_mle_thaw(HWND handle); | 608 void dw_mle_thaw(HWND handle); |
604 void dw_mle_set(HWND handle, int point); | 609 void dw_mle_set(HWND handle, int point); |
605 void dw_mle_set_visible(HWND handle, int line); | 610 void dw_mle_set_visible(HWND handle, int line); |
611 void dw_mle_set_editable(HWND handle, int state); | |
612 void dw_mle_set_word_wrap(HWND handle, int state); | |
606 int dw_mle_search(HWND handle, char *text, int point, unsigned long flags); | 613 int dw_mle_search(HWND handle, char *text, int point, unsigned long flags); |
607 void dw_spinbutton_set_pos(HWND handle, long position); | 614 void dw_spinbutton_set_pos(HWND handle, long position); |
608 void dw_spinbutton_set_limits(HWND handle, long upper, long lower); | 615 void dw_spinbutton_set_limits(HWND handle, long upper, long lower); |
609 void dw_entryfield_set_limit(HWND handle, ULONG limit); | 616 void dw_entryfield_set_limit(HWND handle, ULONG limit); |
610 long dw_spinbutton_query(HWND handle); | 617 long dw_spinbutton_query(HWND handle); |