Searched +hist:7 +hist:dc436d8 (Results 1 - 5 of 5) sorted by last modified time

/haiku/src/kits/interface/
H A DMenuItem.cppdiff 7a96554c Wed Dec 09 23:53:17 MST 2015 looncraz <looncraz@looncraz.net> kits/interface: Convert to using Set*UIColor.

Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
Patches 0003-0017 from looncraz, unmodified.
diff 7a8567e6 Thu Jul 30 04:41:33 MDT 2009 Stefano Ceccherini <stefano.ceccherini@gmail.com> Moved MenuPrivate implementation to its own file. Made MenuPrivate.h
self-contained. Adjusted other files accordingly.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31963 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff 7a04ba9b Mon May 29 17:04:18 MDT 2006 Axel Dörfler <axeld@pinc-software.de> Fixed B_MENU_SELECTED_BACKGROUND_COLOR to fit to our B_MENU_BACKGROUND_COLOR,
and changed BMenuItem to actually use it.
This fixes bug #640.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17641 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff 7dc436d8 Thu Jul 07 08:33:19 MDT 2005 Stephan Aßmus <superstippi@gmx.de> usability improvements to scrollbar, sorry had no time to include all of Stefanos drawing code yet, other visual improvements

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13535 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff 7dc436d8 Thu Jul 07 08:33:19 MDT 2005 Stephan Aßmus <superstippi@gmx.de> usability improvements to scrollbar, sorry had no time to include all of Stefanos drawing code yet, other visual improvements

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13535 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff 7a8567e61d42a4c1aa3ecae991ad8dd3b098db44 Thu Jul 30 04:41:33 MDT 2009 Stefano Ceccherini <stefano.ceccherini@gmail.com> Moved MenuPrivate implementation to its own file. Made MenuPrivate.h
self-contained. Adjusted other files accordingly.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31963 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff 7a04ba9b1d2e6c730baea5da0733d6c99c1c4c09 Mon May 29 17:04:18 MDT 2006 Axel Dörfler <axeld@pinc-software.de> Fixed B_MENU_SELECTED_BACKGROUND_COLOR to fit to our B_MENU_BACKGROUND_COLOR,
and changed BMenuItem to actually use it.
This fixes bug #640.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17641 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff 7dc436d8ddced8bde596634efe25ae5ceb11b704 Thu Jul 07 08:33:19 MDT 2005 Stephan Aßmus <superstippi@gmx.de> usability improvements to scrollbar, sorry had no time to include all of Stefanos drawing code yet, other visual improvements

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13535 a95241bf-73f2-0310-859d-f6bbb57e9c96
H A DAlert.cppdiff 7a96554c Wed Dec 09 23:53:17 MST 2015 looncraz <looncraz@looncraz.net> kits/interface: Convert to using Set*UIColor.

Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
Patches 0003-0017 from looncraz, unmodified.
diff 7b0ff5c6 Wed Jul 29 10:13:51 MDT 2015 Axel Dörfler <axeld@pinc-software.de> BAlert: use layout API, allow any number of buttons.

* Added default constructor; you can now alter the complete behavior
via setters, and also add buttons afterwards.
diff 7dc436d8 Thu Jul 07 08:33:19 MDT 2005 Stephan Aßmus <superstippi@gmx.de> usability improvements to scrollbar, sorry had no time to include all of Stefanos drawing code yet, other visual improvements

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13535 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff 7dc436d8 Thu Jul 07 08:33:19 MDT 2005 Stephan Aßmus <superstippi@gmx.de> usability improvements to scrollbar, sorry had no time to include all of Stefanos drawing code yet, other visual improvements

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13535 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff 7b0ff5c6e63390406acaffa0a9ebb68334af8485 Wed Jul 29 10:13:51 MDT 2015 Axel Dörfler <axeld@pinc-software.de> BAlert: use layout API, allow any number of buttons.

* Added default constructor; you can now alter the complete behavior
via setters, and also add buttons afterwards.
diff 7dc436d8ddced8bde596634efe25ae5ceb11b704 Thu Jul 07 08:33:19 MDT 2005 Stephan Aßmus <superstippi@gmx.de> usability improvements to scrollbar, sorry had no time to include all of Stefanos drawing code yet, other visual improvements

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13535 a95241bf-73f2-0310-859d-f6bbb57e9c96
H A DWindow.cppdiff 7a3892f4 Thu Jan 14 16:55:33 MST 2016 Rene Gollent <rene@gollent.com> BWindow: Fix keyboard handling bug.

- In the case of certain messages that are dispatched from the
app_server with multiple target tokens (i.e. due to an attached
view that has a mouse or keyboard event mask set), we need to
strip the focus flag from the message before passing it to the
non-focus views. Fixes a bug observed via Clipdinger where the
aforementioned circumstance would result in all keyboard shortcuts
being invoked multiple times.
diff 7f9368ca Wed Dec 09 23:52:48 MST 2015 looncraz <looncraz@looncraz.net> Set*UIColor, etc.

