#
43313386 |
|
29-Jan-2024 |
Trung Nguyen <trungnt282910@gmail.com> |
headers/os: Add name to spacing enum. The `enum` containing `B_USE_DEFAULT_SPACING` and other members are regularly used in default arguments. Adding the name to this `enum` makes the header more generator-friendly (see #6716). Change-Id: I6676d2329bdb2152ccb37615345b97ba35f70563 Reviewed-on: https://review.haiku-os.org/c/haiku/+/7377 Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk> Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org> Haiku-Format: Haiku-format Bot <no-reply+haikuformatbot@haiku-os.org>
|
#
8672fc27 |
|
28-Sep-2022 |
Augustin Cavalier <waddlesplash@gmail.com> |
InterfaceDefs: Adjust and introduce new spacing/insets constants. * Nothing in the tree and few things outside it used BIG_{SPACING|INSETS}; it seems a value of 15px (at default font size) is not that useful. There are, however, a lot of things around the tree that use multiples of 20px. So, make BIG be that, with the intent to replace those with BIG directly. * Introduce CORNER_{SPACING|INSETS}. There are a lot of applications (e.g. Tracker, Terminal, Debugger etc.) which use scroll bar width/height to metrically align controls with the window frame or with some other control which contains scroll bars. Rather than have to invoke BScrollBar or BControlLook directly to get the value, we should just derive the size of scrollbars from a spacing constant instead and get rid of the custom function. (For now it is just replaced.) This reuses the old values for BIG, as it is equal to 14px at default. * Introduce BORDER_{SPACING|INSETS}. This is equal to the typical border size of 1px at default font size (or lower) and uses floor() instead of ciel() to compute what the size should be (i.e. it will remain 1px at 150%/18pt and only go up at 200%/24pt.) This will allow a lot of the hardcoded border sizes around the tree and elsewhere to use ComposeSpacing() instead. Change-Id: Iaea3fa30364859888e816a9d61ac156268d70758 Reviewed-on: https://review.haiku-os.org/c/haiku/+/5702 Reviewed-by: waddlesplash <waddlesplash@gmail.com> Reviewed-by: nephele <nep@packageloss.eu> Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
|
#
78ee50a2 |
|
28-Sep-2022 |
Augustin Cavalier <waddlesplash@gmail.com> |
InterfaceDefs: Specify INSETS constants in terms of SPACING constants. They already used the same numeric values. Also reorder for consistency. No functional change.
|
#
68d1b97e |
|
25-Apr-2022 |
Augustin Cavalier <waddlesplash@gmail.com> |
Clean up mouse functions in InterfaceDefs. * Fully remove unused and deprecated functions. * Comment as to which functions are deprecated. * Rename _by_name functions to be without the suffix, as this is C++ and there's no reason not to use overloads here. Change-Id: I4e2152f17806605eb965795417013cea800e661e
|
#
84d27c65 |
|
08-Apr-2022 |
scph <scph1000@protonmail.com> |
mouse: get/set acceleration factor by mouse name * Create and use *_mouse_acceleration_by_name functions to replace older *_mouse_acceleration functions. Now consistent with related functions (such as *_mouse_speed_by_name). * Passing mouse_name to HandleGetSetMouseAcceleration in the BMessage fixes mouse acceleration changes not applying properly. Change-Id: I668cdbbbb81e3cb9069a3fc2ce77e6ef75ba8476 Reviewed-on: https://review.haiku-os.org/c/haiku/+/5189 Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org> Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
|
#
02ad22d6 |
|
04-Aug-2020 |
Preetpal Kaur <preetpalok123@gmail.com> |
Input: declare BString to get the Mouse Name Change-Id: I3476f58839202a6fd8c93e325a15045963a9b7b2 Reviewed-on: https://review.haiku-os.org/c/haiku/+/3125 Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
|
#
37d79323 |
|
04-Aug-2020 |
Preetpal Kaur <preetpalok123@gmail.com> |
Added get_set_mulitple_mouse_type() functions Change-Id: I95f85a15a77c3a548bb672cb966ae7b13fcefcc8 Reviewed-on: https://review.haiku-os.org/c/haiku/+/3127 Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
|
#
581cd2a2 |
|
13-Nov-2017 |
Augustin Cavalier <waddlesplash@gmail.com> |
Nuke COMPILE_FOR_R5. Not used in $long_time, almost certainly broken, so it's just cruft.
|
#
80bc632a |
|
07-Mar-2016 |
Augustin Cavalier <waddlesplash@gmail.com> |
BStatusBar: Restore the old blue-ish color from before the Set*Color changes.
|
#
7f9368ca |
|
09-Dec-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>
|
#
95c8163a |
|
23-Nov-2015 |
Jérôme Duval <jerome.duval@gmail.com> |
Add Hangul and Hangul_Hanja keycodes for korean keyboards. * map both keys on USB keyboards. Untested.
|
#
e047b40a |
|
25-Aug-2015 |
Axel Dörfler <axeld@pinc-software.de> |
Interface Kit: use different spacing constants. * While this breaks binary compatibility with earlier Haiku releases, use values that are less likely to clash with actual use cases. * Specifically, using a negative spacing is one way to get rid of the border of BScrollViews, to put them into a window neatly. * Also, BControlLook now uses a switch to resolve them.
|
#
eb431663 |
|
11-Mar-2014 |
Adrien Destugues <pulkomandy@pulkomandy.tk> |
app_server & interface kit: support fill rules. * BView gets SetFillRule/FillRule methods. The fill rule is part of the view state. * The B_NONZERO rule is the default. This is what we implemented before. * The B_EVEN_ODD rule is the other common possibility for this, and we need to support it to help WebKit to render properly.
|
#
5414b3c4 |
|
22-Dec-2013 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Move icon related constants to InterfaceDefs.h There will be non-BControl views to use those as well.
|
#
ab3c1954 |
|
06-Apr-2013 |
John Scipione <jscipione@gmail.com> |
Move B_COLOR_WHICH_COUNT to private ServerReadOnlyMemory header. This means the B_COLOR_WHICH_COUNT goes from being a public constant to a private one. It sill looks like a public constant starting with a B_ though. I hope that's not a big deal. Too bad we can't get the count of an enum.
|
#
33025215 |
|
05-Apr-2013 |
John Scipione <jscipione@gmail.com> |
Remove dependence on color constants in ServerReadOnlyMemory. This fixes a maintainance problem where you have to update this otherwise unrelated file to keep it in sync whenever you add a color constant. I've added a B_COLOR_WHICH_COUNT constant to the color_which enum which should be updated to point to the newest color constants as new ones are added. I reworked ServerReadOnlyMemory to use this constant instead of using to the current largest color constant directly. If you use B_COLOR_WHICH_COUNT to refer to a color in your code expect to get unpredictable and nonsensical results. Most likely you'll get an undefined result which will return black but don't depend on it. The net effect of this is that ServerReadOnlyMemory doesn't need to be updated anymore when new color constants are introduced but will continue to produce correct results. Eliminate kNumColors constant, replace it with B_COLOR_WHICH_COUNT
|
#
9f24981a |
|
05-Apr-2013 |
John Scipione <jscipione@gmail.com> |
Add B_SCROLL_BAR_THUMB_COLOR constant. This allows you to change the scrollbar thumb color in Appearance preferences. The default color is 216, 216, 216 so the scroll bar thumb looks the same by default. Perhaps someday this can be updated to something a bit more colorful.
|
#
91c78f09 |
|
20-Aug-2012 |
John Scipione <jscipione@gmail.com> |
Create and use new list view item colors * B_LIST_BACKGROUND_COLOR * B_LIST_SELECTED_BACKGROUND_COLOR * B_LIST_ITEM_TEXT_COLOR * B_LIST_SELECTED_ITEM_TEXT_COLOR
|
#
4bb5af76 |
|
15-Jul-2012 |
John Scipione <jscipione@gmail.com> |
Add control mark color setting. #8054 An enhancement adding a setting to Colors under Appearance to set the mark color of radio button and check box controls.
|
#
30d17caa |
|
28-Oct-2011 |
John Scipione <jscipione@gmail.com> |
Added support for colored window tabs in the default decorator.
|
#
d90a465e |
|
17-Jun-2011 |
Alex Wilson <yourpalal2@gmail.com> |
Change the value of other spacing/inset constants so that B_USE_DEFAULT_SPACING has its own unique value. Also adjust BControlLook::ComposeSpacing() to reflect this. closes #7447 git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42222 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
6648dd3c |
|
07-Jun-2011 |
Alex Wilson <yourpalal2@gmail.com> |
* Add new spacing/inset constants for the layout API. For now, leave B_USE_DEFAULT_SPACING, but this will go soon. * Rename BControlLook::ComposeItemSpacing() to ComposeSpacing(), and extend it to handle the new constants. * Adjust users of BControlLook::ComposeItemSpacing() accordingly. * part of #7447 git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42025 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
76d9e053 |
|
23-Oct-2010 |
Stephan Aßmus <superstippi@gmx.de> |
Introduce a new flag for drawing BBitmaps, B_WAIT_FOR_RETRACE which triggers waiting on the retrace semaphore in app_server just before drawing the bitmap. This potentially removes any additional delay when doing this client side. Completely untested. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39097 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
82ab3167 |
|
02-Sep-2010 |
Alex Wilson <yourpalal2@gmail.com> |
Add default spacing for Layouts (#5614) * introduce B_USE_DEFAULT_SPACING, which works somewhat like B_SIZE_UNSET and B_ALIGN_HORIZONTAL_UNSET * introduce static float BControlLook::ComposeItemSpacing(float spacing), which checks uses be_control_look->DefaultItemSpacing(). * modify layouts to use BControlLook::ComposeItemSpacing() in SetInsets and SetSpacing methods. * default insets are still 0, 0, 0, 0, but can be set to default spacing by passing B_USE_DEFAULT_SPACING * I've found two regressions, patches incoming, please report others on #5614. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38512 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
ef855c9e |
|
15-Aug-2010 |
François Revol <revol@free.fr> |
Remove unwanted compatibility aliases before I get beaten by the Dano hunters... git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38126 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
8e8634bf |
|
15-Aug-2010 |
François Revol <revol@free.fr> |
Add synonyms for tootip ui_color constants. Fix WindowShade to use the new official ones. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38122 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
33394b85 |
|
16-May-2010 |
Stephan Aßmus <superstippi@gmx.de> |
Patch by Wim van der Meer: Added get_mouse_bitmap() global method to InterfaceDefs.h and corresponding implementation in the app_server. Thanks a bunch! Closes ticket #5978. A note to those using "update-all" with hybrid builds - the alternative GCC system libs will not be updated this way, and this and Wim's last patch change the libbe <-> app_server interface. You need to manually update the respective libbe.so, or do a clean build, otherwise apps for the other GCC will not start anymore. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36830 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
1c73ffa1 |
|
14-May-2010 |
Stephan Aßmus <superstippi@gmx.de> |
Patch by Wim van der Meer: Implemented global Interface Kit function to retrieve the current mouse position and pressed buttons. I've changed the return code to status_t and added anal error checking, most of the rest of the file is not doing it, though... :-) Thanks, Wim! git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36811 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
926e63c8 |
|
22-Oct-2009 |
Brecht Machiels <brecht@mos6581.org> |
* added click to focus mouse mode; right-click for bring-to-front and send-to-back (might cause some regressions in FFM) * made accept first click user configurable * updated the Mouse preflet to use the layout kit * removed the warp and instant warp modes from the Mouse preflet * changed internal representation of mouse modes (warp modes moved) * coding style fixes git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33732 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
75a6d1db |
|
26-Aug-2009 |
Stephan Aßmus <superstippi@gmx.de> |
Optimized includes. For example, BeBuild.h is almost always already included via SupportDefs.h. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32748 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
89208c77 |
|
27-Aug-2009 |
Stephan Aßmus <superstippi@gmx.de> |
Finished unifying the Interface Kit headers: * Fixed copyrights (puncuation and capitalization, removed authors from headers) * Updated indentation style * Unified pointer/reference style * Re-ordered some methods for better grouping where it could be done (abd adopted source accordingly) * Small coding style fixes here and there No functional change intended. +alphabranch git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32745 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
8318af01 |
|
03-Aug-2009 |
Axel Dörfler <axeld@pinc-software.de> |
* Added a basic tool tip API, and implementation. * The BView API can probably be regarded as good enough; the implementation might need to be improved over time (also, some things as archivability aren't fully implemented yet). The ToolTip.h header should get public once finalized. * Added new B_MOUSE_IDLE message that is sent to a BView after a certain time has passed (BToolTipManager::ShowDelay()). * Added small test app (ToolTipTest) that shows what is already working. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32078 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
b0375001 |
|
03-May-2009 |
Stephan Aßmus <superstippi@gmx.de> |
Patch by Shinta: The key code was misnamed. Thanks a lot! git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30599 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
f7b619c9 |
|
28-Mar-2009 |
Karsten Heimrich <host.haiku@gmx.de> |
* quick build fix git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29765 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
53eaeede |
|
28-Mar-2009 |
Stephan Aßmus <superstippi@gmx.de> |
* Moved the bitmap filter options to InterfaceDefs.h. * Moved the bit in order not to clash with the tile options. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29754 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
60581c63 |
|
14-Dec-2008 |
Jérôme Duval <korli@users.berlios.de> |
added get_modifier_key() git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28813 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
dd114a0c |
|
01-Sep-2008 |
Jérôme Duval <korli@users.berlios.de> |
space cleanup git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27270 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
ba64d892 |
|
09-May-2008 |
Jérôme Duval <korli@users.berlios.de> |
* added B_KATAKANA_HIRAGANA and B_ZENKAKU_HANKAKU (used in Japanese keymap) * Patch by Shinta: switch between input methods are now not only done with Alt+Space but Alt+Zenkaku/Hankaku. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25416 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
cfc3fa87 |
|
09-Apr-2008 |
Axel Dörfler <axeld@pinc-software.de> |
* Cleaned up InterfaceDefs.h, added TODO about getting rid of declaring _init_interface_kit_() in there. * Moved private get_mode_parameter() into the BPrivate namespace. * Renamed interface_misc.h to InterfacePrivate.h. * Minor other cleanup. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24869 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
f6e4cbb9 |
|
15-Oct-2007 |
Axel Dörfler <axeld@pinc-software.de> |
* Rewrote BeBuild.h which had "a few" consequences (got rid of all those class definitions). * Minor cleanup here and there. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22577 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
2c97a8d1 |
|
14-Mar-2007 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Use -I instead of -isystem for system header directories when building with gcc 4. Fixed resulting build errors (gcc is more lenient for headers in -isystem directories). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20386 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
59463a9a |
|
29-Oct-2006 |
DarkWyrm <darkwyrm@gmail.com> |
Added set_ui_color to act as counterpart to ui_color. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19148 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
9ecf9d1c |
|
26-Aug-2006 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Merge from layout management branch. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18649 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
860cab29 |
|
13-Jul-2006 |
Jérôme Duval <korli@users.berlios.de> |
added the utf8 bullet character git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18131 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
23ae77aa |
|
26-Apr-2006 |
Axel Dörfler <axeld@pinc-software.de> |
* Removed ColorSet, it's no longer needed or used. * The Decorator are temporarily using ui_color() - this needs to be changed to use the DesktopSettings (when the decorator stuff gets refactored); right now, the colors are fixed. * Added B_WINDOW_TEXT_COLOR, B_WINDOW_INACTIVE_TAB_COLOR, and B_WINDOW_INACTIVE_TEXT_COLOR to the UI colors, B_WINDOW_TAB_COLOR is no longer deprecated. Note, however, that not every decorator may use these colors. * Removed unused and wrong (ie. hard-coded paths) stuff from ServerConfig.h. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17236 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
6d5488e1 |
|
25-Apr-2006 |
Axel Dörfler <axeld@pinc-software.de> |
* There is now a server_read_only_memory structure that is placed in a (surprise!) read-only area shared between the Desktop and all applications. * Right now, this area only contains the desktop colors, ie. B_PANEL_BACKGROUND_COLOR etc.; ui_color() no longer needs to ask the server for these colors. * The ui_colors are now maintained by DesktopSettings, though ColorSet is still there. * The default colors are now hardcoded once and for everyone in InterfaceDefs.h, ie. the app_server uses them as well. * Desktop::Init() can now also return an error (but that is not yet accounted for). * Cleaned up InterfaceDefs.h. * Fixed wrong include in moreUTF8.h. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17232 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
2ba29ed5 |
|
07-Oct-2004 |
Jérôme Duval <korli@users.berlios.de> |
R5 needs a 3 buttons map only git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9247 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
f7128f56 |
|
28-Jul-2004 |
Jérôme Duval <korli@users.berlios.de> |
clean up git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8502 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
f971378f |
|
30-Jan-2003 |
ejakowatz <ejakowatz@nowhere.fake> |
Reworked color_which declaration to match Dano's. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2608 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
d2eaf9ca |
|
18-Jan-2003 |
DarkWyrm <darkwyrm@gmail.com> |
Expanded color_which definitions for R1 git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2496 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
571e2109 |
|
30-Sep-2002 |
Michael Phipps <michaelphipps@nowhere.fake> |
Per Jason git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1315 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
52a38012 |
|
08-Jul-2002 |
ejakowatz <ejakowatz@nowhere.fake> |
It is accomplished ... git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
e047b40a2fd11728e4f7ac83d121299c89e9e658 |
|
25-Aug-2015 |
Axel Dörfler <axeld@pinc-software.de> |
Interface Kit: use different spacing constants. * While this breaks binary compatibility with earlier Haiku releases, use values that are less likely to clash with actual use cases. * Specifically, using a negative spacing is one way to get rid of the border of BScrollViews, to put them into a window neatly. * Also, BControlLook now uses a switch to resolve them.
|
#
eb431663264ef319e72b492801fb867b5d71910b |
|
11-Mar-2014 |
Adrien Destugues <pulkomandy@pulkomandy.tk> |
app_server & interface kit: support fill rules. * BView gets SetFillRule/FillRule methods. The fill rule is part of the view state. * The B_NONZERO rule is the default. This is what we implemented before. * The B_EVEN_ODD rule is the other common possibility for this, and we need to support it to help WebKit to render properly.
|
#
5414b3c44504c37c66798e0c467b0cd259a3e62e |
|
22-Dec-2013 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Move icon related constants to InterfaceDefs.h There will be non-BControl views to use those as well.
|
#
ab3c19541d5feee8f522a80d862db8498a085861 |
|
06-Apr-2013 |
John Scipione <jscipione@gmail.com> |
Move B_COLOR_WHICH_COUNT to private ServerReadOnlyMemory header. This means the B_COLOR_WHICH_COUNT goes from being a public constant to a private one. It sill looks like a public constant starting with a B_ though. I hope that's not a big deal. Too bad we can't get the count of an enum.
|
#
33025215566c130e9d950fc95d4605617203c248 |
|
05-Apr-2013 |
John Scipione <jscipione@gmail.com> |
Remove dependence on color constants in ServerReadOnlyMemory. This fixes a maintainance problem where you have to update this otherwise unrelated file to keep it in sync whenever you add a color constant. I've added a B_COLOR_WHICH_COUNT constant to the color_which enum which should be updated to point to the newest color constants as new ones are added. I reworked ServerReadOnlyMemory to use this constant instead of using to the current largest color constant directly. If you use B_COLOR_WHICH_COUNT to refer to a color in your code expect to get unpredictable and nonsensical results. Most likely you'll get an undefined result which will return black but don't depend on it. The net effect of this is that ServerReadOnlyMemory doesn't need to be updated anymore when new color constants are introduced but will continue to produce correct results. Eliminate kNumColors constant, replace it with B_COLOR_WHICH_COUNT
|
#
9f24981a56edba10807b550b521563b0cadd12c7 |
|
05-Apr-2013 |
John Scipione <jscipione@gmail.com> |
Add B_SCROLL_BAR_THUMB_COLOR constant. This allows you to change the scrollbar thumb color in Appearance preferences. The default color is 216, 216, 216 so the scroll bar thumb looks the same by default. Perhaps someday this can be updated to something a bit more colorful.
|
#
91c78f092f17e1cc233f7f85a075f72b72b3f246 |
|
20-Aug-2012 |
John Scipione <jscipione@gmail.com> |
Create and use new list view item colors * B_LIST_BACKGROUND_COLOR * B_LIST_SELECTED_BACKGROUND_COLOR * B_LIST_ITEM_TEXT_COLOR * B_LIST_SELECTED_ITEM_TEXT_COLOR
|
#
4bb5af765fc7c9e4daf911d5ad8db763403fdd21 |
|
15-Jul-2012 |
John Scipione <jscipione@gmail.com> |
Add control mark color setting. #8054 An enhancement adding a setting to Colors under Appearance to set the mark color of radio button and check box controls.
|
#
30d17caa9d4370c1425b7ad42c1a1cd771e89b13 |
|
28-Oct-2011 |
John Scipione <jscipione@gmail.com> |
Added support for colored window tabs in the default decorator.
|
#
d90a465e0831547f5378748680b1f68b877dc6f1 |
|
17-Jun-2011 |
Alex Wilson <yourpalal2@gmail.com> |
Change the value of other spacing/inset constants so that B_USE_DEFAULT_SPACING has its own unique value. Also adjust BControlLook::ComposeSpacing() to reflect this. closes #7447 git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42222 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
6648dd3cf1597c4fcae16fcfa76270f3acda90b6 |
|
07-Jun-2011 |
Alex Wilson <yourpalal2@gmail.com> |
* Add new spacing/inset constants for the layout API. For now, leave B_USE_DEFAULT_SPACING, but this will go soon. * Rename BControlLook::ComposeItemSpacing() to ComposeSpacing(), and extend it to handle the new constants. * Adjust users of BControlLook::ComposeItemSpacing() accordingly. * part of #7447 git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42025 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
76d9e05341c5ad13dbb0a799ab7463b6639a9a86 |
|
23-Oct-2010 |
Stephan Aßmus <superstippi@gmx.de> |
Introduce a new flag for drawing BBitmaps, B_WAIT_FOR_RETRACE which triggers waiting on the retrace semaphore in app_server just before drawing the bitmap. This potentially removes any additional delay when doing this client side. Completely untested. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39097 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
82ab3167232c5c8ee53e684eddc83dc7cb60f1cc |
|
02-Sep-2010 |
Alex Wilson <yourpalal2@gmail.com> |
Add default spacing for Layouts (#5614) * introduce B_USE_DEFAULT_SPACING, which works somewhat like B_SIZE_UNSET and B_ALIGN_HORIZONTAL_UNSET * introduce static float BControlLook::ComposeItemSpacing(float spacing), which checks uses be_control_look->DefaultItemSpacing(). * modify layouts to use BControlLook::ComposeItemSpacing() in SetInsets and SetSpacing methods. * default insets are still 0, 0, 0, 0, but can be set to default spacing by passing B_USE_DEFAULT_SPACING * I've found two regressions, patches incoming, please report others on #5614. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38512 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
ef855c9edba29d0e014699a419b6a59d5f7660f0 |
|
15-Aug-2010 |
François Revol <revol@free.fr> |
Remove unwanted compatibility aliases before I get beaten by the Dano hunters... git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38126 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
8e8634bf546649128da0b4849bfbf1baa42e048e |
|
15-Aug-2010 |
François Revol <revol@free.fr> |
Add synonyms for tootip ui_color constants. Fix WindowShade to use the new official ones. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38122 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
33394b856dfc5366693cc81b47885d0bd4facd99 |
|
16-May-2010 |
Stephan Aßmus <superstippi@gmx.de> |
Patch by Wim van der Meer: Added get_mouse_bitmap() global method to InterfaceDefs.h and corresponding implementation in the app_server. Thanks a bunch! Closes ticket #5978. A note to those using "update-all" with hybrid builds - the alternative GCC system libs will not be updated this way, and this and Wim's last patch change the libbe <-> app_server interface. You need to manually update the respective libbe.so, or do a clean build, otherwise apps for the other GCC will not start anymore. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36830 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
1c73ffa1021c1426dbce9675256f4f8cdc22bb56 |
|
14-May-2010 |
Stephan Aßmus <superstippi@gmx.de> |
Patch by Wim van der Meer: Implemented global Interface Kit function to retrieve the current mouse position and pressed buttons. I've changed the return code to status_t and added anal error checking, most of the rest of the file is not doing it, though... :-) Thanks, Wim! git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36811 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
926e63c8851f8e1d085981e69ef03f8e9cda1e65 |
|
22-Oct-2009 |
Brecht Machiels <brecht@mos6581.org> |
* added click to focus mouse mode; right-click for bring-to-front and send-to-back (might cause some regressions in FFM) * made accept first click user configurable * updated the Mouse preflet to use the layout kit * removed the warp and instant warp modes from the Mouse preflet * changed internal representation of mouse modes (warp modes moved) * coding style fixes git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33732 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
75a6d1db99fe8ea432c7ff8d80cfc095710d02f5 |
|
26-Aug-2009 |
Stephan Aßmus <superstippi@gmx.de> |
Optimized includes. For example, BeBuild.h is almost always already included via SupportDefs.h. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32748 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
89208c77f10235d43fda0c7b3fd6751db02cc12c |
|
27-Aug-2009 |
Stephan Aßmus <superstippi@gmx.de> |
Finished unifying the Interface Kit headers: * Fixed copyrights (puncuation and capitalization, removed authors from headers) * Updated indentation style * Unified pointer/reference style * Re-ordered some methods for better grouping where it could be done (abd adopted source accordingly) * Small coding style fixes here and there No functional change intended. +alphabranch git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32745 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
8318af01b99f0c1c6622b7bf33db02794b7eaa20 |
|
03-Aug-2009 |
Axel Dörfler <axeld@pinc-software.de> |
* Added a basic tool tip API, and implementation. * The BView API can probably be regarded as good enough; the implementation might need to be improved over time (also, some things as archivability aren't fully implemented yet). The ToolTip.h header should get public once finalized. * Added new B_MOUSE_IDLE message that is sent to a BView after a certain time has passed (BToolTipManager::ShowDelay()). * Added small test app (ToolTipTest) that shows what is already working. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32078 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
b037500155720ae322f27feafb715da89fe63e95 |
|
03-May-2009 |
Stephan Aßmus <superstippi@gmx.de> |
Patch by Shinta: The key code was misnamed. Thanks a lot! git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30599 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
f7b619c91fba15b0aca665ff3266098430d5b628 |
|
28-Mar-2009 |
Karsten Heimrich <host.haiku@gmx.de> |
* quick build fix git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29765 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
53eaeede6faa63eb6d3f400fdb43fb4204627fe6 |
|
28-Mar-2009 |
Stephan Aßmus <superstippi@gmx.de> |
* Moved the bitmap filter options to InterfaceDefs.h. * Moved the bit in order not to clash with the tile options. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29754 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
60581c63034af013c133d8df5b957b0d8e75325d |
|
14-Dec-2008 |
Jérôme Duval <korli@users.berlios.de> |
added get_modifier_key() git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28813 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
dd114a0c3f3d89801444a947987ce70818f06328 |
|
01-Sep-2008 |
Jérôme Duval <korli@users.berlios.de> |
space cleanup git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27270 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
ba64d8928a8d7232cbea08357cf6d18d2bd1cf53 |
|
09-May-2008 |
Jérôme Duval <korli@users.berlios.de> |
* added B_KATAKANA_HIRAGANA and B_ZENKAKU_HANKAKU (used in Japanese keymap) * Patch by Shinta: switch between input methods are now not only done with Alt+Space but Alt+Zenkaku/Hankaku. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25416 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
cfc3fa87da824bdf593eb8b817a83b6376e77935 |
|
09-Apr-2008 |
Axel Dörfler <axeld@pinc-software.de> |
* Cleaned up InterfaceDefs.h, added TODO about getting rid of declaring _init_interface_kit_() in there. * Moved private get_mode_parameter() into the BPrivate namespace. * Renamed interface_misc.h to InterfacePrivate.h. * Minor other cleanup. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24869 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
f6e4cbb95290a74b33d012600438b84742b0e572 |
|
15-Oct-2007 |
Axel Dörfler <axeld@pinc-software.de> |
* Rewrote BeBuild.h which had "a few" consequences (got rid of all those class definitions). * Minor cleanup here and there. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22577 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
2c97a8d164b49c7e608ac1eb1a9dd4b7496b2dd4 |
|
14-Mar-2007 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Use -I instead of -isystem for system header directories when building with gcc 4. Fixed resulting build errors (gcc is more lenient for headers in -isystem directories). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20386 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
59463a9aa11839716200792d0e34fdcb746f0cf7 |
|
29-Oct-2006 |
DarkWyrm <darkwyrm@gmail.com> |
Added set_ui_color to act as counterpart to ui_color. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19148 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
9ecf9d1c1d4888d341a6eac72112c72d1ae3a4cb |
|
26-Aug-2006 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Merge from layout management branch. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18649 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
860cab293d0522d2c431df43c56a696aa3c8fcf9 |
|
13-Jul-2006 |
Jérôme Duval <korli@users.berlios.de> |
added the utf8 bullet character git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18131 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
23ae77aa566566465e1fca7aedbf0f1139acca1e |
|
26-Apr-2006 |
Axel Dörfler <axeld@pinc-software.de> |
* Removed ColorSet, it's no longer needed or used. * The Decorator are temporarily using ui_color() - this needs to be changed to use the DesktopSettings (when the decorator stuff gets refactored); right now, the colors are fixed. * Added B_WINDOW_TEXT_COLOR, B_WINDOW_INACTIVE_TAB_COLOR, and B_WINDOW_INACTIVE_TEXT_COLOR to the UI colors, B_WINDOW_TAB_COLOR is no longer deprecated. Note, however, that not every decorator may use these colors. * Removed unused and wrong (ie. hard-coded paths) stuff from ServerConfig.h. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17236 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
6d5488e18ac47e1c47706227b9a21524ae7874e8 |
|
25-Apr-2006 |
Axel Dörfler <axeld@pinc-software.de> |
* There is now a server_read_only_memory structure that is placed in a (surprise!) read-only area shared between the Desktop and all applications. * Right now, this area only contains the desktop colors, ie. B_PANEL_BACKGROUND_COLOR etc.; ui_color() no longer needs to ask the server for these colors. * The ui_colors are now maintained by DesktopSettings, though ColorSet is still there. * The default colors are now hardcoded once and for everyone in InterfaceDefs.h, ie. the app_server uses them as well. * Desktop::Init() can now also return an error (but that is not yet accounted for). * Cleaned up InterfaceDefs.h. * Fixed wrong include in moreUTF8.h. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17232 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
2ba29ed5146aa3697975597c87422bfe55b54cb4 |
|
07-Oct-2004 |
Jérôme Duval <korli@users.berlios.de> |
R5 needs a 3 buttons map only git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9247 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
f7128f568831536edafd0445972e8941574b1687 |
|
28-Jul-2004 |
Jérôme Duval <korli@users.berlios.de> |
clean up git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8502 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
f971378f16f20cf4b7d0eeac4728942685511d4d |
|
30-Jan-2003 |
ejakowatz <ejakowatz@nowhere.fake> |
Reworked color_which declaration to match Dano's. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2608 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
d2eaf9ca3c180ea97b747e05d0a629e3c250ec95 |
|
18-Jan-2003 |
DarkWyrm <darkwyrm@gmail.com> |
Expanded color_which definitions for R1 git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2496 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
571e21095f9c2423ac3786c5571a1635ad5f5461 |
|
30-Sep-2002 |
Michael Phipps <michaelphipps@nowhere.fake> |
Per Jason git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1315 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
52a380120846174213ccce9c4aab0dda17c72083 |
|
08-Jul-2002 |
ejakowatz <ejakowatz@nowhere.fake> |
It is accomplished ... git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10 a95241bf-73f2-0310-859d-f6bbb57e9c96
|