Commit Graph
100 Commits
Author SHA1 Message Date
Stephan Aßmus 96c2b12ade * filled resource file
* created icon (maybe work in progress...)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20805 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-24 22:35:06 +00:00
Stephan Aßmus 8b618e0a63 * improved icon
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20802 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-24 21:41:35 +00:00
Stephan Aßmus 3c82cb484e * created vector icon
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20798 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-24 19:59:46 +00:00
Stephan Aßmus 8d184de1da * bugfix in ScrollBy (it could scroll the screen area of hidden views)
* test the actually visible view area against dirty region,
  (this avoids making the client window call the Draw() function of views,
  even though all the drawing would get clipped on the server side)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20756 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-19 19:36:36 +00:00
Stephan Aßmus 375dc591e6 * thought of an extension for the icon editor protocol
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20755 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-19 19:28:57 +00:00
Stephan Aßmus f591eb8ba0 * cleanup license header (and convert Jérôme to UTF8)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20754 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-19 19:26:44 +00:00
Stephan Aßmus 66cd7e6cc6 * define some more stuff
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20753 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-19 19:22:49 +00:00
Stephan Aßmus 309289eb87 * created vector icon
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20702 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-15 12:22:37 +00:00
Stephan Aßmus a9728b1c4f * created vector icon
* updated copyright


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20701 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-15 11:39:59 +00:00
Stephan Aßmus 950c025bf8 * created icon
* added some previously missing information to rdef


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20698 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-15 10:42:48 +00:00
Stephan Aßmus 97e69082b6 * copied vector icon from font preflet
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20689 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-15 00:41:24 +00:00
Stephan Aßmus 7cf41fd258 * added same vector icon as FileTypes preflet, but somehow the
resources are not added for the "Addon" target type? Ingo?


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20688 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-14 23:22:51 +00:00
Stephan Aßmus 985aec5d8b * created vector icon
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20687 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-14 23:13:18 +00:00
Stephan Aßmus b581b77b13 * icon contained some left over unused paths
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20686 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-14 23:07:37 +00:00
Stephan Aßmus 48d8e83e88 * created vector icon
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20685 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-14 22:38:05 +00:00
Stephan Aßmus 35afdf5cc9 * added vector icons for application and supported types
* added "icon heap" icon
* implemented loading vector icon for "icon heap"


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20684 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-14 22:36:56 +00:00
Stephan Aßmus 4620ac73aa added Hugo Santos to the list of developers
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20638 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-10 16:20:40 +00:00
Stephan Aßmus dca2807ec2 fix the build... sorry guys!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20625 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-09 21:58:26 +00:00
Stephan Aßmus 7c4b3726d9 culmulative update...
* holding down space, or using the third mouse button, will force
  the "pan canvas" mode
* using the mouse wheel zooms in and out
* fixed issues with the undo commands when nudging something with
  the cursor keys
* manipulators can now indicate wether they changed the mouse cursor
* ChangePointCommand is no longer inserted if the point didn't change
* new "flip" points feature in context menu, flips "in" and "out" curve
  control points
* mouse wheel events are now propagated together with the mouse position
* new "UndoesPrevious" method in Command interface (used to clean up
  command stack)
* clean ups in CommandStack



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20623 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-09 08:30:28 +00:00
Stephan Aßmus b5a071bc22 * patch by aldeck, fixes ticket #1143
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20618 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-08 17:45:35 +00:00
Stephan Aßmus 027f6a768c * export SetDiskMode() symbol, thanks to "aldeck" for providing the BeBook link,
fixes ticket #1140


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20617 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-08 17:37:22 +00:00
Stephan Aßmus 48e0491d5a * added icon for "connecting" status
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20529 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-03 10:42:48 +00:00
Stephan Aßmus 4467a70250 * created icons to inform about network connectivity status
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20528 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-03 10:39:38 +00:00
Stephan Aßmus 84db3be8a9 * put Transformable class into BPrivate::Icon namespace, which
solves the problem that app_server uses the wrong version of
  the class
* TODO: put all the other classes into this namespace as well,
  I'm just eager to close this crucial bug, which Ingo kindly
  tracked down

