Update of /cvsroot/adobe-source/sandbox/adobe-source/adobe/test/visual/headers
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24636/adobe-source/adobe/test/visual/headers
Modified Files:
ui_core.hpp
Log Message:
multiline edit_text_t now works on Win32! I *think* that means that Windows now has all of the required widgets for Adobe Begin as it currently stands.
This check-in changes the ui-core interface. I have removed the set_row_col_count function from edit_text_t. It made a Win32 implementation very hard, as you cannot go between a single- and multi-line edit control on Windows (at least, not without destroying the control and creating a new one, which is a hack). This change meant that changes had to be made to the Mac ui-core implementation.
Index: ui_core.hpp
===================================================================
RCS file: /cvsroot/adobe-source/sandbox/adobe-source/adobe/test/visual/headers/ui_core.hpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** ui_core.hpp 3 Apr 2005 00:31:38 -0000 1.4
--- ui_core.hpp 10 Apr 2005 01:24:35 -0000 1.5
***************
*** 751,755 ****
void initialize( const std::string& name,
! bool scrollable);
rectangle_t best_bounds();
--- 751,757 ----
void initialize( const std::string& name,
! bool scrollable,
! long cols,
! long rows);
rectangle_t best_bounds();
***************
*** 770,775 ****
void set_static_disabled(bool is_static_disabled);
- void set_row_col_count(long columns, long rows);
-
void set_selection(long start_char, long end_char);
--- 772,775 ----
***************
*** 852,856 ****
void initialize( const std::string& name,
! bool using_popup = true);
rectangle_t best_bounds();
--- 852,858 ----
void initialize( const std::string& name,
! long cols,
! long rows,
! bool using_popup = true);
rectangle_t best_bounds();
***************
*** 871,876 ****
void set_static_disabled(bool is_static_disabled);
- void set_row_col_count(long columns, long rows);
-
void set_selection(long start_char, long end_char);
--- 873,876 ----
|