summaryrefslogtreecommitdiff
path: root/src/ui/util.c
AgeCommit message (Collapse)Author
2021-09-30SidebarWidget: Scroll view to newly added itemsJaakko Keränen
New bookmarks and folders shouldn't appear outside the visible part of the list.
2021-09-27SidebarWidget: Editing folder namesJaakko Keränen
Use the regular bookmark editor but hide the Special Tags section, and disable all but the Title for now.
2021-09-26Popup menus are positioned on selected itemJaakko Keränen
2021-09-26Compute popup menu bounds in pointsJaakko Keränen
Display bounds and the window rectangle are handled in points, so determine if the menu fits inside its root in points, too.
2021-09-26macOS: Popup window fixes; simply window creationJaakko Keränen
2021-09-26Use popup windows only when inline menus don't fitJaakko Keränen
Performance of popup windows may not be great.
2021-09-26Added a PerfTimer utilityJaakko Keränen
2021-09-26X11: Tuning popup window behavior and appearanceJaakko Keränen
2021-09-26macOS: Experiment with system accent colorJaakko Keränen
This doesn't quite fit in the palette system currently, but it would be a nice addition later.
2021-09-26Fixed context menu centering with popup windowsJaakko Keränen
2021-09-26Root: Crash when closing split viewJaakko Keränen
Some deleted widgets were kept around in the root's onTop list.
2021-09-25Lang: Added eo, es_MX, gl, isv, and skJaakko Keränen
New almost completed or in-progress UI translations.
2021-09-24Bookmark foldersJaakko Keränen
The user can now create bookmark folders, and drag bookmarks into them. Folders can also be nested. The bookmark sorting menu item sorts inside the chosen folder/root. Remote bookmark sources appear also as folders, although they cannot be sorted/edited. IssueID #339
2021-09-24SidebarWidget: Reordering bookmarks manuallyJaakko Keränen
One can now drag and drop bookmarks to change their order in the list.
2021-09-21Added build options for popup/macOS menusJaakko Keränen
2021-09-21Fixed issues with popup windowsJaakko Keränen
2021-09-21Disabling items in native menusJaakko Keränen
Added the special prefix `///` to mark items disabled.
2021-09-21macOS: Improving native menu behaviorJaakko Keränen
Selected items and dynamic label updates.
2021-09-21macOS: Native context menusJaakko Keränen
Popup context menus now use NSMenu. There are still has a few glitches with the navbar identity button, but most menus are working. SDL required another little tweak to force it to update mouse button state after the synchronously handled context menu goes away. Otherwise SDL's internal mouse button state shows that the right mouse button is held down.
2021-09-20Experimenting with independent popup windowsJaakko Keränen
Toe dipping into multiple window support by allowing popup menu widgets to be displayed in independent windows. This is not a 100% replacement for native menus, but it gets pretty close.
2021-09-19Refactoring Window to split off MainWindowJaakko Keränen
MainWindow represents (one of) the main windows of the app, while the basic Window will be a used for popups. Only MainWindow supports split view modes.
2021-09-18UploadWidget: Identity selectionJaakko Keränen
2021-09-17Mobile: About pageJaakko Keränen
2021-09-17iOS: Build dateJaakko Keränen
2021-09-17UploadWidget: Updating the identities dropdownJaakko Keränen
2021-09-15Mobile: Minor improvementsJaakko Keränen
Fixed issues: scrollbar goes under toolbar, value input dialog grows too tall, Undo/Select All in the clip menu.
2021-09-13Mobile: New selection logic for InputWidgetJaakko Keränen
Touch-based interaction requires a different kind of selection and copy/paste behavior. This isn't done yet; especially multi-line text still needs work.
2021-09-12Mobile: Better Settings tap targets; fixed safe area drawingJaakko Keränen
2021-09-12Mobile: Draw optimizations; focus handlingJaakko Keränen
Widgets can now be marked for buffering their contents, which is useful if their contents change seldom but they are drawn often. For example, the navbar is always visible but doesn't change very often, and during animations menu contents are static but there is a moving animation so everything gets drawn 60 FPS. Focus handling was also improved so the lookup results can be scrolled while entering text, and one can tap outside an input field to unfocus it.
2021-09-11Mobile: Many UI improvements; Upload UIJaakko Keränen
2021-09-10Mobile: Fixed minor UI issuesJaakko Keränen
Overflow-scrolling should be allowed over input fields, too. Fixed placement of the URL label in the link context menu.
2021-09-10Mobile: Revised more dialogsJaakko Keränen
2021-09-09Mobile: Working on dialogsJaakko Keränen
The new panels maker offers a declarative solution for creating consistent UIs.
2021-09-08CleanupJaakko Keränen
2021-09-08CleanupJaakko Keränen
2021-09-08Mobile: Added Identities, Help, About to Settings screensJaakko Keränen
2021-09-08Mobile: Preferences is completed, improvedJaakko Keränen
2021-09-07Mobile: Redoing PreferencesJaakko Keränen
Contents of the Preferences split panel view are created based on arrays of MenuItems. This removes the confusing indirection of trying to modify the desktop widget tree to fit mobile.
2021-09-07Added BG-to-FG image colorization modeJaakko Keränen
2021-09-07Added image colorization preferenceJaakko Keränen
Option to colorize images to grayscale, text color, or preformatted color.
2021-07-23Window: Mouse wheel events vs. split modeJaakko Keränen
Only process mouse wheel events on the root over which the mouse is currently.
2021-07-23UploadWidget: Expand to input field sizeJaakko Keränen
2021-07-22Preferences: Added setting for Return key behaviorJaakko Keränen
2021-07-22Added a setting for Return key behaviorJaakko Keränen
User preference for line break / accept behavior in input fields. Still needs to be added to the Preferences dialog.
2021-07-17Working on Titan uploadsJaakko Keränen
There may be a bug in `TlsRequest` when sending out large amounts of data.
2021-07-17Working on a UI for uploading text/dataJaakko Keränen
`UploadWidget` allows entering long-form text or dropping a file for uploading. InputWidget isn't yet well suited for really long documents... Some optimizations will be needed.
2021-07-11Preferences: Settings for smooth scroll speedJaakko Keränen
IssueID #297
2021-07-11Preferences: Added setting for line spacingJaakko Keränen
IssueID #229
2021-07-10Fixed input dialog closing accidentallyJaakko Keränen
The input dialog shouldn't respond to the generic "cancel" command because that'll easily lead to loss of user-entered text. "cancel" is emitted in many situations, including right before a context menu is opened.
2021-07-06Text run measurement API change; bug fixesJaakko Keränen
The distinction between measure_Text and advance_Text was not very clear. Now there are only measure_Text functions that return both the bounds and the cursor position advancement, and the appropriate metrics are used by the caller.