Commit Graph

148 Commits

Author SHA1 Message Date
Václav Slavík
848c4eb27b fixed wxHtmlContainerCell to not render off-screen cells
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30795 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-27 13:08:54 +00:00
Václav Slavík
2a2e4f4afa reverted Robert's over-optimisation, correct fix coming soon
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30779 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-25 08:32:49 +00:00
Robert Roebling
58bd6224ac Changed the way invisble HTML cells are NOT
drawn so that no clipping is required.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30768 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-24 20:28:19 +00:00
Włodzimierz Skiba
d1da887276 Source cleaning: whitespaces, tabs, -1/wxID_ANY/wxDefaultCoord/wxNOT_FOUND, TRUE/true, FALSE/false.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29462 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-27 19:15:07 +00:00
Włodzimierz Skiba
422d0ff0be wxDefaultSize.* and wxDefaultPosition.* to wxDefaultCoord.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28324 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-20 10:09:47 +00:00
Václav Slavík
1c0ee565da simplified justification code; fixed incorrect positioning of first cell on line in justified paragraph
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-01 07:59:19 +00:00
Włodzimierz Skiba
6d27420f9e Warning fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27882 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-18 15:18:36 +00:00
Václav Slavík
2d1d813e2d fixed indentation in case there's only one cell on line
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27469 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-27 17:26:27 +00:00
Václav Slavík
22c956d8a6 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27468 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-27 17:11:07 +00:00
Václav Slavík
b5e656ae02 fixed iteration over cells
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27466 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-27 16:25:07 +00:00
Julian Smart
655719367a Use old licence name
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-23 20:53:33 +00:00
Julian Smart
77ffb5937e Name and version changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-23 14:56:36 +00:00
Vadim Zeitlin
4dd9ae575f really fixed handling of non-text cells in justified paragraphs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27359 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-20 00:08:15 +00:00
Włodzimierz Skiba
49f6740f7b Centralized wxDefaultPosition and TRUE->true, FALSE->false replacements. After previous change 'xcnt' is not used at all.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27352 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-19 09:36:50 +00:00
Vadim Zeitlin
a1ae1090ee don't distribute extra space between 0 width cells in justified paragraphs (this looks visually wrong)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27348 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-18 21:55:29 +00:00
Václav Slavík
ca16b7a98e improved HTML tables layout code (patch 911377)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26246 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-17 20:47:31 +00:00
Mattia Barbon
4f44ea367d Add wxRTTI information.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25214 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-17 22:16:56 +00:00
Vadim Zeitlin
999836aaca warning fixes for BCC and OW (heavily modified patch 819146)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-16 10:28:15 +00:00
Václav Slavík
afcc5de1b6 fixed single word selection
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23691 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-18 22:44:16 +00:00
Václav Slavík
14f355c2b5 added support for gcc precompiled headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22723 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-09 12:46:53 +00:00
Vadim Zeitlin
fc7a2a602b undisable many warnings for VC++ in defs.h and fixed several thousands of them in the sources
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22222 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-22 00:24:07 +00:00
Václav Slavík
ace0fab4f1 remove extra space at top and bottom of the page if present
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22041 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-17 12:11:10 +00:00
Václav Slavík
67158ef673 removed GetHorizontalConstraints -- no longer needed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22016 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-16 13:04:37 +00:00
Václav Slavík
b6d93b260e don't break lines in the middle of word
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22002 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-15 18:39:09 +00:00
Václav Slavík
036933194c fixes to wxHTML selection code: corrected mouse navigation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21779 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-08 22:11:59 +00:00
Václav Slavík
b87dd6f51e much better looking selection of justified paragraphs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21762 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-08 18:44:34 +00:00
Vadim Zeitlin
86ff9b45d9 a hack to make copying double clicked words to clipboard work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21035 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-11 11:33:48 +00:00
Václav Slavík
77bae5e228 use 'I' cursor when over text
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21003 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-07 23:31:21 +00:00
Václav Slavík
1338c59a02 added selecting-while-dragging
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20922 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-04 18:17:04 +00:00
Václav Slavík
bfc248a3f9 fixed bug in selection style if selection colours is not constant
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20910 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-04 00:18:22 +00:00
Vadim Zeitlin
70bae0166c signed/unsigned comparison warning fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20904 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-03 23:10:51 +00:00
Václav Slavík
f30e67dbea new rendering customization API for Vadim
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20902 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-03 23:04:59 +00:00
Václav Slavík
5a1597e9ef subcell selection
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20889 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-03 13:48:59 +00:00
Václav Slavík
e24529d70d another bug fixed: wrong lookup of nearest cell before given point
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20876 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-02 23:35:26 +00:00
Vadim Zeitlin
4ce19ed7aa compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20875 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-02 23:05:22 +00:00
Václav Slavík
e377412473 added copying selection to clipboard; fixes to selection making
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20861 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-02 21:21:23 +00:00
Vadim Zeitlin
6d41981d89 compilation fix (not all paths returned a value)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20850 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-01 22:33:06 +00:00
Václav Slavík
adf2eb2d34 more work on text selection: selecting should work now, but there's no clipboard interaction yet
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20849 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-01 22:19:15 +00:00
Václav Slavík
cd275246d3 fixed UpdateRenderingState to do what it was meant to
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20792 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-01 11:19:13 +00:00
Václav Slavík
36c4ff4d65 preparing wxHtmlWindow for text selection (highlighting works, mouse input and clipboard does not)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20787 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-31 21:48:50 +00:00
Václav Slavík
f2034f1b6e applied HTML pagebreaks patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20617 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-12 22:33:51 +00:00
Václav Slavík
5f265f87d9 we don't really have to use variable instead of constant...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18354 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-19 22:15:45 +00:00
Julian Smart
192a9bf10f Apply table border fix to all ports.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18346 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-19 10:24:05 +00:00
Julian Smart
76985f52b2 Fix border for wxGTK too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18342 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-19 09:54:47 +00:00
Julian Smart
d840aae3ae Reinstated the cell border fix (wxMSW)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18339 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-19 07:47:06 +00:00
Václav Slavík
94bc8b14d4 simpler fix for rendering bug fixed in previous revision
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18335 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-18 23:32:22 +00:00
Julian Smart
2f9a4d0e30 Fixed cell visibility test that was causing refresh glitches
in tables (since these were large enough cells to break the
original test)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18329 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-18 18:17:40 +00:00
Vadim Zeitlin
2b5f62a0b2 merged 2.4 branch into the trunk
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-04 14:11:26 +00:00
Václav Slavík
1aedb1dd8b gcc pragmas fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15387 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-05 18:26:51 +00:00
Vadim Zeitlin
f6010d8fad implemented and documented wxHtmlWindow::OnCellMouseHover() and OnCellClick()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11525 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-31 21:19:23 +00:00