contact 4 refactor
Some checks are pending
ContinuousDelivery / linux-ubuntu (push) Waiting to run
ContinuousDelivery / android (map[ndk_abi:arm64-v8a vcpkg_toolkit:arm64-android]) (push) Waiting to run
ContinuousDelivery / android (map[ndk_abi:armeabi-v7a vcpkg_toolkit:arm-neon-android]) (push) Waiting to run
ContinuousDelivery / android (map[ndk_abi:x86_64 vcpkg_toolkit:x64-android]) (push) Waiting to run
ContinuousDelivery / windows (push) Waiting to run
ContinuousDelivery / windows-asan (push) Waiting to run
ContinuousDelivery / dumpsyms (push) Blocked by required conditions
ContinuousDelivery / release (push) Blocked by required conditions
ContinuousIntegration / linux (push) Waiting to run
ContinuousIntegration / android (map[ndk_abi:arm64-v8a vcpkg_toolkit:arm64-android]) (push) Waiting to run
ContinuousIntegration / android (map[ndk_abi:armeabi-v7a vcpkg_toolkit:arm-neon-android]) (push) Waiting to run
ContinuousIntegration / android (map[ndk_abi:x86_64 vcpkg_toolkit:x64-android]) (push) Waiting to run
ContinuousIntegration / macos (push) Waiting to run
ContinuousIntegration / windows (push) Waiting to run
Some checks are pending
ContinuousDelivery / linux-ubuntu (push) Waiting to run
ContinuousDelivery / android (map[ndk_abi:arm64-v8a vcpkg_toolkit:arm64-android]) (push) Waiting to run
ContinuousDelivery / android (map[ndk_abi:armeabi-v7a vcpkg_toolkit:arm-neon-android]) (push) Waiting to run
ContinuousDelivery / android (map[ndk_abi:x86_64 vcpkg_toolkit:x64-android]) (push) Waiting to run
ContinuousDelivery / windows (push) Waiting to run
ContinuousDelivery / windows-asan (push) Waiting to run
ContinuousDelivery / dumpsyms (push) Blocked by required conditions
ContinuousDelivery / release (push) Blocked by required conditions
ContinuousIntegration / linux (push) Waiting to run
ContinuousIntegration / android (map[ndk_abi:arm64-v8a vcpkg_toolkit:arm64-android]) (push) Waiting to run
ContinuousIntegration / android (map[ndk_abi:armeabi-v7a vcpkg_toolkit:arm-neon-android]) (push) Waiting to run
ContinuousIntegration / android (map[ndk_abi:x86_64 vcpkg_toolkit:x64-android]) (push) Waiting to run
ContinuousIntegration / macos (push) Waiting to run
ContinuousIntegration / windows (push) Waiting to run
This commit is contained in:
@ -18,7 +18,7 @@
|
||||
void renderAvatar(
|
||||
const Theme& th,
|
||||
ContactTextureCache& contact_tc,
|
||||
const Contact3Handle c,
|
||||
const ContactHandle4 c,
|
||||
ImVec2 box
|
||||
) {
|
||||
// deploy dummy of same size and check visibility
|
||||
@ -53,7 +53,7 @@ void renderAvatar(
|
||||
bool renderContactBig(
|
||||
const Theme& th,
|
||||
ContactTextureCache& contact_tc,
|
||||
const Contact3Handle c,
|
||||
const ContactHandle4 c,
|
||||
int line_height,
|
||||
const bool unread,
|
||||
const bool selectable,
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
#include "./theme.hpp"
|
||||
|
||||
#include <solanaceae/contact/contact_model3.hpp>
|
||||
#include <solanaceae/contact/fwd.hpp>
|
||||
|
||||
enum class ThemeCol_Contact {
|
||||
request_incoming,
|
||||
@ -25,7 +25,7 @@ enum class ThemeCol_Contact {
|
||||
void renderAvatar(
|
||||
const Theme& th,
|
||||
ContactTextureCache& contact_tc,
|
||||
const Contact3Handle c,
|
||||
const ContactHandle4 c,
|
||||
ImVec2 box
|
||||
);
|
||||
|
||||
@ -39,7 +39,7 @@ void renderAvatar(
|
||||
bool renderContactBig(
|
||||
const Theme& th,
|
||||
ContactTextureCache& contact_tc,
|
||||
const Contact3Handle c,
|
||||
const ContactHandle4 c,
|
||||
int line_height = 3,
|
||||
const bool unread = false,
|
||||
const bool selectable = false,
|
||||
|
@ -7,7 +7,7 @@
|
||||
#include "../message_image_loader.hpp"
|
||||
#include "../bitset_image_loader.hpp"
|
||||
|
||||
using ContactTextureCache = TextureCache<uint64_t, Contact3, ToxAvatarLoader>;
|
||||
using ContactTextureCache = TextureCache<uint64_t, Contact4, ToxAvatarLoader>;
|
||||
using MessageTextureCache = TextureCache<uint64_t, Message3Handle, MessageImageLoader>;
|
||||
using BitsetTextureCache = TextureCache<uint64_t, ObjectHandle, BitsetImageLoader>;
|
||||
|
||||
|
Reference in New Issue
Block a user