1088 Commits

Author SHA1 Message Date
pierre%netscape.com
628f249ff3 Paint only the damaged area instead of the whole widget. Reuse the rendering context to update the children. Scroll the children. 1999-01-19 00:02:51 +00:00
pierre%netscape.com
0bacbb3d17 DoMessagePump() no longer returns a boolean 1999-01-19 00:01:41 +00:00
pavlov%pavlov.net
723c42a967 fix mouse clicking 1999-01-18 23:42:04 +00:00
pavlov%pavlov.net
2a7527ab5c fix Invalidate() and Update() 1999-01-17 19:30:13 +00:00
pavlov%pavlov.net
ca0005bb15 only create 1 GC since we are pushing the same visual for all of the widgets. 1999-01-17 18:58:28 +00:00
pavlov%pavlov.net
178678e9e2 fix bustage 1999-01-17 03:08:56 +00:00
pavlov%pavlov.net
a88c118c92 move the event queue into nsToolkit 1999-01-17 02:09:55 +00:00
pavlov%pavlov.net
a3f65b8ce0 Inherit nsDialog from nsWindow instead of nsWidget. s/Motif/GTK+/ in *.h for
some comments
1999-01-17 01:36:13 +00:00
pavlov%pavlov.net
d596158079 move some stuff from nsWindow to nsWidget. Removed more unused code, do
redraws correctly...
1999-01-16 23:12:35 +00:00
sfraser%netscape.com
a81f4408e0 Fix control key handling to call HandleControlKey, to fix the font problem. Also draw a box around the control for looks. 1999-01-16 00:42:33 +00:00
sfraser%netscape.com
b95bfa6057 Mcmullen's fixes for scroll bar behaviour, and override a method so that scroll bars are sized correctly. 1999-01-16 00:41:20 +00:00
sfraser%netscape.com
506cb229c1 Tweak the window size so that the scroll bar is correctly positioned, and create a root Mac control for the window (so that we get control embedding). 1999-01-16 00:40:26 +00:00
sfraser%netscape.com
a4ce9963ca mcmullen's scrollbar fixes (use 32-bit control values), some tweaks of Mac control visibility to avoid drawing controls in the wrong places, add a couple of utility methods for creating and adjusting Mac controls. 1999-01-16 00:39:28 +00:00
sfraser%netscape.com
5e99af5119 Optimization: don't refocus a widget if it is already focussed 1999-01-16 00:30:40 +00:00
pierre%netscape.com
d1c2b68f8d fixed the windowless menu handler to work with non-raptor windows (SIOUX debug window, for instance) 1999-01-15 22:34:59 +00:00
joki%netscape.com
827e8163ca Temporary fix to windows key events to give them a coord not associated with the mouse. 1999-01-15 22:24:23 +00:00
jfrancis%netscape.com
fee2fbb21c Removing Powerplant 1999-01-15 05:19:59 +00:00
jfrancis%netscape.com
f6f33a44f1 Powerplant removal 1999-01-15 05:11:22 +00:00
sfraser%netscape.com
fec13ce74f Bustage fix: adding PowerPlant library back (DEBUG target only) 1999-01-15 03:46:36 +00:00
jfrancis%netscape.com
d865420036 Removing Powerplant 1999-01-15 00:06:35 +00:00
sfraser%netscape.com
b6e3454fdd Call Inherited::SetFont in the SetFont method 1999-01-14 23:43:41 +00:00
pavlov%pavlov.net
38119bc6e7 #ifdef around some recent gtk changes 1999-01-14 23:02:50 +00:00
pinkerton%netscape.com
21de80b0dc fix misunderstanding with params to SetText() 1999-01-14 18:57:44 +00:00
pinkerton%netscape.com
ddb2c870bd fix misunderstanding with parameters in SetText() 1999-01-14 18:56:49 +00:00
pavlov%pavlov.net
d034ae6f97 fix bug 2352 1999-01-14 18:35:55 +00:00
sfraser%netscape.com
2686e6ba4e Fix build bustage (adding method CreateFontAliasTable()) 1999-01-14 07:14:24 +00:00
pierre%netscape.com
b29a5d79cd Fixed the mouseRgn in WaitNextEvent in order not to continuously send mouseMoved events. 1999-01-14 07:02:28 +00:00
sfraser%netscape.com
7b6f99501f No longer call the static method of nsFontMetricsMac in StartDraw; since nsMacControl implements SetFont now, this is no longer necessary. 1999-01-14 05:50:56 +00:00
sfraser%netscape.com
977e921c0f Override SetFont to setup the control font properly. Previously, it was being picked up from the port just before drawing, which no longer works after the font optimizations in GFX. 1999-01-14 05:48:29 +00:00
sfraser%netscape.com
9a281cb29a Override CreateFontAliasTable to tweak the font settings for Mac (specifically, use Courier in preference to Courier New for the fixed width font). Also #ifdef out the font num cache, now that nsFontMetricsMac is smarter about cacheing the font num. 1999-01-14 05:44:50 +00:00
sfraser%netscape.com
95f4527c07 Warnings fix (remove ; ) 1999-01-14 05:37:28 +00:00
pollmann%netscape.com
6b16ccfd7f Bug 2088 2099: Similar fixes for nsListBox (add PreCreateWidget to get mMultiSelect) 1999-01-13 07:27:24 +00:00
pollmann%netscape.com
d2cbe22864 Bug 2088 2099: Check the IsPassword and IsReadOnly data members on creation. 1999-01-13 07:14:22 +00:00
pollmann%netscape.com
abf305fdf3 Bug 2088 2099: Add PreCreateWidget method for password and readonly text elements. 1999-01-13 07:09:21 +00:00
pinkerton%netscape.com
901eaba192 fix problem where SetText would truncate text to 255. 1999-01-13 00:03:05 +00:00
pinkerton%netscape.com
ecb91bfb05 fix #2247 to fix lack of redraw when text is set 1999-01-13 00:02:51 +00:00
mcmullen%netscape.com
d302f50ba9 Fully implement scrollbars - live scrolling, etc. Includes changes by Cyrus Harmon. 1999-01-12 19:26:31 +00:00
blizzard%appliedtheory.com
cda0416652 clean up factories for gtk. make destroying for nsWidgets() cleaner. 1999-01-12 04:42:09 +00:00
pavlov%pavlov.net
1dcb52e842 sync all my changes. removed lots of code that is provided in nsBaseWidget,
added focus handlers, etc etc etc
1999-01-12 03:56:33 +00:00
pavlov%pavlov.net
95964f9dd1 set event.point.[xy] to 0 1999-01-11 23:06:13 +00:00
pavlov%pavlov.net
0f899d6caf allow nsWindow's to take focus. this should fix problem for editor people 1999-01-10 18:48:05 +00:00
pavlov%pavlov.net
6cd2b04993 halfway fix the excessive GC problem. more work on resizing 1999-01-09 21:16:20 +00:00
pavlov%pavlov.net
90c5886333 Resizing works.... somewhat. More to come 1999-01-09 17:41:20 +00:00
beard%netscape.com
24273af537 Turned off call to NET_PollSockets() on XP_MAC, to fix link error, not really needed anyway. 1999-01-08 22:43:45 +00:00
pavlov%pavlov.net
e3810cb6b6 use GDK bit stuff for the alt/ctrl/shift mods 1999-01-08 15:55:52 +00:00
pierre%netscape.com
17f6998e7d Fixed bug in SetPosition. Thanks to Cyrus Harmon <cyrus@neomorphic.com> 1999-01-08 05:36:06 +00:00
sfraser%netscape.com
8ca901203b Add SIOUX event handling in debug mode. Also remove a couple of unnecessary #defines and use the Universal Header versions. 1999-01-08 03:29:39 +00:00
sfraser%netscape.com
2da4e3d447 Change 'memory' include to search in system path 1999-01-08 03:28:47 +00:00
akkana%netscape.com
4c1b2e7357 1965: Fix mouse-down events 1999-01-07 21:06:21 +00:00
mcafee%netscape.com
6706bfaf61 Variable had wrong type (1229), thanks to tor@cs.brown.edu 1999-01-07 20:14:34 +00:00