[darn, this commit stalled before, and I commited the next step
 already from another Terminal...]


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20481 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-03-31 18:24:32 +00:00
Stephan Aßmus d2e5bdb4e8 * re-enabled rendering of vector glyph shapes (when text is rotated,
sheared or put to "false bold"), the actual problem was resolved
  with the last revision


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20480 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-03-31 18:23:11 +00:00
Stephan Aßmus 84cf0edda0 resolved TODO
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20479 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-03-31 18:14:31 +00:00
Stephan Aßmus dab183a745 * created vector icons
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20475 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-03-30 22:11:00 +00:00
Stephan Aßmus 340e1a9702 added broken symlink icon (almost 1:1 copy from zuMi's version,
only slight clean-up and used the colors from my app icon)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20466 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-03-29 10:22:28 +00:00
Stephan Aßmus e6d3d87248 created "volume" icon (started off of zuMi's version)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20465 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-03-29 07:48:15 +00:00
Stephan Aßmus 8dc39bf2be created vector icon (now I really need to rest my eyes)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20456 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-03-28 22:01:30 +00:00
Stephan Aßmus 77504f705d created vector icon
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20453 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-03-28 19:11:58 +00:00
Stephan Aßmus 1cda11801e created vector icon
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20449 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-03-28 15:34:03 +00:00
Stephan Aßmus b31ca0ae08 * changed resource format to text file
* created new icon for Cortex
(add-on host needs same changes yet)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20446 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-03-28 14:20:29 +00:00
Stephan Aßmus 17786f4088 new CD Player icon, based in part on work by zuMi
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20445 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-03-28 11:59:24 +00:00
Stephan Aßmus c389cbb7f7 slightly improved contrast
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20444 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-03-28 11:55:13 +00:00
Stephan Aßmus 18393f4cdd * created vector icon. This is like the forth try or something,
and I'm still not quite happy with it... will probably work on
  it some more


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20441 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-03-27 22:52:23 +00:00
Stephan Aßmus a373f8bb2e * created vector icon, doesn't have to be the final one, if no one likes it... :-)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20440 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-03-27 22:50:07 +00:00
Stephan Aßmus f89fb55861 * added email file type including icon (may be considered WIP)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20439 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-03-27 22:29:17 +00:00
Stephan Aßmus 10f6ed940b * implemented "false bold" for text rendering. It is a new property
of BFont. You can BFont::SetFalseBoldWidth(float) a width on a
  BFont object, and it will cause the glyph shapes to be run through
  an AGG "contour converter" so that they become thicker or thinner.
  IIRC, this is commonly referred to as "false bold". The "width" value
  is the distance in pixels that the new glyph outline will be offset
  from the original outline.

It would be nice if someone could look at my change to View.h with
regards to the B_FONT_ALL flag.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19547 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-18 05:22:13 +00:00
Stephan Aßmus 1e15289361 * added icon to pdf mime type
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19536 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-16 19:45:18 +00:00
Stephan Aßmus b93f9f1371 * now the Decorator uses the DrawingEngine instance of the WindowLayer,
so that we can draw the window borders using parallel access too.
  Seems to improve things even further, using the app_server environment
  with direct accelerant access on R5 looks pretty decent now, but
  of cause still far from perfect. The global font lock could actually
  be the problem now.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19528 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-15 23:05:35 +00:00
Stephan Aßmus 527b4ad1b3 Gracious me, I forgot to actually turn on parallel frame buffer access!
Seems to make some difference too. Nothing dramatic though.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19527 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-15 22:43:15 +00:00
Stephan Aßmus 2ba6b3a649 * minor cleanup
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19526 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-15 22:41:35 +00:00
Stephan Aßmus 1a65141503 * added icons to several archive mimetypes
* added lha and tar mimetypes (TODO: sniffer rule, help appreciated)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19520 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-15 10:06:40 +00:00
Stephan Aßmus 664c21b381 * don't always forget the last export mode in SavePanel
(was only saved when switching from "export" to "save")
* make use of drop index when dragging and dropping paths in
  list view


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19519 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-15 09:56:47 +00:00
Stephan Aßmus 2cfe93e780 * renamed HWInterface locking to LockParallelAccess() and
LockExclusiveAccess() (meaning more or less access to the
  frame buffer)
* extracted the AGGTextRenderer to be a global instance used
  by each Painter instance (currently, it is thread safe because
  of the global font lock, so there is some work left in this
  regard)
* gave every ServerWindow it's own DrawingEngine instance, this
  is work in progress. So far, there doesn't seem to be a regression,
  but less fighting over the exclusive access to the frame buffer, now
  each ServerWindow thread can draw in parallel. There is room for
  improvement, plus I think I'm leaking the DrawingEngine...
* changed the locking for the software cursor. ShowSoftwareCursor()
  can only be called if HideSoftwareCursor(BRect) returned true, or
  if you called the generic HideSoftwareCursor(), since it needs
  to keep the cursor lock and unlocks in Show...!
* some clean up and renaming in Decorator and friends
* moved PatternHandler.h to live along with the .cpp


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19427 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-04 22:25:17 +00:00
Stephan Aßmus 64dd737cf3 * fixed the dirty canvas when Icon-O-Matic is started in Haiku
(and also improved performance of rendering icons, the background
  was cleared for no reason on each Draw() call) However there
  must be a bug still in the app_server which causes GetClippingRegion()
  to return an out-of-date clipping region (R5 has the very same bug
  though)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19413 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-02 11:12:12 +00:00
Stephan Aßmus ab12785c61 * I think I finally caught that bug where the test environment crashed
so frequently when unflattening R5 messages (each mouse event arrives
  as an R5 message in the test environment): unflatten_r5_message()
  retrieved the pointer to the message header, but afterwards cleared
  the message... resulting in the header pointer to be invalid.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19412 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-02 11:08:12 +00:00
Stephan Aßmus 54c22262f6 * cleanup (it is still used btw, at least in ServerFont)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19395 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-29 20:29:03 +00:00
Stephan Aßmus 67491d2adc * introduced a listener mechanism to be notified of frame buffer
changes in the HWInterface (ie on mode switch)
* initialization and shutdown of the HWInterface instance no longer
  go through DrawingEngine, which had nothing to do with it in the
  first place
(this is in preparation of giving each ServerWindow it's own
DrawingEngine instance)
* small performance improvement in ViewLayer::ScrollBy()
* some cleanup in ServerConfig.h


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19391 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-29 09:27:23 +00:00
Stephan Aßmus 264fe59ded * introduced IntPoint and IntRect, which are just like BPoint and BRect,
but use integer coordinates. These are now used in ViewLayer for the
  coordinate system (layout, scrolling offset, view bitmap layout)
* modest performance improvements by inlining some very often used
  methods, and by preventing to go down the entire layer tree too often,
  for example InvalidateScreenClipping was always called in the deep
  mode, therefor it is save to assume that the tree does not have to
  be traversed as soon as the clipping is already invalid


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19390 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-29 03:20:07 +00:00
Stephan Aßmus ba688f3640 * small fix
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19389 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-29 03:16:51 +00:00
Stephan Aßmus 4d83ef04a2 * something was giving me trouble, don't know if this fixed it
or something else, but I don't think the change is bad (changed
  ServerProtocol.h from a local header to a system header)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19388 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-29 03:16:10 +00:00
