pierre%netscape.com
3b32ebb46e
Fixed Resize() and Invalidate() to make xpfe apps much faster
...
git-svn-id: svn://10.0.0.236/trunk@16195 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 01:11:23 +00:00
pierre%netscape.com
e23f728ea6
redraw on Scroll()
...
git-svn-id: svn://10.0.0.236/trunk@16052 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 13:24:09 +00:00
pierre%netscape.com
1a05cbde32
A bunch of changes: removed saari's hacks, fixed origins, clipping, resize and update
...
git-svn-id: svn://10.0.0.236/trunk@16049 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 10:18:30 +00:00
pierre%netscape.com
65003d55c3
removed the NS_NATIVE_OFFSET_IN_PORT hacks
...
git-svn-id: svn://10.0.0.236/trunk@15899 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-07 03:37:15 +00:00
pierre%netscape.com
7fa140165d
StartDraw() initializes the rendering context; it allows Update() to pass the rendering context to the children.
...
git-svn-id: svn://10.0.0.236/trunk@15872 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-06 00:37:46 +00:00
saari%netscape.com
5698cd65df
Mac - Temporarly turning off the passing down of rendering contexts to children during updates to facilitate a hack that improves rendering. The hack is getting around the Windows centric XP code.
...
git-svn-id: svn://10.0.0.236/trunk@15677 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 04:26:46 +00:00
pierre%netscape.com
9acc3cde2c
Update() receives the rendering context as a parameter and passes it to the children
...
git-svn-id: svn://10.0.0.236/trunk@15619 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 10:15:22 +00:00
saari%netscape.com
69c1d2263e
This is the first in what will probably be a series of checkins addressing rendering on the Mac.
...
Changed files:
----------------------------------------
mozilla/gfx/src/mac/nsRenderingContextMac.h
mozilla/gfx/src/mac/nsRenderingContextMac.cpp
- Major changes to the Mac rendering context implementation. nsRenderingContextMac now keeps the majority of its state in a GraphicsState object, not in member variables. Setting ports and origins is now a more tightly controlled process. Offscreen buffers don't work correctly yet.
To Do:
- Remove ::SetOrigin calls from most nsRenderingContextMac drawing methods
- Some old variables need to be fully obsoleted
- Offscreen GWorlds currently do not work correctly. This will be addressed shortly.
----------------------------------------
mozilla/widget/src/mac/nsMacWindow.cpp
- Line 112: fixed bug with rect bottom not being set correctly
----------------------------------------
mozilla/widget/public/nsIWidget.h
- Added some more #defines for GetNativeData. I don't like this and want to remove them ASAP.
/\/\/\/\/\//\
mozilla/widget/src/mac/nsWindow.h
mozilla/widget/src/mac/nsWindow.cpp
- Added mMacPortRelativeRegion
----------------------------------------
mozilla/widget/src/mac/nsScrollbar.cpp
- Support the new nsWindow constructs
----------------------------------------
git-svn-id: svn://10.0.0.236/trunk@15605 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 02:26:08 +00:00
mjudge%netscape.com
d999cf6a12
fix for mac no ')'
...
git-svn-id: svn://10.0.0.236/trunk@15552 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 21:39:13 +00:00
mjudge%netscape.com
82fc10e60f
didnt check in the one file i needed!! not my day
...
git-svn-id: svn://10.0.0.236/trunk@15551 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 21:04:33 +00:00
mjudge%netscape.com
8c66b5b1ca
casting like mad
...
git-svn-id: svn://10.0.0.236/trunk@15548 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 20:56:29 +00:00
mjudge%netscape.com
d5762e5956
fixing build bustage!
...
git-svn-id: svn://10.0.0.236/trunk@15547 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 20:28:34 +00:00
mjudge%netscape.com
a3ceb6c4f4
fixing mac build bustage
...
git-svn-id: svn://10.0.0.236/trunk@15545 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 20:17:01 +00:00
pinkerton%netscape.com
295a1367c6
Added SetCursor() override so that we will change the cursor when layout tells us.
...
git-svn-id: svn://10.0.0.236/trunk@14961 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-19 21:54:35 +00:00
beard%netscape.com
991d915062
Added ConvertToLocalCoordinates, WindowToLocalCoordinate for converting from window (device) coordinates to widget coordinates. Moved some calls from Destroy to the destructor to deal with a refcounting bug.
...
git-svn-id: svn://10.0.0.236/trunk@14730 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-15 23:31:37 +00:00
beard%netscape.com
33bc4f922b
Changed COLOR8TOCOLOR16 to an inline function that simply returns (color8 << 8) | color8. This properly maps 0xFF to 0xFFFF, etc.
...
git-svn-id: svn://10.0.0.236/trunk@14726 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-15 21:56:40 +00:00
pierre%netscape.com
a6451b0f2c
Initialize the 2 new fields of the nsSizeEvent (mWinWidth + mWinHeight) before dispatching the event. Fix a crash due to recursive calls in the sample viewer app.
...
git-svn-id: svn://10.0.0.236/trunk@14395 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 02:49:14 +00:00
pierre%netscape.com
78526b9f65
Set the coordinates ot the top-level object to (0,0) instead of its global coordinates.
...
Clipping and settting the origin is done in StartDraw() instead of Update().
git-svn-id: svn://10.0.0.236/trunk@14383 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 01:38:33 +00:00
pierre%netscape.com
7f91320a9f
Added StartDraw() and EndDraw() + other fixes in Destroy()
...
git-svn-id: svn://10.0.0.236/trunk@14067 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-04 07:02:26 +00:00
rpotts%netscape.com
518fd29f37
Fix some build bustage...
...
git-svn-id: svn://10.0.0.236/trunk@13721 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-30 07:14:17 +00:00
pinkerton%netscape.com
7f1c53ffbd
make sure we init mMenuBar to null.
...
git-svn-id: svn://10.0.0.236/trunk@13653 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-29 17:40:22 +00:00
pierre%netscape.com
3058b55651
Landing MacWidgets...
...
git-svn-id: svn://10.0.0.236/trunk@13651 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-29 14:06:26 +00:00
troy%netscape.com
336c7bc219
Added Update() member function which forces a synchronous repaint of any
...
dirty regions of the window
git-svn-id: svn://10.0.0.236/trunk@13524 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-27 00:16:59 +00:00
dcone%netscape.com
56adf83688
Small bug fix in resize
...
git-svn-id: svn://10.0.0.236/trunk@13403 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-23 21:29:17 +00:00
dcone%netscape.com
29a360ec69
Now checks the width and height before a NS_SIZE_EVENT is dispatched.
...
git-svn-id: svn://10.0.0.236/trunk@13387 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-23 18:02:38 +00:00
pierre%netscape.com
ea28d41d41
inherit from nsBaseWidget: removed lots of code
...
git-svn-id: svn://10.0.0.236/trunk@12986 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-16 09:21:23 +00:00
dcone%netscape.com
8d3cdccd9b
added support to offset child window to correct location.
...
git-svn-id: svn://10.0.0.236/trunk@12700 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-13 16:33:39 +00:00
dcone%netscape.com
8a2b6ef6ab
fixed some bugs
...
git-svn-id: svn://10.0.0.236/trunk@12452 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-09 21:46:30 +00:00
dcone%netscape.com
8317b5ebf6
updated the invalidate method
...
git-svn-id: svn://10.0.0.236/trunk@12424 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-09 15:18:26 +00:00
pierre%netscape.com
c4abb0434a
fix build on mac after rods's changes in DispatchEvent
...
git-svn-id: svn://10.0.0.236/trunk@12260 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-08 02:00:23 +00:00
rods%netscape.com
071ff7bed5
Made an attempt at fixing the Mac port for the DispatchEvent change
...
git-svn-id: svn://10.0.0.236/trunk@12241 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-07 23:33:52 +00:00
dcone%netscape.com
1f2f92626a
updated Dispatch to new interface.
...
git-svn-id: svn://10.0.0.236/trunk@12215 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-07 20:15:45 +00:00
dcone%netscape.com
e3ae8328f3
re-wrote the ConvertToDeviceCoordinates to offset the event point.
...
git-svn-id: svn://10.0.0.236/trunk@12203 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-07 17:59:26 +00:00
dcone%netscape.com
3132200b6b
fixed offset problems
...
git-svn-id: svn://10.0.0.236/trunk@12191 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-07 15:13:19 +00:00
dcone%netscape.com
276f643418
fixed some offset bugs
...
git-svn-id: svn://10.0.0.236/trunk@12041 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 13:28:53 +00:00
michaelp%netscape.com
9402cfce2c
font cache is no longer public.
...
git-svn-id: svn://10.0.0.236/trunk@11580 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 18:59:31 +00:00
kostello%netscape.com
7b2f4c649c
Synch with Rod's changes to nsIWidget
...
git-svn-id: svn://10.0.0.236/trunk@11309 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 00:58:32 +00:00
dcone%netscape.com
a035d18976
fixed offset problems and parent heiarchy problems
...
git-svn-id: svn://10.0.0.236/trunk@11102 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 22:23:58 +00:00
dcone%netscape.com
74febbdf92
fixed some resizing issues
...
git-svn-id: svn://10.0.0.236/trunk@11036 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 15:12:55 +00:00
dcone%netscape.com
ed77d583c6
fixed resizing issues
...
git-svn-id: svn://10.0.0.236/trunk@10848 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 22:10:40 +00:00
pierre%netscape.com
5edd44880b
fixed a GlobalToLocal problem in FindWidgetHit
...
git-svn-id: svn://10.0.0.236/trunk@10789 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 09:18:46 +00:00
pierre%netscape.com
7461840b06
destructor closes window
...
git-svn-id: svn://10.0.0.236/trunk@10681 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 04:18:40 +00:00
pierre%netscape.com
55664594c2
added DoResizeWidgets() + fixed Create to handle resize events + imported minor fixes from Windows
...
git-svn-id: svn://10.0.0.236/trunk@10470 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 01:40:13 +00:00
pierre%netscape.com
720b1e9105
add refcount in GetDeviceContext and GetAppShell
...
git-svn-id: svn://10.0.0.236/trunk@10209 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 22:45:24 +00:00
dcone%netscape.com
f2d34bbd14
added some coordinate conversion
...
git-svn-id: svn://10.0.0.236/trunk@10157 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 17:18:56 +00:00
kostello%netscape.com
bc20d943c1
Synch with new Widget interfaces
...
git-svn-id: svn://10.0.0.236/trunk@10018 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-15 01:36:26 +00:00
dcone%netscape.com
ec0f060783
fixed some focus bugs
...
git-svn-id: svn://10.0.0.236/trunk@9853 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-11 17:49:49 +00:00
pierre%netscape.com
dad8efe8bd
fix uninitialized mWindowRegion / make the window title bar visible
...
git-svn-id: svn://10.0.0.236/trunk@9835 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-11 10:17:02 +00:00
pierre%netscape.com
0f30acf71c
ported AddMouseListener() and AddEventListener() from Windows
...
git-svn-id: svn://10.0.0.236/trunk@9425 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-05 08:05:30 +00:00
warren%netscape.com
d623edaca1
Renamed NSRepository to nsRepository.
...
git-svn-id: svn://10.0.0.236/trunk@8922 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 00:26:28 +00:00