Commit Graph

46103 Commits

Author SHA1 Message Date
Jérôme Duval
653d5b980c pop3: fixes 64 bit warnings 2013-05-10 20:28:37 +02:00
Jérôme Duval
07eea198ea mandelbrot: fixes 64 bit warnings 2013-05-10 20:11:23 +02:00
Jérôme Duval
981062893e Clock: fixes 64 bit warnings 2013-05-10 20:09:22 +02:00
Jérôme Duval
99f76d5df5 Chart: fixes 64 bit warnings 2013-05-10 20:08:02 +02:00
Jérôme Duval
e971f3b162 shortcut_catcher: fixes 64 bit warnings 2013-05-10 20:04:02 +02:00
Jérôme Duval
0bbc331f6b ShorcutsPreferences: fixes 64 bit warnings 2013-05-10 19:59:05 +02:00
Jérôme Duval
4c1efaad9c MailPreferences: fixes 64 bit warnings 2013-05-10 19:56:07 +02:00
Jérôme Duval
006e76a155 MidiPlayer: fixes 64 bit warnings 2013-05-10 19:53:03 +02:00
Jérôme Duval
bc8c7d615d translate: fixes 64 bit warnings 2013-05-10 19:49:36 +02:00
Jérôme Duval
0059a07ade roster: fixes 64 bit warnings 2013-05-10 19:46:29 +02:00
Jérôme Duval
7074a7c7ec reindex: fixes 64 bit warnings 2013-05-10 19:44:51 +02:00
Jérôme Duval
aff59d31a3 hey: fixes 64 bit warnings 2013-05-10 19:42:24 +02:00
Jérôme Duval
2a8d81c291 bfsinfo: fixes 64 bit warnings 2013-05-10 19:31:22 +02:00
Jérôme Duval
fe1f74ab54 media_server: fixes 64 bit warnings 2013-05-10 18:46:04 +02:00
Stephan Aßmus
d4f100e56e Unify spacing
* Unify split width
 * Make break point list attach to tab frame, apply default insets and spacing to buttons.
2013-05-10 10:55:54 +02:00
Stephan Aßmus
754fcddd72 Remove the spacing between menu bar and contents
* The spacing is already present due to the insets
   of the contents, so there was some extra room
   between the menu and the contents which this
   commit removes.
2013-05-10 10:09:52 +02:00
Stephan Aßmus
9f5437a40b Changed hierarchy of splits to give variables/registers more room 2013-05-10 09:57:43 +02:00
Stephan Aßmus
abb7ea6512 Renamed File menu to Team and Quit to Close.
There isn't actually a file on disk somewhere. And Quit
 could have been mistaken to quit the entire Debugger
 application, as Quit in File usually does with applications.
 However, it will only close the that team window and only
 quit Debugger if it was the last open window.
2013-05-10 09:39:25 +02:00
John Scipione
55eb18ef2f Terminal: Move the find window under your cursor
on open moving the window back into the screen if necessary.
2013-05-10 00:52:58 -04:00
John Scipione
88c2518b23 Terminal: Layout the find window better 2013-05-10 00:51:57 -04:00
John Scipione
55067dfe82 Style fixes and update copywrite headers 2013-05-10 00:51:24 -04:00
John Scipione
298cd4c2bf BMenuField: Fix menu bar resizing in auto-size mode.
Fixes #9753 (for real this time)

Don't resize the menu field when the menu bar resizes, the menu
field stays the same size because we'll need to use it's width to
check when the menu bar width has expanded beyond its width.
Then, if the selected menu item expands the menu bar to a width
greater than the width of the menu field resize it to the menu field
width.
2013-05-09 21:29:14 -04:00
John Scipione
f6d93b80f3 Remove the unused bounds parameter from DrawLabel
Also refactor BMenuField::Draw()
2013-05-09 21:29:13 -04:00
John Scipione
869e4bdca3 Don't cast to float, use floorf 2013-05-09 21:29:13 -04:00
John Scipione
91810d8efd Use better variable names in SetDivider 2013-05-09 21:29:12 -04:00
John Scipione
df5d08a718 Style fixes to BMenuField
Rename resize to resizingMode, whitespace fixes, compare to 0 explicitly
2013-05-09 21:29:12 -04:00
John Scipione
935599c53f Revert "Info: Set fixed size true for pref app menu field"
This reverts commit 879020baf1.
2013-05-09 21:29:11 -04:00
Rene Gollent
3313492032 Fix memory leaks introduced in previous commits. 2013-05-09 17:31:42 -04:00
Adrien Destugues
2b67ff2420 Add AddText method to AboutWindow
* Factor out the code to add some data to the about window, with a header and a content under it
 * Make this method public so it's possible to add custom entries in an about box
 * If the method is called with only the header or only the content, the text is added non-bold and non-indented (like the description entry*).
 * Make the header text bold. I'm not sure it looks that good, after all. Thoughts ?