Stephan Aßmus 5288f0a48d * use exit() instead of exit_thread(), makes profiling even possible
with the built-in GCC profiling (thanks Axel)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19387 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-29 03:14:15 +00:00
Stephan Aßmus 64792e619e * small fix
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19386 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-29 03:13:15 +00:00
Stephan Aßmus 464cd15f0a * you can now assign styles to shapes that had none assigned before
* Transformer menu is correctly enabled/disabled when a shape is selected


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19351 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-21 20:41:12 +00:00
Stephan Aßmus 84153c7a0c * various UI improvements and fixes
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19347 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-21 09:37:50 +00:00
Stephan Aßmus fae6fb6d69 * fixed stupid bug that prevented saving in native format
* fixed bug in RDefExporter
* improved zooming, icon is now centered at program start


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19328 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-19 10:13:23 +00:00
Stephan Aßmus c9ed0088c9 use B_RGBA32 icons for displaying stuff like "New Terminal", "Launch Tracker"...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19327 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-19 00:40:35 +00:00
Stephan Aßmus 55efc4c369 * R5 seems to reuse the Workspaces icon for the Desktop, so Haiku does too.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19326 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-19 00:32:17 +00:00
Stephan Aßmus 1f1316fc68 My first commit to the kernel.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19325 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-19 00:30:18 +00:00
Stephan Aßmus 51b55f31e4 * more resemblence of a maple leaf I hope
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19324 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-18 22:35:24 +00:00
Stephan Aßmus c26c0b24e5 * fix build of the haiku_registrar in app_server test environment
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19321 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-18 07:18:00 +00:00
Stephan Aßmus 435b2897a3 * use the application icon instead of a hardcoded icon in the CalcView,
so now the nice vector icon gets displayed



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19315 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-17 10:43:43 +00:00
Stephan Aßmus d0771361ce * use B_RGBA32 icons on Haiku in the TeamMonitor, this and the previous
commits seem to work fine (BTW, what an odd place for the TeamMonitor :-)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19314 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-17 10:15:37 +00:00
Stephan Aßmus fa4cfdbf62 * use B_RGBA32 icons in shutdown process window (untested)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19313 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-17 09:56:42 +00:00
Stephan Aßmus 76788886af * use B_RGBA32 icons when compiled for Haiku
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19312 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-17 09:51:33 +00:00
Stephan Aßmus d63a05d32b * added support for the editing icons comming in via
B_EDIT_ICON_DATA messages, doesn't load an icon yet
  (won't look into it within the next 10 hours... ;-)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19311 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-17 09:44:39 +00:00
Stephan Aßmus da071f77c9 * use the external icon editor "protocol"
-> Icon-O-Matic is launched, but it says the data is not valid...
   don't know why yet (will commit a newer Icon-O-Matic next)



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19310 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-17 09:42:06 +00:00
Stephan Aßmus 61e693903c * invented a small protocol for use by FileTypes when it wants to
use Icon-O-Matic to create or edit icons

note to axeld: I'm messing with it right now, hope you're sleeping
and not messing with it too! :-)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19308 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-17 03:04:08 +00:00
Stephan Aßmus 774831e7c2 big clean up of Save and Export stuff:
* implemented SavePanel that let's you chose the Export format
* introduced DocumentSaver class and several implementations
* Document no longer remembers any entry_refs, but a native
  and export document saver, for other export formats than
  HVIF, it is no longer necessary to go through the file panel,
  simply invoking Export will do
