Update of /cvsroot/adobe-source/sandbox/adobe-source/adobe/test/visual/headers/mac
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24636/adobe-source/adobe/test/visual/headers/mac
Modified Files:
ui_core_implementation.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_implementation.hpp
===================================================================
RCS file: /cvsroot/adobe-source/sandbox/adobe-source/adobe/test/visual/headers/mac/ui_core_implementation.hpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** ui_core_implementation.hpp 30 Mar 2005 01:48:59 -0000 1.2
--- ui_core_implementation.hpp 10 Apr 2005 01:24:35 -0000 1.3
***************
*** 448,453 ****
void initialize( const Rect& bounds,
! const std::string& name,
! bool scrollable);
static_text_t& get_label();
virtual rectangle_t best_bounds();
--- 448,455 ----
void initialize( const Rect& bounds,
! const std::string& name,
! bool scrollable,
! long cols,
! long rows);
static_text_t& get_label();
virtual rectangle_t best_bounds();
***************
*** 458,462 ****
void set_field_text(const std::string& text);
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);
void signal_pre_edit(const implementation::edit_text_pre_edit_proc_t& proc);
--- 460,463 ----
***************
*** 531,535 ****
implementation_t(const implementation_t& rhs);
! void initialize(const Rect& bounds, const std::string& name, bool using_popup);
popup_t& get_popup();
virtual rectangle_t best_bounds();
--- 532,540 ----
implementation_t(const implementation_t& rhs);
! void initialize( const Rect& bounds,
! const std::string& name,
! bool using_popup,
! long cols,
! long rows);
popup_t& get_popup();
virtual rectangle_t best_bounds();
|