Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
katarakt
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Florian Harbecke
katarakt
Commits
da6076aa
Commit
da6076aa
authored
9 years ago
by
Philipp Erhardt
Browse files
Options
Downloads
Patches
Plain Diff
Add "presenter" as possible default_layout
parent
ad212f78
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
doc/katarakt.txt
+1
-1
1 addition, 1 deletion
doc/katarakt.txt
share/katarakt.ini
+1
-0
1 addition, 0 deletions
share/katarakt.ini
src/canvas.cpp
+2
-0
2 additions, 0 deletions
src/canvas.cpp
with
4 additions
and
1 deletion
doc/katarakt.txt
+
1
−
1
View file @
da6076aa
...
...
@@ -140,7 +140,7 @@ VARIABLES
'string' *background_color_fullscreen* ::
0xFF000000: Fullscreen background color in ARGB Format.
'string' *default_layout* ::
presentation: The layout on startup. Possible values: 'presentation', 'grid'.
presentation: The layout on startup. Possible values: 'presentation', 'grid'
, 'presenter'
.
'int' *mouse_wheel_factor* ::
120: QT delta for turning the mouse wheel 1 click.
'int' *smooth_scroll_delta* ::
...
...
This diff is collapsed.
Click to expand it.
share/katarakt.ini
+
1
−
0
View file @
da6076aa
...
...
@@ -27,6 +27,7 @@ single_instance_per_file=false
[Keys]
set_presentation_layout
=
1
set_grid_layout
=
2
set_presenter_layout
=
3
page_up
=
PgUp
page_down
=
PgDown
page_first
=
Home, G
...
...
This diff is collapsed.
Click to expand it.
src/canvas.cpp
+
2
−
0
View file @
da6076aa
...
...
@@ -88,6 +88,8 @@ Canvas::Canvas(Viewer *v, QWidget *parent) :
QString
default_layout
=
config
->
get_value
(
"default_layout"
).
toString
();
if
(
default_layout
==
"grid"
)
{
cur_layout
=
grid_layout
;
}
else
if
(
default_layout
==
"presenter"
)
{
cur_layout
=
presenter_layout
;
}
else
{
// "presentation" and everything else
cur_layout
=
presentation_layout
;
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment