projects
/
goodguy
/
cinelerra.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add layout_scale preference, scaling cleanup, rework init bc_resources, init tip_info...
[goodguy/cinelerra.git]
/
cinelerra-5.1
/
guicast
/
bcwindowbase.h
diff --git
a/cinelerra-5.1/guicast/bcwindowbase.h
b/cinelerra-5.1/guicast/bcwindowbase.h
index a39010981dc17e99d628e1dd5c37c7ca2a478863..36add9c76656825749f2cf2851b4fdd95c12ad0d 100644
(file)
--- a/
cinelerra-5.1/guicast/bcwindowbase.h
+++ b/
cinelerra-5.1/guicast/bcwindowbase.h
@@
-203,6
+203,8
@@
public:
virtual int grab_event(XEvent *event) { return 0; };
virtual void create_objects() { return; };
virtual int grab_event(XEvent *event) { return 0; };
virtual void create_objects() { return; };
+ static void init_resources(float scale);
+ static void finit_resources();
int get_window_type() { return window_type; }
// Wait until event loop is running
void init_wait();
int get_window_type() { return window_type; }
// Wait until event loop is running
void init_wait();
@@
-729,7
+731,7
@@
private:
// Whether the window has the focus
int has_focus;
// Whether the window has the focus
int has_focus;
- static BC_Resources resources;
+ static BC_Resources
*
resources;
#ifndef SINGLE_THREAD
// Array of repeaters for multiple repeating objects.
#ifndef SINGLE_THREAD
// Array of repeaters for multiple repeating objects.