* this makes it much easier to have a custom saver that sends
  a message with an HVIF icon to another app instead of saving
  to a file
* cleaned up File menu
* last used export format is persistent


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19307 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-17 01:37:36 +00:00
Stephan Aßmus 1584cff13b * fixed off-by-one error in scaling algo
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19303 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-16 10:16:59 +00:00
Stephan Aßmus 9f5078060d * fixed a couple of remaining issues with vector icons,
there is some unfortunate code duplication in AppFileInfo,
  because it cannot use BMimeType/BNode alone to retrieve icons,
  now it works closer to the code in BIconUtils, this fixes
  R5 icons not displaying for other icon sizes
* implemented a bilinear scaling function, I don't know if
  it is very fast, but I hope it is reasonable. Now that I
  see the results though, I wonder if R5 icons should be
  scaled with nearest neighbor instead...
* corrected a small bug in the icon format stuff...
  7 bit coords are -32-+95, not 96
* improved comment for BIconUtils function


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19302 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-16 04:53:24 +00:00
Stephan Aßmus c8a976202c * added new icon specific verions of GetIcon and SetIcon
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19300 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-16 00:12:15 +00:00
Stephan Aßmus 1f64dd4cf1 shut up annoying error message (TIFFTranslator was printing
"Not a TIFF file..." for every file thrown at it)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19286 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-14 21:24:37 +00:00
Stephan Aßmus 5770ac4cd8 * spelling mistake corretion, thanks Jérôme!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19276 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-13 22:00:16 +00:00
Stephan Aßmus 1eff9cfc8c * spotted just a few mistakes in the revised version (btw, thanks DarkWyrm!)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19274 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-13 20:41:10 +00:00
Stephan Aßmus 4fac07a088 * started work on saving program settins, window frame is
remembered for now
* fixed some annoying bugs:
- the snapping prevented some of the proximity checks from
  working while editing a path or using the transform box,
  now the Manipulators themself are responsible for mouse
  snapping and can do so at the time it works best for them
- pressing the Esc key while using the transform box did
  reset the transformation, but didn't exit the transform
  mode (return to path editing)