2013-05-09 21:27:43 +02:00
Jérôme Duval
01c5671de8 midi kit, media_addon_server, mail_server: fixes 64 bit warnings 2013-05-09 18:11:19 +02:00
Jérôme Duval
24dba16d04 usb_serial: fixes 64 bit warnings 2013-05-09 17:40:35 +02:00
Jérôme Duval
0e8bd8493a usb_ecm: fixes 64 bit warnings 2013-05-09 17:38:13 +02:00
Jérôme Duval
19d7d464e5 usb_asix: fixes 64 bit warnings 2013-05-09 17:33:27 +02:00
Jérôme Duval
56dc5af735 usb_davicom: fixes 64 bit warnings 2013-05-09 17:30:06 +02:00
Jérôme Duval
6849e7cc15 cx23882: fixes 64 bit warnings 2013-05-09 17:24:09 +02:00
Jérôme Duval
4e159473a9 nbd: fixes 64 bit warnings 2013-05-09 17:05:06 +02:00
Jérôme Duval
d47767ba38 usb_printer: fixes 64 bit warnings 2013-05-09 16:46:02 +02:00
Jérôme Duval
69a33f8c3c usb_floppy: fixes 64 bit warnings 2013-05-09 16:40:49 +02:00
Jérôme Duval
f0704f6ba4 usb_raw: fixes 64 bit warnings 2013-05-09 16:22:15 +02:00
Jérôme Duval
2f66d0df8e usb_midi: fixes 64 bit warnings 2013-05-09 16:16:43 +02:00
Jérôme Duval
1f6d4bcfd3 echo: fixes 64 bit warnings 2013-05-09 16:03:38 +02:00
Jérôme Duval
e825d892e1 efi_gpt: fixes 64 bit warnings 2013-05-09 15:53:50 +02:00
Jérôme Duval
9bc120ace1 mpu401: fixes 64 bit warnings 2013-05-09 15:45:30 +02:00
Jérôme Duval
7e5b0f9649 udf: fixes 64 bit warnings 2013-05-09 15:44:10 +02:00
Jérôme Duval
5a58ea80cf nfs: fixes 64 bit warnings 2013-05-09 15:08:11 +02:00
Rene Gollent
e1fff3ea3a Build fix. 2013-05-09 07:24:13 -04:00
Rene Gollent
a69facf051 Implement #9756. ImageFunctionsView now builds...
...a source path-based tree of all the image's functions, and
consequently organizes them into a nested hierarchy similar to the
on-disk directory structure in which they were originally found (or at
least, as close as we can get from the DWARF info).
2013-05-08 23:26:12 -04:00
John Scipione
879020baf1 Info: Set fixed size true for pref app menu field
Fixes #9753

This changes the preferred app menu field to no longer resize itself
based on the item width and instead always take up the rest of the
available space in the window. For narrower items this means that there
will be empty space to the right where there wasn't before. For items
wider than the available width of the window (like the example in #9753)
this means that the item will be truncated when selected.

AFAIK this was always a problem and was not caused by my recent work on
menu fields, we just didn't notice it because it's rare that an application
name in English at the default 12pt font size is wider than the available
space.

That being said, this fix is a band aid, the real fix is to convert this
window to use the layout APIs so that if you have an application that is too
wide to fit then the window will resize itself to fit the new item. There are
other some layout problems in this window too. Unfortunately, like Find, this
window has not been updated in aldeck's Tracker layout branch. Luckily,
converting this window to use the layout API is a lot less work than Find was.
2013-05-08 14:26:45 -04:00
John Scipione
ec1f08fb05 Resize menu field menu bar iff fFixedSize is true
If the menu field is not fixed size than the width of the menu bar
should depend on the menu item contents so just do the default and
get the Bounds() without any extra resizing.
2013-05-08 14:26:45 -04:00
John Scipione
a61d468cf9 BMenuItem: Round to prevent unneeded truncation
The case I fear is if frameWidth is 99.999999 and labelWidth is 100.0
it will attempt to perform a truncation unnecessarily.
2013-05-08 14:26:44 -04:00