Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2009-07-17 02:47:27 +0400
committerCampbell Barton <ideasman42@gmail.com>2009-07-17 02:47:27 +0400
commitdeb180e37f324ab789ecbf608d08c9f031953749 (patch)
tree1e8c4525cc9180ed9b7eb88523c9bef32345c90f /source/blender/editors/space_console/console_intern.h
parent9eebb2ca36fc7ea05fb46eb23cca8821e81889b8 (diff)
- Scrollbars for the console (use View2D functions)
- Set View2D operators not to register, got in the way a lot with the console. - Made autocomplete Ctrl+Enter so Tab can be used. - Should work with python 2.5 now. (patch from Vilda) - Moved report struct definitions into DNA_windowmanager_types.h, could also have DNA_report_types.h however the reports are not saved, its just needed so the report list can be used in the wmWindowManager struct. Fixes a crash reported by ZanQdo. - Store the report message length in the report so calculating the total height including word wrap is not so slow.
Diffstat (limited to 'source/blender/editors/space_console/console_intern.h')
-rw-r--r--source/blender/editors/space_console/console_intern.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/space_console/console_intern.h b/source/blender/editors/space_console/console_intern.h
index 55474844d87..2e5af9c5ffd 100644
--- a/source/blender/editors/space_console/console_intern.h
+++ b/source/blender/editors/space_console/console_intern.h
@@ -39,6 +39,7 @@ struct ReportList;
/* console_draw.c */
void console_text_main(struct SpaceConsole *sc, struct ARegion *ar, struct ReportList *reports);
+int console_text_height(struct SpaceConsole *sc, struct ARegion *ar, struct ReportList *reports); /* needed to calculate the scrollbar */
/* console_ops.c */
void console_history_free(SpaceConsole *sc, ConsoleLine *cl);