* improved layout of some views when the window is resized



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19266 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-12 22:24:39 +00:00
Stephan Aßmus 7d50641373 new section, with great help from Jorge
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19246 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-10 02:41:22 +00:00
Stephan Aßmus 8bd33b4732 grr... spelling again
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19245 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-10 00:31:52 +00:00
Stephan Aßmus 7e186d1140 much more elaborate Shadow section, with picture demonstrating shadow construction
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19244 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-10 00:24:22 +00:00
Stephan Aßmus 7612834182 * hide the "more unfinished than the rest" bits at the bottom
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19239 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-09 20:48:59 +00:00
Stephan Aßmus a0bc9c3aa8 * fixed wrong html tags, now the spacing around the images looks much better...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19238 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-09 20:46:56 +00:00
Stephan Aßmus 8a1684f4ba * fixed the spelling, thanks Axel and Simon!
-> still unfinished though!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19237 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-09 20:40:51 +00:00
Stephan Aßmus 15e5a8b1e9 some more forgotten places for B_VECTOR_ICON_TYPE
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19229 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-08 04:53:23 +00:00
Stephan Aßmus e0c6ab6012 * fixed shadow of folder icon
* made the paper sheet just a bit lighter at the bottom
* created font folder icon


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19228 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-08 04:51:02 +00:00
Stephan Aßmus b763084c19 Axel forgot to adopt this very central place to the new B_VECTOR_ICON_TYPE
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19227 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-08 04:48:41 +00:00
Stephan Aßmus 4288fdd07e created icon
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19226 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-08 04:47:13 +00:00
Stephan Aßmus 37425ede90 a first draft of the icon guide lines, with some pictures
and some unfinished paragraphs at the end, feel free to
comment and discuss


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19222 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-07 09:34:36 +00:00
Stephan Aßmus 46abf7cb24 2005->2006
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19221 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-07 09:32:42 +00:00
Stephan Aßmus 0b1889422e just some small corrections
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19220 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-07 09:32:18 +00:00
Stephan Aßmus c2c1e4c725 * added scroll view around canvas in Haiku version
* used new layout features in StyleView for Haiku version


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19212 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-06 00:24:07 +00:00
Stephan Aßmus 73a2ffba3b * implemented a Translator for WonderBrush image files, these files contain
the layer bitmaps, all the Translater has to do is compose the layers, tested
  and works with all my WonderBrush images, hopefully contains no memory leaks...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19211 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-05 21:47:28 +00:00
Stephan Aßmus d632afd30e * new vector icons I created in the past months
for applications, I kept the R5 icon around and the
vector icon is only used when compiling for Haiku,
for the mimetypes, I removed the R5 icon, as I don't
think they are used outside the Haiku build

naturally, I'm open for comments



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19193 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-03 09:47:18 +00:00
Stephan Aßmus ca1a22a7a8 * commented out span acceleration function, since it doesn't seem to work
* added mode for 1440x900, the numbers are just guessed, but work fine
  with my monitor (after some fiddling), would be best to have some common
  VGA communication code for all drivers to use and auto-detect the preferred
  mode of the monitor
* messed around with the overlay brightness and contrast values to give
  good looking video



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19192 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-03 09:43:13 +00:00
Stephan Aßmus 4e0139d026 * hack to compare rgb_colors so that the translator can be compiled
for BeOS, adjusted Jamfile accordingly


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19191 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-03 09:41:49 +00:00
Stephan Aßmus d01c27d4f1 * documenting small addition to protocoll when handling flat vector icon data
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19190 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-03 09:41:20 +00:00
Stephan Aßmus f12a404e88 * small simplification
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19189 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-03 09:40:48 +00:00
Stephan Aßmus 6e3b3b09d3 * improvements to saving/loading, biggest flaw was that appending an icon
changed the save entry_ref to the appended file, instead of keeping it
* added cleaning up styles (removing duplicates) after importing from SVG
* compile fixes for rgb_color ==/!= rgb_color
* added Style::operator==(const Style& other)
* improved debug output when listeners are still attached
  to a VectorPath upon destruction



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19188 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-03 09:40:22 +00:00
Stephan Aßmus 64dfde6fb0 * new copyright header
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19187 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-03 09:38:53 +00:00