The inseparable changes necessary to support live color updating across the
system in a sane, safe, and performant manner.

BView gains:

HasSystemColors()
HasDefaultColors()
AdoptSystemColors()
AdoptParentColors()
AdoptViewColor(BView*)
SetViewUIColor(color_which, float tint)
SetHighUIColor(...
SetLowUIColor(...
ViewUIColor(float* tint)
HighUIColor(...
LowUIColor(...
DelayedInvalidate()

BWindow gains a simple helper method:
IsOffscreenWindow()

BMessage gains:

AddColor()
FindColor()
GetColor()
HasColor() * allegedly this API is deprecated, but I implemented it anyway
ReplaceColor()
SetColor()

Previous private ColorTools methods are made public and moved into GraphicsDefs:

mix_color, blend_color, disable_color

These are fully compatible with BeOS dan0 R5.1 methods and are just code cleanup
of BeOS example code under the OpenTracker license.

In addition, four new colors are created:
B_LINK_TEXT_COLOR
B_LINK_HOVER_COLOR
B_LINK_ACTIVE_COLOR
B_LINK_VISITED_COLOR

These changes are documented in their proper user documentation files.

In addition, due to a history rewrite, B_FOLLOW_LEFT_TOP has been defined and
used in lieu of B_FOLLOW_TOP | B_FOLLOW_LEFT and is included in this commit.

On the app_server side, the following has changed:

Add DelayedMessage - a system by which messages can be sent at a scheduled time,
and can also be merged according to set rules. A single thread is used to service the
message queue and multiple recipients can be set for each message.
Desktop gains the ability to add message ports to a DelayedMessage so that
said messages can target either all applications or all windows, as needed.

Desktop maintains a BMessage which is used to queue up all pending color changes
and the delayed messaging system is used to enact these changes after a short
period of time has passed. This prevents abuse and allows the system to merge
repeated set_ui_color events into one event for client applications, improving
performance drastically.

In addition, B_COLORS_UPDATED is sent to the BApplication, which forwards the message
to each BWindow. This is done to improve performance over having the app_server
independently informing each window.

Decorator changes are live now, which required some reworking.

Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
diff 7cb93378 Mon Feb 04 08:01:34 MST 2008 Axel Dörfler <axeld@pinc-software.de> * Ingo broke binary compatibility of Window.h in r18649, thanks to Stefano
for finding this. This should fix bug #1734.
* Removed unused BWindow members and the temporary PrintToStream() method.
* Indentation cleanup (DirectWindow.h had some spaces instead of tabs).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23863 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff 7acb68ed Tue Sep 25 07:38:10 MDT 2007 Axel Dörfler <axeld@pinc-software.de> Made the private B_HIDE_APPLICATION message (now a misnomer) hide all applications
that share the same signature - so that this feature is now consistent to what the
Deskbar does.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22304 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff 7a90948b Sun Jul 01 08:57:41 MDT 2007 Stephan Aßmus <superstippi@gmx.de> * this should fix BWindow::FindChild(BPoint)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21537 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff 7bb48db1 Tue Apr 04 10:41:29 MDT 2006 Axel Dörfler <axeld@pinc-software.de> * The BView::FrameResized()/FrameMoved() hooks are now called asynchronously
as in R5, and no longer directly. This fixes bug #301.
* As a side effect, the hooks are now only called when the view is attached
to a window, as on R5.
* Removed dead B_VIEW_RESIZED/MOVED code from BWindow.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17009 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff 7afc7c50 Sun Jan 08 15:04:52 MST 2006 Stephan Aßmus <superstippi@gmx.de> ServerFont:
* fixed weird pointer conversion in SetStyle()
* fixed a potential mix up in operator=() in case the
other ServerFont has fStyle == NULL

ServerWindow:
* the WindowLayer fTopLayer cannot be deleted by
client request, just for safety reasons
* the link is flushed if there is no drawing engine,
but this case is theoretical only
* deleting the ServerWindow object syncs with the
client, so that when BBitmaps are deleted, they
can be sure there are no pending messages (which
would be executed in a nother thread)
* there is no timeout anymore when sending messages
to the client, which made absolutely no sense

AGGTextRenderer:
* renamed fFontManager to fFontCache, because that's
what it really is
* fLastFamilyAndStyle defaulted to the system plain
font and therefor that font was never loaded when
the font never changed meanwhile

DrawingMode:
* I'm not quite sure but I think there was the
potential of a division by zero, at least I
had crashes with "divide error"

HWInterface:
* fix update when the cursor shape changed in
double buffered mode

ViewLayer:
* since the top layer is never really deleted
before its time has come, it is not necessary
to set it to NULL in the ViewLayer destructor

ViewLayer/WindowLayer:
* added a function to collect the view tokens
that are affected by an update session

EventDispatcher:
* use the importance of the message for the timeout
in _SendMessage()
* drop mouse moved events in the server if we're
lagging behind more than 5 ms (Axel, maybe review)

View:
* there were some problems with the locking
of the BWindow looper in RemoveSelf(), since
this is called from the window destructor,
also of BWindows from BBitmaps, which have
never been run (this might need review), at
least I seem to have solved the crashing
problems introduced by actually deleting the
view hirarchy in the BWindow destructor
* fixed _Draw() for being used non-recursively,
temporarily disabled DrawAfterChildren, which
didn't work yet anyways (because views cannot
draw over children in the server yet)

Window:
* small cleanup when deleting shortcuts
* sync with the server when having send
AS_DELETE_WINDOW (see ServerWindow above)
* fixed locking in Begin/EndViewTransaction()
* removed folding of _UPDATE_ messages, since
there is only one ever in the queue
* set the fInTransaction flag during an update,
I plan to use this in BView later to
flush the link when drawing outside of an
update
* BView::_Draw() is now called by view token,
this gives the next leap forward in speed,
the overhead because of drawing clean views
was considerable



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15878 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff 7c686564 Fri Nov 25 14:06:37 MST 2005 Axel Dörfler <axeld@pinc-software.de> * Don't trust a message that we got goes to a handler that belongs to us.
* when we terminate gracefully and in the looper's thread, we no longer
unlock ourselves.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15155 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff 7dc436d8 Thu Jul 07 08:33:19 MDT 2005 Stephan Aßmus <superstippi@gmx.de> usability improvements to scrollbar, sorry had no time to include all of Stefanos drawing code yet, other visual improvements

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13535 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff 7dc436d8 Thu Jul 07 08:33:19 MDT 2005 Stephan Aßmus <superstippi@gmx.de> usability improvements to scrollbar, sorry had no time to include all of Stefanos drawing code yet, other visual improvements

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13535 a95241bf-73f2-0310-859d-f6bbb57e9c96
H A DScrollBar.cppdiff 7bf5abf4 Wed Sep 10 14:34:10 MDT 2008 Stephan Aßmus <superstippi@gmx.de> Implemented BSize returning layout methods.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27406 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff 7e2e6a5d Tue Jun 06 03:54:59 MDT 2006 Jérôme Duval <korli@users.berlios.de> fixed BStringView::GetSupportedSuites and BScrollBar::GetSupportedSuites


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17732 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff 7dc436d8 Thu Jul 07 08:33:19 MDT 2005 Stephan Aßmus <superstippi@gmx.de> usability improvements to scrollbar, sorry had no time to include all of Stefanos drawing code yet, other visual improvements

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13535 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff 7dc436d8 Thu Jul 07 08:33:19 MDT 2005 Stephan Aßmus <superstippi@gmx.de> usability improvements to scrollbar, sorry had no time to include all of Stefanos drawing code yet, other visual improvements

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13535 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff 7bf5abf4255abd43e4c6e82145b05682c99389ed Wed Sep 10 14:34:10 MDT 2008 Stephan Aßmus <superstippi@gmx.de> Implemented BSize returning layout methods.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27406 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff 7e2e6a5d4ab01a7869ff5a4eabd8a3bf622151d2 Tue Jun 06 03:54:59 MDT 2006 Jérôme Duval <korli@users.berlios.de> fixed BStringView::GetSupportedSuites and BScrollBar::GetSupportedSuites


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17732 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff 7dc436d8ddced8bde596634efe25ae5ceb11b704 Thu Jul 07 08:33:19 MDT 2005 Stephan Aßmus <superstippi@gmx.de> usability improvements to scrollbar, sorry had no time to include all of Stefanos drawing code yet, other visual improvements

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13535 a95241bf-73f2-0310-859d-f6bbb57e9c96
/haiku/headers/os/interface/
H A DScrollBar.hdiff 7bf5abf4 Wed Sep 10 14:34:10 MDT 2008 Stephan Aßmus <superstippi@gmx.de> Implemented BSize returning layout methods.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27406 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff 7dc436d8 Thu Jul 07 08:33:19 MDT 2005 Stephan Aßmus <superstippi@gmx.de> usability improvements to scrollbar, sorry had no time to include all of Stefanos drawing code yet, other visual improvements

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13535 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff 7dc436d8 Thu Jul 07 08:33:19 MDT 2005 Stephan Aßmus <superstippi@gmx.de> usability improvements to scrollbar, sorry had no time to include all of Stefanos drawing code yet, other visual improvements

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13535 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff 7bf5abf4255abd43e4c6e82145b05682c99389ed Wed Sep 10 14:34:10 MDT 2008 Stephan Aßmus <superstippi@gmx.de> Implemented BSize returning layout methods.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27406 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff 7dc436d8ddced8bde596634efe25ae5ceb11b704 Thu Jul 07 08:33:19 MDT 2005 Stephan Aßmus <superstippi@gmx.de> usability improvements to scrollbar, sorry had no time to include all of Stefanos drawing code yet, other visual improvements

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13535 a95241bf-73f2-0310-859d-f6bbb57e9c96

Completed in 262 milliseconds