Styles character preview. Reworked font dialog. List fixes. Clear background color button. The font dialog now has has the preview in XP code. I've deliberately left things so that that the font dialog won't have to be changed for other platforms. However the old code there does not make optimum use of Abi's nice XP design IMHO and other platfrom maintainer should eventually make use of the new AP_Font_FontPreview class to display the font preview. It does the following correctly: Displays the current background color, displays the selected hightlight color, does underline, overline and strikethrough decorations. In addition the new font dialog allows the user to select the highlight color since that is a valid character level property. Now the new font code should be backwards compatible for other platforms but you guys had better check it and test it. I've fixed the list label on the new line bugs reported yesterday. I've also added a button to clear the background color in the background dialog. I had to change the interface to this dialog to allow a value of "transparent" to be propagated into and out of the dialog. I made a small (untested) change to the win front end which SHOULD WORK but probabally won't. Win developers should definately look at this. Anyway lots of new code :-) Cheers! Martin CVS: ---------------------------------------------------------------------- CVS: Enter Log. Lines beginning with `CVS:' are removed automatically CVS: CVS: Committing in . CVS: CVS: Modified Files: CVS: src/af/util/xp/ut_misc.cpp CVS: src/af/xap/unix/xap_UnixDlg_FontChooser.cpp CVS: src/af/xap/unix/xap_UnixDlg_FontChooser.h CVS: src/af/xap/xp/xap_Dlg_FontChooser.cpp CVS: src/af/xap/xp/xap_Dlg_FontChooser.h CVS: src/af/xap/xp/xap_String_Id.h CVS: src/text/fmt/xp/fl_DocListener.cpp src/text/fmt/xp/fv_View.cpp CVS: src/text/fmt/xp/fv_View.h CVS: src/wp/ap/qnx/ap_QNXDialog_Background.cpp CVS: src/wp/ap/unix/ap_UnixDialog_Background.cpp CVS: src/wp/ap/unix/ap_UnixDialog_Background.h CVS: src/wp/ap/unix/ap_UnixDialog_Styles.cpp CVS: src/wp/ap/unix/ap_UnixDialog_Styles.h CVS: src/wp/ap/win/ap_Win32Dialog_Background.cpp CVS: src/wp/ap/xp/ap_Dialog_Background.cpp CVS: src/wp/ap/xp/ap_Dialog_Background.h CVS: src/wp/ap/xp/ap_Dialog_Lists.cpp CVS: src/wp/ap/xp/ap_Dialog_Styles.cpp CVS: src/wp/ap/xp/ap_Dialog_Styles.h CVS: src/wp/ap/xp/ap_EditMethods.cpp CVS: ----------------------------------------------------------------------
